-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into center-checkbox-icon
- Loading branch information
Showing
1,317 changed files
with
104,079 additions
and
12,082 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,9 @@ yarn-error.log* | |
.turbo | ||
|
||
.contentlayer | ||
tsconfig.tsbuildinfo | ||
tsconfig.tsbuildinfo | ||
|
||
# ide | ||
.idea | ||
.fleet | ||
.vscode |
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
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { Button } from "@/registry/default/ui/button" | ||
import { | ||
Card, | ||
CardContent, | ||
CardDescription, | ||
CardFooter, | ||
CardHeader, | ||
CardTitle, | ||
} from "@/registry/default/ui/card" | ||
import { Input } from "@/registry/default/ui/input" | ||
import { Label } from "@/registry/default/ui/label" | ||
|
||
export const description = | ||
"A simple login form with email and password. The submit button says 'Sign in'." | ||
|
||
export const iframeHeight = "600px" | ||
|
||
export const containerClassName = | ||
"w-full h-screen flex items-center justify-center px-4" | ||
|
||
export default function LoginForm() { | ||
return ( | ||
<Card className="w-full max-w-sm"> | ||
<CardHeader> | ||
<CardTitle className="text-2xl">Login</CardTitle> | ||
<CardDescription> | ||
Enter your email below to login to your account. | ||
</CardDescription> | ||
</CardHeader> | ||
<CardContent className="grid gap-4"> | ||
<div className="grid gap-2"> | ||
<Label htmlFor="email">Email</Label> | ||
<Input id="email" type="email" placeholder="[email protected]" required /> | ||
</div> | ||
<div className="grid gap-2"> | ||
<Label htmlFor="password">Password</Label> | ||
<Input id="password" type="password" required /> | ||
</div> | ||
</CardContent> | ||
<CardFooter> | ||
<Button className="w-full">Sign in</Button> | ||
</CardFooter> | ||
</Card> | ||
) | ||
} |
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,67 @@ | ||
import Link from "next/link" | ||
|
||
import { Button } from "@/registry/default/ui/button" | ||
import { | ||
Card, | ||
CardContent, | ||
CardDescription, | ||
CardHeader, | ||
CardTitle, | ||
} from "@/registry/default/ui/card" | ||
import { Input } from "@/registry/default/ui/input" | ||
import { Label } from "@/registry/default/ui/label" | ||
|
||
export const description = | ||
"A login form with email and password. There's an option to login with Google and a link to sign up if you don't have an account." | ||
|
||
export const iframeHeight = "600px" | ||
|
||
export const containerClassName = | ||
"w-full h-screen flex items-center justify-center px-4" | ||
|
||
export default function LoginForm() { | ||
return ( | ||
<Card className="mx-auto max-w-sm"> | ||
<CardHeader> | ||
<CardTitle className="text-2xl">Login</CardTitle> | ||
<CardDescription> | ||
Enter your email below to login to your account | ||
</CardDescription> | ||
</CardHeader> | ||
<CardContent> | ||
<div className="grid gap-4"> | ||
<div className="grid gap-2"> | ||
<Label htmlFor="email">Email</Label> | ||
<Input | ||
id="email" | ||
type="email" | ||
placeholder="[email protected]" | ||
required | ||
/> | ||
</div> | ||
<div className="grid gap-2"> | ||
<div className="flex items-center"> | ||
<Label htmlFor="password">Password</Label> | ||
<Link href="#" className="ml-auto inline-block text-sm underline"> | ||
Forgot your password? | ||
</Link> | ||
</div> | ||
<Input id="password" type="password" required /> | ||
</div> | ||
<Button type="submit" className="w-full"> | ||
Login | ||
</Button> | ||
<Button variant="outline" className="w-full"> | ||
Login with Google | ||
</Button> | ||
</div> | ||
<div className="mt-4 text-center text-sm"> | ||
Don't have an account?{" "} | ||
<Link href="#" className="underline"> | ||
Sign up | ||
</Link> | ||
</div> | ||
</CardContent> | ||
</Card> | ||
) | ||
} |
Oops, something went wrong.