From 47e1682d440f8eeef2a6535fac8f7b401e8a21ed Mon Sep 17 00:00:00 2001 From: Michele Date: Sat, 31 Jan 2026 15:16:37 +0100 Subject: [PATCH] Simplify homepage to static (debug SSR issue) Co-Authored-By: Claude Opus 4.5 --- src/app/page.tsx | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 540fcb3..221289f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,18 +1,8 @@ -import { createClient } from '@/lib/supabase/server' -import { redirect } from 'next/navigation' import Link from 'next/link' import { Button } from '@/components/ui/button' -export default async function Home() { - const supabase = await createClient() - const { data: { user } } = await supabase.auth.getUser() - - // If logged in, redirect to dashboard - if (user) { - redirect('/dashboard') - } - - // Landing page for non-authenticated users +export default function Home() { + // Simple static landing page - no Supabase for now return (
@@ -26,12 +16,12 @@ export default async function Home() {

- + - +