<!-- <script src="/portfolio/php/index.php"></script> -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Study Budy: Torro</title>
    <link rel="stylesheet" href="/portfolio/css/startPage.css">
</head>
<body>
    <!--This is the header for the body-->
    <div class="header">
        <h1>Start Menu</h1>
    </div>

    <?php is (isset($user)): ?>

        <p>Hi there, <?= htmlspecialchars($user["name"]) ?> !</p>

        <p><a href="/portfolio/html/task_maneger_intro.html">I want to be a guest ✨</a></p>
    
    <?php else: ?>

        <p>Hi there, guest!</p>

    <?php endif; ?>

    <!--This is the right side for the body-->
    <div class="right">

        <!--This is the four corner star shape-->
        <div id="start" class="four-pointed-star" style="cursor: pointer;">
        </div>
        <br>
        <br>
    </div>

    <!--This is the left side for the body-->
    <div class="left">

        <!--This is the Start button-->
        <button class="button" style="text-align: center;"onclick="document.location.href= '/portfolio/html/task_maneger_intro.html'">START</button>
        <br>
        <br>
        <br>

        <!--This is the menu wich is hidden-->
        <div class="menu">

            <!--Menu options-->
            <div id="mySidenav" class="sidenav">
                <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
                <a href="#" onclick="document.location.href= 'index.html'">Landing Page</a>
                <a href="#" onclick="document.location.href= 'modal_login.html'">Log In</a>
                <a href="#" onclick="document.location.href= 'modal_signup.html'">Sign Up</a>
            </div>

            <nav>
                <!--This is the Options button-->
                <button onclick="openNav()">Options</button>
            </nav>
            <br>
            <br>

            <!--This is the Exit button-->
            <button onclick="document.location.href='/portfolio/php/logout.php'">Exit</button>
        </div>
    
    <script src="/public/js/taskManeger.js"></script>
</body>
</html>