<!DOCTYPE html class="h-100">
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="/css/bootstrap.min.css">
        <link rel="stylesheet" href="/css/styles.css">
        <link href='https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css' rel='stylesheet'>
    </head>
    <body class="d-flex flex-column h-100 text-light">

    <header>
        <!-- Fixed navbar -->
        <nav class="navbar navbar-expand-md navbar-dark fixed-top">
            <div class="container-fluid">
                <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>
                <div class="collapse navbar-collapse" id="navbarCollapse">
                    <ul class="navbar-nav me-auto mb-2 mb-md-0">
                        <li class="nav-item">
                            <a class="nav-link active" href="/">Home</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="/servers">Servers</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="/connections">Connections</a>
                        </li>
                    </ul>
                    <ul class="navbar-nav d-flex">
                        <li class="nav-item">
                            <a class="nav-link text-danger" aria-current="page" href="/logout">Log out</a>
                        </li>
                    </ul>
                </div>
            </div>
        </nav>
    </header>

    <!-- Begin page content -->
    <main class="flex-shrink-0">
        <div class="container text-center">
            <img class="rounded-circle shadow mt-5" src="https://cdn.discordapp.com/avatars/<%-req.user.id%>/<%-req.user.avatar%>.<%-req.user.premium_type === 0 ? 'webp' : 'gif'%>?size=256" alt="avatar">
            <h1 class="mt-3"><%-req.user.username%><span class="text-muted">#<%-req.user.discriminator%></span></h1>
            <p class="lead">Email: <span class="display-on-hover"><%-req.user.email%></span></p>
        </div>


        <div class="container text-center">
            <div class="row justify-content-center">
                <div class="col-lg-5 col-sm-5">
                    <div class="card text-white bg-dark mb-3 rounded card-shadow">
                        <div class="card-body">
                            <h4 class="card-title">Language</h4>
                            <h5 class="card-text text-white-50 text-transform-none"><%-req.user.locale%></h5>
                        </div>
                    </div>
                </div>
                <div class="col-lg-5 col-sm-5">
                    <div class="card text-white bg-dark mb-3 rounded card-shadow">
                        <div class="card-body">
                            <h4 class="card-title">2FA</h4>
                            <h5 class="card-text text-white-50 text-transform-none"><%-req.user.mfa_enabled ? 'enabled' : 'disabled'%></h5>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <footer class="footer mt-auto py-3">
        <div class="container text-center">
            <span class="text-muted">Made with <i class='bx bxs-heart text-danger'></i> by <a href="https://github.com/Mawco" target="_blank" class="link-danger">Marco</a>.</span>
        </div>
    </footer>

    <script src="/js/popper.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    </body>
</html>
