import type { ReactNode } from 'react'; import { readFileSync } from 'node:fs'; import { join } from 'node:path'; import { LOGO_MARK } from '@lms/features/src/brandLogo'; const SITE = 'https://makeup-lms.vercel.app'; const DESCRIPTION = "Video makeup courses from working Ethiopian artists, founded by Rezina Brhane. Bridal, soft glam, skin prep and traditional Habesha looks. Pay once with Telebirr, CBE Birr, cards or PayPal, keep the course for life, and learn on your phone in Amharic, English, Afaan Oromoo or Tigrinya."; export const metadata = { metadataBase: new URL(SITE), title: { default: 'Sirkul Makeup — Learn professional makeup from working artists', template: '%s · Sirkul Makeup' }, description: DESCRIPTION, keywords: ['makeup course', 'makeup class Ethiopia', 'online makeup course', 'bridal makeup', 'Habesha makeup', 'makeup artist training', 'Addis Ababa makeup school', 'የሜካፕ ትምህርት', 'Rezina Brhane', 'Sirkul Makeup'], authors: [{ name: 'Rezina Brhane', url: 'https://www.tiktok.com/@rezinabrhane' }], creator: 'Rezina Brhane', alternates: { canonical: '/' }, icons: { icon: LOGO_MARK }, openGraph: { type: 'website', url: SITE, siteName: 'Sirkul Makeup', title: 'Learn professional makeup from working artists', description: DESCRIPTION, images: [{ url: '/photos/hero.jpg', alt: 'Makeup by Sirkul Makeup School' }], locale: 'en_US', alternateLocale: ['am_ET', 'om_ET', 'ti_ET'] }, twitter: { card: 'summary_large_image', title: 'Sirkul Makeup — makeup courses on your phone', description: DESCRIPTION, images: ['/photos/hero.jpg'] }, robots: { index: true, follow: true }, }; export const viewport = { themeColor: '#0A0A0A' }; // Structured data: the school, its founder (Rezina Brhane) and her TikTok, so search results tie them together. const ORG = {"@context": "https://schema.org", "@type": "EducationalOrganization", "name": "Sirkul Makeup School/Studio", "alternateName": "Sirkul Makeup", "url": "https://makeup-lms.vercel.app", "logo": "https://makeup-lms.vercel.app/brand/sirkul-logo.png", "image": "https://makeup-lms.vercel.app/photos/hero.jpg", "description": "Video makeup courses from working Ethiopian artists, founded by Rezina Brhane. Bridal, soft glam, skin prep and traditional Habesha looks. Pay once with Telebirr, CBE Birr, cards or PayPal, keep the course for life, and learn on your phone in Amharic, English, Afaan Oromoo or Tigrinya.", "founder": {"@type": "Person", "name": "Rezina Brhane", "jobTitle": "Founder and head of Sirkul Makeup", "sameAs": ["https://www.tiktok.com/@rezinabrhane"]}, "sameAs": ["https://www.tiktok.com/@rezinabrhane"], "areaServed": "ET", "knowsLanguage": ["am", "en", "om", "ti"], "contactPoint": {"@type": "ContactPoint", "contactType": "customer support", "telephone": "+251911234567", "availableLanguage": ["Amharic", "English", "Afaan Oromoo", "Tigrinya"]}}; // 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) */} {/* Saved theme, else dark (the brand default); runs before paint so there's no flash. */} {children} ); }