We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70f7729 commit 5858e31Copy full SHA for 5858e31
2 files changed
packages/web/public/google.svg
packages/web/src/app/login/page.tsx
@@ -4,6 +4,7 @@ import { redirect } from "next/navigation"
4
import logoDark from "@/public/sb_logo_dark_large.png";
5
import logoLight from "@/public/sb_logo_light_large.png";
6
import githubLogo from "@/public/github.svg";
7
+import googleLogo from "@/public/google.svg";
8
import Image from "next/image";
9
import { Button } from "@/components/ui/button";
10
@@ -39,6 +40,13 @@ export default async function Login(props: {
39
40
}
41
42
43
+ if (provider.id === "google") {
44
+ return {
45
+ provider,
46
+ logo: googleLogo,
47
+ }
48
49
+
50
return { provider }
51
})
52
.map(({ provider, logo }) => (
0 commit comments