Came up with the pages/ directory that's templates which are rendered into public for the static pages.
This commit is contained in:
parent
facc691343
commit
f476605ecf
19 changed files with 795 additions and 61 deletions
44
pages/login/index.html
Normal file
44
pages/login/index.html
Normal file
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="/global.css">
|
||||
<link rel="stylesheet" href="/color.css">
|
||||
<link rel="stylesheet" href="/blockstart.css">
|
||||
<title>ZedShaw's Game Thing</title>
|
||||
</head>
|
||||
|
||||
<body data-testid="login-page">
|
||||
<header>
|
||||
<a href="/">🏡</a> <span>Zed's Game Dev Website Yay</span>
|
||||
</header>
|
||||
|
||||
<blockstart style="min-height: 90vw">
|
||||
<h1>Login</h1>
|
||||
<block class="center-self" style="--w: 500px; --h: 500px;">
|
||||
<form action="/api/login" method="POST">
|
||||
<card>
|
||||
<top><h2 style="color: white">Login</h2></top>
|
||||
<middle>
|
||||
<label for="username">Username</label>
|
||||
<input id="username" name="username" placeholder="Username" type="text">
|
||||
<label for="password">Password</label>
|
||||
<input id="password" name="password" placeholder="Password" type="password">
|
||||
</middle>
|
||||
<bottom>
|
||||
<button-group>
|
||||
<button type="button">Cancel</button>
|
||||
<button id="login-submit" type="submit">Login</button>
|
||||
</button-group>
|
||||
</bottom>
|
||||
</card>
|
||||
</form>
|
||||
<div class="center"><a href="/register/">Need an account? Click to Register.</a></div>
|
||||
</block>
|
||||
</blockstart>
|
||||
|
||||
<footer>
|
||||
<h1>Footer</h1>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue