diff --git a/apps/demo/app/layout.tsx b/apps/demo/app/layout.tsx index d28eb44..03bdb0b 100644 --- a/apps/demo/app/layout.tsx +++ b/apps/demo/app/layout.tsx @@ -2,7 +2,10 @@ import type { ReactNode } from 'react'; import { readFileSync } from 'node:fs'; import { join } from 'node:path'; -export const metadata = { title: 'MakeUp Academy', description: 'Claude-hosted demo of the e-learning platform (SPEC §18).' }; +// 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. @@ -10,7 +13,7 @@ const css = readFileSync(join(process.cwd(), '../../packages/features/src/styles 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) */} diff --git a/packages/features/src/admin.tsx b/packages/features/src/admin.tsx index 988a715..afb72fa 100644 --- a/packages/features/src/admin.tsx +++ b/packages/features/src/admin.tsx @@ -9,7 +9,7 @@ import { owns, publishedLessons, publishProblems, ROLE_AREAS, tr, validateLocation, type Area, type Period, } from './domain'; import { LocationFields } from './student'; -import { Cover, Empty, FeedbackButton, fmtDate, fmtDateTime, Icon, Modal, Skeleton, StatusPill } from './ui'; +import { Cover, Empty, FeedbackButton, fmtDate, fmtDateTime, Icon, Logo, Modal, Skeleton, StatusPill } from './ui'; const ROLE_LABEL: Record = { SUPER_ADMIN: 'Super admin', CONTENT_MANAGER: 'Content manager', SUPPORT_AGENT: 'Support agent', FINANCE: 'Finance', ANALYST: 'Analyst' }; const NAV: { group: string; items: [Area, string, string][] }[] = [ @@ -75,7 +75,7 @@ function AdminShell() { return (