- 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>
15 lines
340 B
TypeScript
15 lines
340 B
TypeScript
'use client';
|
|
|
|
import { Provider } from 'react-redux';
|
|
import { store } from '../store/store';
|
|
import { AuthGuard } from '@/components/AuthGuard';
|
|
|
|
export function Providers({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<Provider store={store}>
|
|
<AuthGuard>
|
|
{children}
|
|
</AuthGuard>
|
|
</Provider>
|
|
);
|
|
}
|