-
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
013432c
commit cdbb359
Showing
1 changed file
with
31 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,41 @@ | ||
import { InlineSnippet } from "@/components/form/domain-configuration"; | ||
import Image from "next/image"; | ||
import LoginButton from "./login-button"; | ||
import { Suspense } from "react"; | ||
|
||
export default function HomePage() { | ||
export default function LoginPage() { | ||
return ( | ||
<div className="flex h-screen flex-col items-center justify-center space-y-10 bg-black"> | ||
<div className="mx-5 border border-stone-200 py-10 dark:border-stone-700 sm:mx-auto sm:w-full sm:max-w-md sm:rounded-lg sm:shadow-md"> | ||
<Image | ||
width={512} | ||
height={512} | ||
alt="Platforms Sites" | ||
width={100} | ||
height={100} | ||
className="relative mx-auto h-12 w-auto dark:scale-110 dark:rounded-full dark:border dark:border-stone-400" | ||
src="/logo.png" | ||
alt="Platforms on Vercel" | ||
className="w-48" | ||
/> | ||
<h1 className="text-white"> | ||
Edit this page on{" "} | ||
<InlineSnippet className="ml-2 bg-blue-900 text-blue-100"> | ||
app/home/page.tsx | ||
</InlineSnippet> | ||
<h1 className="mt-6 text-center font-cal text-3xl dark:text-white"> | ||
Platforms Sites | ||
</h1> | ||
<p className="mt-2 text-center text-sm text-stone-600 dark:text-stone-400"> | ||
Build multi-tenant applications with custom domains. <br /> | ||
<a | ||
className="font-medium text-black hover:text-stone-800 dark:text-stone-300 dark:hover:text-stone-100" | ||
href="https://vercel.com/blog/platforms-starter-kit" | ||
rel="noreferrer" | ||
target="_blank" | ||
> | ||
Read the announcement. | ||
</a> | ||
</p> | ||
|
||
<div className="mx-auto mt-4 w-11/12 max-w-xs sm:w-full"> | ||
<Suspense | ||
fallback={ | ||
<div className="my-2 h-10 w-full rounded-md border border-stone-200 bg-stone-100 dark:border-stone-700 dark:bg-stone-800" /> | ||
} | ||
> | ||
<LoginButton /> | ||
</Suspense> | ||
</div> | ||
</div> | ||
); | ||
} |