import type { ReactNode } from 'react';
import { readFileSync } from 'node:fs';
import { join } from 'node:path';
// Placeholder favicon matching the mark in packages/features/src/ui.tsx.
const icon = `data:image/svg+xml,${encodeURIComponent('')}`;
export const metadata = { title: 'MakeUp Academy', description: 'Claude-hosted demo of the e-learning platform (SPEC §18).', icons: { icon } };
// Inlined at build time instead of `import '…css'`: an imported stylesheet is re-requested by React's
// stylesheet hoisting at hydration, which the artifact CSP blocks. apps/web and apps/admin import it normally.
const css = readFileSync(join(process.cwd(), '../../packages/features/src/styles.css'), 'utf8');
export default function RootLayout({ children }: { children: ReactNode }) {
return (
{/* next/font emits separate files, so fonts come from Google Fonts (allowed by the artifact CSP, §18.5) */}
{children}
);
}