Skip to content

Commit 5425bea

Browse files
committed
updated login page
1 parent 4a429cc commit 5425bea

File tree

1 file changed

+31
-26
lines changed

1 file changed

+31
-26
lines changed

app/app/(auth)/login/page.tsx

Lines changed: 31 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,41 @@
11
import Image from "next/image";
22
import LoginButton from "./login-button";
3+
import { Suspense } from "react";
34

45
export default function LoginPage() {
56
return (
6-
<>
7-
<div className="sm:mx-auto sm:w-full sm:max-w-md">
8-
<Image
9-
alt="Platforms Starter Kit"
10-
width={100}
11-
height={100}
12-
className="relative mx-auto h-12 w-auto"
13-
src="/logo.png"
14-
/>
15-
<h1 className="mt-6 text-center font-cal text-3xl text-gray-900">
16-
Platforms Starter Kit
17-
</h1>
18-
<p className="mt-2 text-center text-sm text-gray-600">
19-
Build multi-tenant applications with custom domains. <br /> Read the{" "}
20-
<a
21-
className="font-medium text-black hover:text-gray-800"
22-
href="https://demo.vercel.pub/platforms-starter-kit"
23-
rel="noreferrer"
24-
target="_blank"
25-
>
26-
blog post
27-
</a>
28-
</p>
29-
</div>
7+
<div className="border border-stone-200 py-10 sm:mx-auto sm:w-full sm:max-w-md sm:rounded-lg sm:shadow-md">
8+
<Image
9+
alt="Platforms Starter Kit"
10+
width={100}
11+
height={100}
12+
className="relative mx-auto h-12 w-auto"
13+
src="/logo.png"
14+
/>
15+
<h1 className="mt-6 text-center font-cal text-3xl text-gray-900">
16+
Platforms Starter Kit
17+
</h1>
18+
<p className="mt-2 text-center text-sm text-gray-600">
19+
Build multi-tenant applications with custom domains. <br /> Read the{" "}
20+
<a
21+
className="font-medium text-black hover:text-gray-800"
22+
href="https://demo.vercel.pub/platforms-starter-kit"
23+
rel="noreferrer"
24+
target="_blank"
25+
>
26+
blog post
27+
</a>
28+
</p>
3029

3130
<div className="mx-auto mt-4 w-11/12 max-w-xs sm:w-full">
32-
<LoginButton />
31+
<Suspense
32+
fallback={
33+
<div className="h-10 w-full rounded-md border border-stone-200 bg-stone-100" />
34+
}
35+
>
36+
<LoginButton />
37+
</Suspense>
3338
</div>
34-
</>
39+
</div>
3540
);
3641
}

0 commit comments

Comments
 (0)