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
        div(id="tsparticles")
            main(class="box")
                h2 Вход

                form(method="post", action="/api/login")
                    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://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")
    