diff --git a/app/favicon.ico b/app/favicon.ico deleted file mode 100644 index 718d6fe..0000000 Binary files a/app/favicon.ico and /dev/null differ diff --git a/app/globals.css b/app/globals.css index 5184d12..aee5de6 100644 --- a/app/globals.css +++ b/app/globals.css @@ -97,6 +97,12 @@ body { @apply bg-background text-foreground antialiased; } + + /* https://ui.shadcn.com/docs/components/radix/button#cursor */ + button:not(:disabled), + [role="button"]:not(:disabled) { + cursor: pointer; + } } /* Film grain texture overlay */ diff --git a/app/icon.svg b/app/icon.svg new file mode 100644 index 0000000..20cddf6 --- /dev/null +++ b/app/icon.svg @@ -0,0 +1 @@ + diff --git a/components/auth-form.tsx b/components/auth-form.tsx index 8aeda9c..c1eae60 100644 --- a/components/auth-form.tsx +++ b/components/auth-form.tsx @@ -4,6 +4,7 @@ import { AnimatePresence, motion } from "motion/react"; import Link from "next/link"; import { useRouter } from "next/navigation"; import { useState } from "react"; +import { SofaLogo } from "@/components/sofa-logo"; import { signIn, signUp } from "@/lib/auth/client"; const fieldVariants = { @@ -65,11 +66,8 @@ export function AuthForm({ mode }: { mode: "login" | "register" }) { transition={{ type: "spring" as const, stiffness: 200, damping: 20 }} >
- - Sofa + +

{isRegister ? "Create your account" : "Welcome back"} diff --git a/components/landing-page.tsx b/components/landing-page.tsx index 86be0b1..3ee3e6c 100644 --- a/components/landing-page.tsx +++ b/components/landing-page.tsx @@ -5,6 +5,7 @@ import Image from "next/image"; import Link from "next/link"; import { useRouter } from "next/navigation"; import { useEffect } from "react"; +import { SofaLogo } from "@/components/sofa-logo"; import { useSession } from "@/lib/auth/client"; /** Check whether the server has TMDB configured. */ @@ -127,8 +128,8 @@ export function LandingPage({ posterUrls }: { posterUrls: string[] }) { > Self-hosted movie & TV tracker - - Sofa - + + - Sofa + {session?.user && (
diff --git a/components/sofa-logo.tsx b/components/sofa-logo.tsx new file mode 100644 index 0000000..7323349 --- /dev/null +++ b/components/sofa-logo.tsx @@ -0,0 +1,28 @@ +export function SofaLogo({ + size = 24, + className, +}: { + size?: number; + className?: string; +}) { + return ( + + + + + ); +}