this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: just say Lively Forms in navbar

+3 -13
+3 -13
app/(creator)/layout.tsx
··· 12 12 redirect("/"); 13 13 } 14 14 15 - const firstName = session.user.name?.trim().split(/\s+/)[0] ?? session.user.email?.split("@")[0] ?? "Creator"; 16 - const greetings = [ 17 - `Lovely day, ${firstName}.`, 18 - `Ask away, ${firstName}.`, 19 - `Welcome back, ${firstName}.`, 20 - `How are you, ${firstName}?`, 21 - `Something good starts here, ${firstName}.`, 22 - ]; 23 - const greeting = greetings[Math.floor(Math.random() * greetings.length)]; 24 - 25 15 return ( 26 16 <main className="mx-auto min-h-screen w-full max-w-7xl px-6 py-8 lg:px-10"> 27 17 <header className="mb-8 flex flex-col gap-4 border-b border-[color:var(--line)] pb-5 lg:flex-row lg:items-center lg:justify-between"> ··· 33 23 > 34 24 <Image src="/sproute.png" alt="Lively Forms" width={48} height={48} priority className="size-12" /> 35 25 </Link> 36 - <div> 37 - <p className="font-display text-2xl text-[var(--ink)]">{greeting}</p> 38 - </div> 26 + <Link href="/dashboard" className="font-display text-2xl text-[var(--ink)] transition hover:text-[var(--accent)]"> 27 + Lively Forms 28 + </Link> 39 29 </div> 40 30 <div className="flex items-center gap-5"> 41 31 <Link href="/dashboard" className="text-sm font-medium text-[var(--muted)] transition hover:text-[var(--ink)]">