func Pages.Login(redirect,incorrect)
{
    const html = <null>
    <if(incorrect)>
        <true>
            <blockquote>
                <h5>The login was incorrect, or does not exist</h5>
            </blockquote>
        </true>
    </if>
    <form method="POST" action="./login">
        <input type="hidden" name="redirect" value={redirect}>
        <article class="border medium no-padding center-align middle-align">
            <div class="padding">
                <h5>Login to TYTD2025</h5>
                <div class="medium-padding">
                    <div class="field label border">
                        <input type="text" name="username">
                        <label>Username</label>
                    </div>
                    <div class="field label border">
                        <input type="password" name="password">
                        <label>Password</label>
                    </div>
                    <div class="medium-padding">
                        <button>Login</button>
                    </div>
                </div>
            </div>
        </article>
    </form>
</null>;

    return Components.ShellSimple("Login", html);
}