<?php

declare(strict_types=1);

require_once dirname(__DIR__, 2) . '/core/bootstrap.php';

HyroAdminAuth::requireLogin();

$user = HyroAdminAuth::user();

?>
<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta
        name="viewport"
        content="width=device-width, initial-scale=1.0"
    >

    <meta
        name="robots"
        content="noindex, nofollow, noarchive"
    >

    <title>Leads | HYRO ONE Admin</title>

    <link
        rel="stylesheet"
        href="/experience/assets/css/site.css?v=<?= time() ?>"
    >

</head>

<body>

<main style="padding:60px 20px;">

    <div
        class="hyro-container"
        style="
            padding:35px;
            border:1px solid var(--hyro-border);
            border-radius:25px;
            background:#ffffff;
            box-shadow:var(--hyro-shadow);
        "
    >

        <h1>HYRO ONE Leads</h1>

        <p>
            Welcome,
            <?= hyro_escape(
                $user['full_name'] ?? ''
            ) ?>.
        </p>

        <p>
            The permanent Lead Management module is ready.
        </p>

        <a
            href="/experience/admin/dashboard.php"
            class="hyro-button hyro-button-primary"
        >
            Back to Dashboard
        </a>

    </div>

</main>

</body>
</html>
