diff options
Diffstat (limited to 'frontend/src/routes')
| -rw-r--r-- | frontend/src/routes/Home.tsx | 10 | ||||
| -rw-r--r-- | frontend/src/routes/Login.tsx | 19 |
2 files changed, 28 insertions, 1 deletions
diff --git a/frontend/src/routes/Home.tsx b/frontend/src/routes/Home.tsx index a448ffa..62d66b5 100644 --- a/frontend/src/routes/Home.tsx +++ b/frontend/src/routes/Home.tsx @@ -1,7 +1,15 @@ +import { Link } from 'react-router-dom'; + export default function Home() { return ( <div> - <h1>Home</h1> + <h1>Albatross.swift</h1> + <p> + iOSDC 2024 + </p> + <p> + <Link to="/login/">Login</Link> + </p> </div> ); }; diff --git a/frontend/src/routes/Login.tsx b/frontend/src/routes/Login.tsx new file mode 100644 index 0000000..1945abe --- /dev/null +++ b/frontend/src/routes/Login.tsx @@ -0,0 +1,19 @@ +import { Form } from "react-router-dom"; + +export default function Login() { + return ( + <div> + <h1>Albatross.swift</h1> + <h2> + Login + </h2> + <Form method="post"> + <label>Username</label> + <input type="text" name="username" /> + <label>Password</label> + <input type="password" name="password" /> + <button type="submit">Login</button> + </Form> + </div> + ); +}; |
