Skip to content

Commit

Permalink
feat: add login/sign-up titles
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan6erbond committed May 4, 2023
1 parent d6c76bc commit 856a615
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ function Login() {
<form onSubmit={form.onSubmit(login)}>
<Stack>
<Title>Share Me</Title>
<Title order={3} color="gray.5">
Login
</Title>
<TextInput
label="Username"
miw="300px"
Expand Down
5 changes: 5 additions & 0 deletions src/pages/sign-up.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
PasswordInput,
Stack,
TextInput,
Title,
} from "@mantine/core";
import { useForm } from "@mantine/form";
import { GetServerSideProps } from "next";
Expand Down Expand Up @@ -65,6 +66,10 @@ function SignUp() {
<Group position="center" h="100vh">
<form onSubmit={form.onSubmit(signUp)}>
<Stack>
<Title>Share Me</Title>
<Title order={3} color="gray.5">
Sign Up
</Title>
<TextInput
label="Email"
{...form.getInputProps("email")}
Expand Down

0 comments on commit 856a615

Please sign in to comment.