- Connect AuthGuard in providers.tsx so all pages enforce authentication - Root page redirects to /dashboard instead of rendering old Home.tsx - ConfigurationInitializer and login page redirect to /dashboard (not /upload) - Create reusable Logo component with "Oliver DeckForge" text branding - Replace Presenton logo-white.png with Logo component in all 3 headers - Remove old "Create Template" / "Templates" nav links from dashboard header - Replace presenton@gmail.com/www.presenton.com in template placeholders - Fix DashboardPage heading "Slide Presentation" → "Recent Presentations" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
252 B
TypeScript
14 lines
252 B
TypeScript
"use client";
|
|
|
|
import { useRouter } from "next/navigation";
|
|
import { useEffect } from "react";
|
|
|
|
export default function RootPage() {
|
|
const router = useRouter();
|
|
|
|
useEffect(() => {
|
|
router.replace("/dashboard");
|
|
}, [router]);
|
|
|
|
return null;
|
|
}
|