Account creation page + set max width
This commit is contained in:
parent
b386498058
commit
3cc0c7baf1
4 changed files with 39 additions and 5 deletions
|
@ -15,7 +15,7 @@
|
|||
<!-- App Bar -->
|
||||
<AppBar>
|
||||
<svelte:fragment slot="lead">
|
||||
<strong class="text-xl uppercase">Anvil</strong>
|
||||
<strong class="text-xl">Anvil</strong>
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="trail">
|
||||
<a
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="container h-full mx-auto flex justify-center items-center py-10">
|
||||
<div class="w-full max-w-md h-full mx-auto flex justify-center items-center py-10">
|
||||
<div class="space-y-10">
|
||||
<!-- Animated Logo -->
|
||||
<figure class="items-center">
|
||||
|
@ -23,10 +23,10 @@
|
|||
<div class="text-center">
|
||||
<div class="text-center space-y-3">
|
||||
<div>
|
||||
<a href="/" class="btn variant-filled-primary">Create F2 account</a>
|
||||
<a href="/account/create" class="btn variant-filled-primary">Create F2 account</a>
|
||||
</div>
|
||||
<div>
|
||||
<a href="/login" class="btn variant-filled-secondary">I have an account</a>
|
||||
<a href="/account/login" class="btn variant-filled-secondary">I have an account</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
34
src/routes/account/create/+page.svelte
Normal file
34
src/routes/account/create/+page.svelte
Normal file
|
@ -0,0 +1,34 @@
|
|||
<div class="w-full max-w-md h-full mx-auto flex justify-center items-center py-10">
|
||||
<div class="space-y-10">
|
||||
<h1 class="font-bold">Create a new account</h1>
|
||||
<p>
|
||||
Choose a server, username and password to create a new account on a
|
||||
server. An email address is needed for verification.
|
||||
</p>
|
||||
<div class="space-y-4">
|
||||
<label class="label">
|
||||
<span>F2 server</span>
|
||||
<select class="select" title="F2 server" value="1">
|
||||
<option value="1">fig.fr33domlover.site</option>
|
||||
<option value="2">grape.fr33domlover.site</option>
|
||||
<option value="3">walnut.fr33domlover.site</option>
|
||||
</select>
|
||||
</label>
|
||||
<label class="label">
|
||||
<span>Account name</span>
|
||||
<input class="input" title="Account name" type="text" placeholder="alice" />
|
||||
</label>
|
||||
<label class="label">
|
||||
<span>Passphrase</span>
|
||||
<input class="input" title="Passphrase" type="password" placeholder="psswrd" />
|
||||
</label>
|
||||
<hr />
|
||||
<label class="label">
|
||||
<span>Verification email</span>
|
||||
<input class="input" title="Verification email" type="email" placeholder="alice@doe.org" />
|
||||
</label>
|
||||
<hr />
|
||||
<a href="/" class="w-full btn variant-filled-primary">Create account</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,4 +1,4 @@
|
|||
<div class="container h-full mx-auto flex justify-center items-center py-10">
|
||||
<div class="w-full max-w-md h-full mx-auto flex justify-center items-center py-10">
|
||||
<div class="space-y-10">
|
||||
<h1 class="font-bold">Log in</h1>
|
||||
<p>
|
Loading…
Reference in a new issue