Remove root page.tsx redirect so landing page renders at /

The root src/app/page.tsx was redirecting all visitors to /login,
preventing the (public)/page.tsx landing page from rendering at /.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Marko Djordjevic 2026-02-20 22:13:54 +01:00
parent 3e242c3359
commit 61ad63ce35

View file

@ -1,15 +0,0 @@
'use client';
import { useEffect } from 'react';
import { useRouter } from 'next/navigation';
export default function RootPage() {
const router = useRouter();
useEffect(() => {
// Redirect to login page
router.push('/login');
}, [router]);
return null;
}