4c46e8bcdd
Complete Next.js 16 application with 13 fully implemented modules: Email Signature, Word XML Generator, Registratura, Dashboard, Tag Manager, IT Inventory, Address Book, Password Vault, Mini Utilities, Prompt Generator, Digital Signatures, Word Templates, and AI Chat. Includes core platform systems (module registry, feature flags, storage abstraction, i18n, theming, auth stub, tagging), 16 technical documentation files, Docker deployment config, and legacy HTML tool reference. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
855 B
TypeScript
32 lines
855 B
TypeScript
'use client';
|
|
|
|
import { ThemeProvider } from '@/core/theme';
|
|
import { I18nProvider } from '@/core/i18n';
|
|
import { StorageProvider } from '@/core/storage';
|
|
import { FeatureFlagProvider } from '@/core/feature-flags';
|
|
import { AuthProvider } from '@/core/auth';
|
|
import { DEFAULT_FLAGS } from '@/config/flags';
|
|
|
|
// Ensure module registry is populated
|
|
import '@/config/modules';
|
|
|
|
interface ProvidersProps {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
export function Providers({ children }: ProvidersProps) {
|
|
return (
|
|
<ThemeProvider>
|
|
<I18nProvider>
|
|
<StorageProvider>
|
|
<FeatureFlagProvider flagDefinitions={DEFAULT_FLAGS}>
|
|
<AuthProvider>
|
|
{children}
|
|
</AuthProvider>
|
|
</FeatureFlagProvider>
|
|
</StorageProvider>
|
|
</I18nProvider>
|
|
</ThemeProvider>
|
|
);
|
|
}
|