html
    head
        title Вход
        meta(charset="utf-8")
        meta(name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no")
        meta(name="description" content="")
        link(href="css/particles.css" rel="stylesheet")
        link(href="css/auth.css" rel="stylesheet")
    body
        iframe(name="hiddenFrame" style="position:absolute; top:-1px; left:-1px; width:1px; height:1px;")

        div(id="tsparticles")
            main(class="box")
                h2 Вход

                form(id="loginForm" target="hiddenFrame")
                    div(class="inputBox")
                        label(for="username") Ник
                        input(type="text" name="username" id="username" placeholder="ваш ник на сервере" required=true)

                    div(class="inputBox")
                        label(for="password") Пароль
                        input(type="password" name="password" id="password" placeholder="ваш пароль" required=true)

                    div
                        button(type="submit" name="" style="float: left;") Войти
                        a(class="button" href="register" style="float: left;") Регистрация
    script(src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer")
    script(src="https://cdn.jsdelivr.net/npm/tsparticles@1.34.1/tsparticles.min.js" integrity="sha256-D6LXCdCl4meErhc25yXnxIFUtwR96gPo+GtLYv89VZo=" crossorigin="anonymous")
    script(type="text/javascript" src="js/particles.js")
    script(type="text/javascript" src="js/login.js")
    