import type { ReactNode } from 'react'; import { readFileSync } from 'node:fs'; import { join } from 'node:path'; import { LOGO_MARK } from '@lms/features/src/brandLogo'; export const metadata = { title: 'Sirkul Makeup', description: 'Claude-hosted demo of the e-learning platform (SPEC §18).', icons: { icon: LOGO_MARK } }; // 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) */}