diff --git a/.gitignore b/.gitignore index 5b299fd..4dc3dd1 100644 --- a/.gitignore +++ b/.gitignore @@ -13,11 +13,10 @@ # testing /coverage -# next.js +# build outputs /.next/ /out/ - -# production +/.output/ /build # misc diff --git a/app/layout.tsx b/app/layout.tsx deleted file mode 100644 index eb914b8..0000000 --- a/app/layout.tsx +++ /dev/null @@ -1,67 +0,0 @@ -'use client'; - -import './globals.css'; -import './editor-theme.css'; -import { useGlobalEventListeners } from '@/hooks/useGlobalEventListeners'; -import { useEffect } from 'react'; -import { I18nProvider } from '@/components/i18n-provider'; -import { AppShell } from '@/components/app-shell'; -import { - JetBrains_Mono, - Playfair_Display, - Source_Serif_4, -} from 'next/font/google'; - -const playfairDisplay = Playfair_Display({ - subsets: ['latin'], - display: 'swap', - variable: '--font-display-family', -}); - -const sourceSerif = Source_Serif_4({ - subsets: ['latin'], - display: 'swap', - variable: '--font-body-family', -}); - -const jetBrainsMono = JetBrains_Mono({ - subsets: ['latin'], - display: 'swap', - variable: '--font-mono-family', -}); - -export default function RootLayout({ - children, -}: Readonly<{ - children: React.ReactNode; -}>) { - useGlobalEventListeners(); - - useEffect(() => { - // Remove preload class after initial render to enable transitions - const timer = setTimeout(() => { - document.body.classList.remove('preload'); - }, 100); - - return () => clearTimeout(timer); - }, []); - - return ( - -
- - - - - -