This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add(nextjs): get-started page (duplicate login page)
- Loading branch information
Showing
11 changed files
with
97 additions
and
57 deletions.
There are no files selected for viewing
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
File renamed without changes.
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,41 @@ | ||
import { Card, CardContent, CardFooter, CardHeader } from "@ubus/ui/card"; | ||
|
||
import { LogoIcon } from "../_components/logo-icon"; | ||
import { | ||
SignInWithGithub, | ||
SignInWithGoogle, | ||
} from "../_components/signin-with-buttons"; | ||
|
||
const GetStartedPage = () => { | ||
return ( | ||
<div className="fixed inset-0 z-50 flex h-full w-full items-center justify-center px-4 md:px-8"> | ||
<Card className="relative max-w-lg rounded-xl border-outline-variant bg-surface-container-low px-6 text-on-surface shadow-md *:fill-on-surface"> | ||
<CardHeader className="space-y-4 text-center"> | ||
<LogoIcon /> | ||
<h2 className="mb-6 text-headline-small font-bold"> | ||
Sign in to access <br /> all the content. | ||
</h2> | ||
</CardHeader> | ||
<CardContent className="mt-8 space-y-4"> | ||
<SignInWithGoogle /> | ||
<SignInWithGithub /> | ||
</CardContent> | ||
<CardFooter className="mt-12 text-center"> | ||
<p className="text-xs"> | ||
By proceeding, you agree to our | ||
<a href="/terms-of-service/" className="underline"> | ||
Terms of Service | ||
</a> | ||
and confirm you have read our | ||
<a href="/privacy-policy/" className="underline"> | ||
Privacy Policy | ||
</a> | ||
. | ||
</p> | ||
</CardFooter> | ||
</Card> | ||
</div> | ||
); | ||
}; | ||
|
||
export default GetStartedPage; |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.