d7bfe34bb1
- add postinstall, dev, and build scripts to run `zen-modules sync` - append `app/.zen/modules.generated.js` to .gitignore during init - add generated modules file template with empty modules export - import modules.generated.js in app layout and pass modules to initializeZen
25 lines
576 B
JavaScript
25 lines
576 B
JavaScript
import "@styles/globals.css";
|
|
import './.zen/modules.generated.js';
|
|
import { ZenProvider } from '@zen/core/features/provider';
|
|
import { THEME_INIT_SCRIPT } from '@zen/core/themes';
|
|
|
|
export const metadata = {
|
|
title: "",
|
|
description: "",
|
|
};
|
|
|
|
export default function RootLayout({ children }) {
|
|
return (
|
|
<html lang="fr" suppressHydrationWarning>
|
|
<head>
|
|
<script dangerouslySetInnerHTML={{ __html: THEME_INIT_SCRIPT }} />
|
|
</head>
|
|
<body className="antialiased bg-white dark:bg-black">
|
|
<ZenProvider>
|
|
{children}
|
|
</ZenProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|