From c6dc5d46a82266ae0194cfa01cb4d31b5323ab33 Mon Sep 17 00:00:00 2001 From: kirukib Date: Tue, 20 Oct 2026 15:05:39 +0300 Subject: [PATCH] feat: guided tour, course cards with enrolled counts, abstract steps, grouped payments, SEO, founder link - After sign-in a 7-step spotlight tour shows students around (replay from the menu); ends on Esc or navigation - Course cards: edge-to-edge photo, student count (Course.enrolledCount), arrow that inverts on hover (fixes white-on-white hover in dark mode) - Landing: stats removed; How it works uses abstract CSS art; payment card grouped by mobile money, bank cards and from abroad; step 2 copy covers local and international payment - SEO: metadata (title template, description, keywords, canonical, Open Graph, Twitter), per-route titles, EducationalOrganization JSON-LD with founder Rezina Brhane and her TikTok, robots.txt, sitemap.xml; same tags on the waitlist page - Footers link the founder's TikTok - Backend issue drafted: design/issues/enrollment-counts.md - Smoke test: blocks third-party requests (Vimeo iframe stalled unloads), tolerates a missed load event; it caught a hook-order crash on the course page, fixed here Co-Authored-By: Claude Opus 5.5 --- apps/demo/app/layout.tsx | 20 +++++- apps/demo/public/robots.txt | 4 ++ apps/demo/public/sitemap.xml | 5 ++ apps/demo/public/waitlist/index.html | 21 ++++++- design/issues/enrollment-counts.md | 14 +++++ packages/data/src/index.ts | 1 + packages/db/seed/demo-seed.mjs | 5 ++ packages/features/src/student.tsx | 91 ++++++++++++++++++++++------ packages/features/src/styles.css | 59 +++++++++++++++++- packages/i18n/messages/am.json | 30 ++++++++- packages/i18n/messages/en.json | 30 ++++++++- packages/i18n/messages/om.json | 30 ++++++++- packages/i18n/messages/ti.json | 30 ++++++++- tools/artifact-check.mjs | 3 +- tools/preview/smoke.mjs | 9 ++- 15 files changed, 315 insertions(+), 37 deletions(-) create mode 100644 apps/demo/public/robots.txt create mode 100644 apps/demo/public/sitemap.xml create mode 100644 design/issues/enrollment-counts.md diff --git a/apps/demo/app/layout.tsx b/apps/demo/app/layout.tsx index 52d1db9..355c9a0 100644 --- a/apps/demo/app/layout.tsx +++ b/apps/demo/app/layout.tsx @@ -4,7 +4,24 @@ 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 } }; +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. @@ -19,6 +36,7 @@ export default function RootLayout({ children }: { children: ReactNode }) {