-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d8fae6
commit 3e11004
Showing
30 changed files
with
167 additions
and
675 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"plugins": ["prettier-plugin-tailwindcss"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ export default function ForgotPassword({ | |
}) { | ||
return ( | ||
<> | ||
<form className="flex-1 flex flex-col w-full gap-2 text-foreground [&>input]:mb-6 min-w-64 max-w-64 mx-auto"> | ||
<form className="mx-auto flex w-full min-w-64 max-w-64 flex-1 flex-col gap-2 text-foreground [&>input]:mb-6"> | ||
<div> | ||
<h1 className="text-2xl font-medium">Reset Password</h1> | ||
<p className="text-sm text-secondary-foreground"> | ||
|
@@ -23,7 +23,7 @@ export default function ForgotPassword({ | |
</Link> | ||
</p> | ||
</div> | ||
<div className="flex flex-col gap-2 [&>input]:mb-3 mt-8"> | ||
<div className="mt-8 flex flex-col gap-2 [&>input]:mb-3"> | ||
<Label htmlFor="email">Email</Label> | ||
<Input name="email" placeholder="[email protected]" required /> | ||
<SubmitButton formAction={forgotPasswordAction}> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,18 +7,18 @@ import Link from "next/link"; | |
|
||
export default function Login({ searchParams }: { searchParams: Message }) { | ||
return ( | ||
<form className="flex-1 flex flex-col min-w-64"> | ||
<form className="flex min-w-64 flex-1 flex-col"> | ||
<h1 className="text-2xl font-medium">Sign in</h1> | ||
<p className="text-sm text-foreground"> | ||
Don't have an account?{" "} | ||
<Link className="text-foreground font-medium underline" href="/sign-up"> | ||
<Link className="font-medium text-foreground underline" href="/sign-up"> | ||
Sign up | ||
</Link> | ||
</p> | ||
<div className="flex flex-col gap-2 [&>input]:mb-3 mt-8"> | ||
<div className="mt-8 flex flex-col gap-2 [&>input]:mb-3"> | ||
<Label htmlFor="email">Email</Label> | ||
<Input name="email" placeholder="[email protected]" required /> | ||
<div className="flex justify-between items-center"> | ||
<div className="flex items-center justify-between"> | ||
<Label htmlFor="password">Password</Label> | ||
<Link | ||
className="text-xs text-foreground underline" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,23 +9,23 @@ import { SmtpMessage } from "../smtp-message"; | |
export default function Signup({ searchParams }: { searchParams: Message }) { | ||
if ("message" in searchParams) { | ||
return ( | ||
<div className="w-full flex-1 flex items-center h-screen sm:max-w-md justify-center gap-2 p-4"> | ||
<div className="flex h-screen w-full flex-1 items-center justify-center gap-2 p-4 sm:max-w-md"> | ||
<FormMessage message={searchParams} /> | ||
</div> | ||
); | ||
} | ||
|
||
return ( | ||
<> | ||
<form className="flex flex-col min-w-64 max-w-64 mx-auto"> | ||
<form className="mx-auto flex min-w-64 max-w-64 flex-col"> | ||
<h1 className="text-2xl font-medium">Sign up</h1> | ||
<p className="text-sm text text-foreground"> | ||
<p className="text text-sm text-foreground"> | ||
Already have an account?{" "} | ||
<Link className="text-primary font-medium underline" href="/sign-in"> | ||
<Link className="font-medium text-primary underline" href="/sign-in"> | ||
Sign in | ||
</Link> | ||
</p> | ||
<div className="flex flex-col gap-2 [&>input]:mb-3 mt-8"> | ||
<div className="mt-8 flex flex-col gap-2 [&>input]:mb-3"> | ||
<Label htmlFor="email">Email</Label> | ||
<Input name="email" placeholder="[email protected]" required /> | ||
<Label htmlFor="password">Password</Label> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.