diff --git a/app/(marketing)/layout.tsx b/app/(marketing)/layout.tsx index dc7a538..5b0172f 100644 --- a/app/(marketing)/layout.tsx +++ b/app/(marketing)/layout.tsx @@ -1,10 +1,8 @@ import Link from "next/link" import { marketingConfig } from "@/config/marketing" -import { getCurrentUser } from "@/lib/session" import { MainNav } from "@/components/main-nav" import { SiteFooter } from "@/components/site-footer" -import { UserAccountNav } from "@/components/dashboard/user-account-nav" interface MarketingLayoutProps { children: React.ReactNode @@ -13,31 +11,19 @@ interface MarketingLayoutProps { export default async function MarketingLayout({ children, }: MarketingLayoutProps) { - const user = await getCurrentUser() - return (
- {user ? ( - - ) : ( - - )} +
{children}
diff --git a/app/(marketing)/page.tsx b/app/(marketing)/page.tsx index 8b5538f..d629de5 100644 --- a/app/(marketing)/page.tsx +++ b/app/(marketing)/page.tsx @@ -187,7 +187,7 @@ export default async function IndexPage() { > GitHub - . + .{" "} I'm also documenting everything here