feur
This commit is contained in:
parent
2737aadc7f
commit
8b6a86f17a
8 changed files with 95 additions and 10 deletions
|
@ -3,7 +3,10 @@
|
|||
import { jsx } from "https://deno.land/x/hono@v4.3.10/middleware.ts"
|
||||
|
||||
export default function Login() {
|
||||
return (<div>
|
||||
|
||||
</div>)
|
||||
}
|
||||
return (
|
||||
<form action="/api/login" method="post">
|
||||
<input type="text" name="login"/>
|
||||
<input type="password" name="password"/>
|
||||
</form>
|
||||
)
|
||||
}
|
||||
|
|
18
pages/login.tsx
Normal file
18
pages/login.tsx
Normal file
|
@ -0,0 +1,18 @@
|
|||
/** @jsx jsx */
|
||||
|
||||
import { jsx } from "https://deno.land/x/hono@v4.3.10/middleware.ts"
|
||||
import { BasePage } from "./components/base.tsx";
|
||||
import Heading from "./components/heading.tsx";
|
||||
import Main from "./components/main.tsx";
|
||||
import Login from "./components/login.tsx";
|
||||
|
||||
export default function LoginPage() {
|
||||
return (
|
||||
<BasePage name="Login">
|
||||
<Main>
|
||||
<h1>Login</h1>
|
||||
<Login/>
|
||||
</Main>
|
||||
</BasePage>
|
||||
)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue