@@ -1292,7 +1320,7 @@ function SignIn() {
{mode === 'phone' ? t('auth.phoneTitle') : t('auth.emailTitle')}
{mode === 'phone' ? (
) : <>
{t('auth.emailLabel')} setEmail(e.target.value)} />
@@ -1323,6 +1351,12 @@ const SOCIAL: [string, string, ReactNode][] = [
['telegram', 'Telegram', <>
>],
['facebook', 'Facebook',
],
];
+// Country dial codes (same list as the waitlist page). Ethiopia and Eritrea first, the rest by name.
+const DIALS: Record
= Object.fromEntries('AF93 AL355 DZ213 AS1 AD376 AO244 AI1 AG1 AR54 AM374 AW297 AU61 AT43 AZ994 BS1 BH973 BD880 BB1 BY375 BE32 BZ501 BJ229 BM1 BT975 BO591 BA387 BW267 BR55 BN673 BG359 BF226 BI257 KH855 CM237 CA1 CV238 KY1 CF236 TD235 CL56 CN86 CO57 KM269 CG242 CD243 CR506 CI225 HR385 CU53 CY357 CZ420 DK45 DJ253 DM1 DO1 EC593 EG20 SV503 GQ240 ER291 EE372 SZ268 ET251 FJ679 FI358 FR33 GA241 GM220 GE995 DE49 GH233 GR30 GD1 GU1 GT502 GN224 GW245 GY592 HT509 HN504 HK852 HU36 IS354 IN91 ID62 IR98 IQ964 IE353 IL972 IT39 JM1 JP81 JO962 KZ7 KE254 KI686 XK383 KW965 KG996 LA856 LV371 LB961 LS266 LR231 LY218 LI423 LT370 LU352 MO853 MG261 MW265 MY60 MV960 ML223 MT356 MR222 MU230 MX52 MD373 MC377 MN976 ME382 MA212 MZ258 MM95 NA264 NP977 NL31 NZ64 NI505 NE227 NG234 KP850 MK389 NO47 OM968 PK92 PS970 PA507 PG675 PY595 PE51 PH63 PL48 PT351 PR1 QA974 RO40 RU7 RW250 KN1 LC1 VC1 WS685 SM378 ST239 SA966 SN221 RS381 SC248 SL232 SG65 SK421 SI386 SB677 SO252 ZA27 KR82 SS211 ES34 LK94 SD249 SR597 SE46 CH41 SY963 TW886 TJ992 TZ255 TH66 TL670 TG228 TO676 TT1 TN216 TR90 TM993 UG256 UA380 AE971 GB44 US1 UY598 UZ998 VU678 VE58 VN84 YE967 ZM260 ZW263'.split(' ').map((x) => [x.slice(0, 2), x.slice(2)]));
+const regionName = (() => { try { const n = new Intl.DisplayNames(['en'], { type: 'region' }); return (c: string) => n.of(c) ?? c; } catch { return (c: string) => c; } })();
+const DIAL_OPTIONS: [string, string][] = [['ET', regionName('ET')], ['ER', regionName('ER')], ...Object.keys(DIALS).filter((c) => c !== 'ET' && c !== 'ER').map((c) => [c, regionName(c)] as [string, string]).sort((a, b) => a[1].localeCompare(b[1]))];
+const flagOf = (cc: string) => String.fromCodePoint(...[...cc].map((ch) => 127397 + ch.charCodeAt(0)));
+
function SocialLogins({ onPick }: { onPick(provider: string): void }) {
const t = useTranslations();
return (
diff --git a/packages/features/src/styles.css b/packages/features/src/styles.css
index 2ef835f..37b9038 100644
--- a/packages/features/src/styles.css
+++ b/packages/features/src/styles.css
@@ -1065,3 +1065,89 @@ fieldset[disabled] .quiz-opt { cursor: default; }
.pay-strip .cd-note { padding: 0; }
.foot-founder { color: var(--ink-3); font-size: var(--fs-sm); margin-top: -8px; } .foot-founder a { color: var(--ink); text-underline-offset: 3px; }
+
+/* ---------- lesson rows + player sidebar 2026-10-20 ---------- */
+.lesson-row { position: relative; gap: 12px; padding: 10px 12px; border: 0; border-radius: 14px; min-height: 60px; }
+.lesson-row + .lesson-row { margin-top: 2px; }
+.lesson-row:hover { background: var(--mist); }
+.lesson-row.is-current { background: var(--mist); box-shadow: inset 3px 0 0 var(--ink); }
+.lesson-row > svg { color: var(--ink-3); flex: none; }
+.lr-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); font-size: 12px; font-weight: 700; }
+.is-done .lr-ic { background: var(--ink); border-color: var(--ink); color: var(--paper); }
+.is-current .lr-ic { background: var(--paper); border-color: var(--ink); color: var(--ink); }
+.is-locked { opacity: .6; }
+.lr-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
+.lr-title { font-weight: 600; line-height: 1.35; }
+.is-current .lr-title { font-weight: 700; }
+.lr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
+.lr-tag { padding: 1px 8px; border-radius: 999px; background: var(--mist); color: var(--ink-2); font-weight: 600; font-size: 11px; }
+.is-current .lr-tag { background: var(--paper); }
+.lr-seen { display: block; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; margin-top: 4px; }
+.lr-seen i { display: block; height: 100%; background: var(--ink-2); border-radius: inherit; }
+.lr-now { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
+.eq { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
+.eq i { width: 3px; background: currentColor; border-radius: 1px; animation: eq 900ms ease-in-out infinite alternate; }
+.eq i:nth-child(2) { animation-delay: -300ms; } .eq i:nth-child(3) { animation-delay: -600ms; }
+@keyframes eq { from { height: 3px; } to { height: 12px; } }
+
+.p-side { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
+.ps-head { display: flex; align-items: center; gap: 14px; padding: 12px 10px 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
+.ps-head-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
+.ps-head-txt strong { font-size: var(--fs-base); line-height: 1.3; }
+.ps-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
+.ps-ch summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 14px; cursor: pointer; }
+.ps-ch summary::-webkit-details-marker { display: none; }
+.ps-ch summary:hover { background: var(--mist); }
+.ps-ch summary > svg { flex: none; color: var(--ink-3); transition: transform 200ms var(--ease-out); }
+.ps-ch[open] summary > svg { transform: rotate(180deg); }
+.ps-ch-n { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--mist); font-size: 12px; font-weight: 700; color: var(--ink-2); }
+.ps-ch.is-done .ps-ch-n { background: var(--ink); color: var(--paper); }
+.ps-ch-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
+.ps-ch-list { padding: 2px 0 8px 18px; margin-left: 13px; border-left: 1px solid var(--line); }
+.ps-ch-list .lesson-row { padding-left: 10px; }
+
+/* ---------- completion ---------- */
+.ld-check { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); animation: pop 520ms var(--ease-out); }
+.ld-check svg { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 520ms 240ms var(--ease-out) forwards; }
+.ld-check.big { width: 72px; height: 72px; }
+@keyframes pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } to { transform: none; opacity: 1; } }
+@keyframes draw { to { stroke-dashoffset: 0; } }
+.lesson-done { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--mist), transparent 70%); animation: sheet-in 420ms var(--ease-out); }
+.ld-txt { flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: 2px; }
+.ld-next { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px 8px 18px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); text-align: left; cursor: pointer; max-width: 100%; transition: transform 200ms var(--ease-out); }
+.ld-next:hover { transform: translateX(2px); }
+.ld-next > span { display: flex; flex-direction: column; min-width: 0; font-weight: 700; line-height: 1.25; }
+.ld-next small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; font-weight: 600; }
+@media (max-width: 600px) { .ld-next { width: 100%; justify-content: space-between; } }
+.course-done { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 32px 20px; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, var(--mist), transparent 70%); animation: sheet-in 480ms var(--ease-out); }
+.course-done h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.04em; }
+.course-done p { color: var(--ink-2); max-width: 44ch; }
+.confetti { position: absolute; inset: 0; pointer-events: none; }
+.confetti i { position: absolute; top: -10px; left: calc(var(--k) * 5.5% + 2%); width: 7px; height: 12px; border-radius: 2px; background: var(--ink); opacity: 0; animation: fall 2.4s calc(var(--k) * 70ms) var(--ease-out) forwards; }
+.confetti i:nth-child(3n) { background: var(--ink-3); width: 6px; height: 6px; border-radius: 50%; }
+.confetti i:nth-child(4n) { background: #D9A441; }
+@keyframes fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(260px) rotate(540deg); } }
+@media (prefers-reduced-motion: reduce) { .eq i, .ld-check, .ld-check svg, .confetti i, .lesson-done, .course-done { animation: none !important; } .ld-check svg { stroke-dashoffset: 0; } .confetti { display: none; } }
+
+/* sign-in country picker */
+.dial-pick { position: relative; flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 999px; background: var(--mist); font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
+.dial-pick select { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }
+.dial-pick:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
+
+/* payment marquee: classy greyscale strip, colour on hover */
+.pay-marquee { overflow: hidden; margin-inline: -20px; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
+.pay-marquee > div { display: flex; gap: 10px; width: max-content; animation: reel 40s linear infinite; }
+.pay-marquee:hover > div { animation-play-state: paused; }
+.pay-item { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); transition: border-color 300ms, transform 300ms var(--ease-out), background 300ms; }
+.pay-item .pay-mark { flex: none; width: 52px; height: 34px; border-radius: 9px; background: #fff; padding: 4px 6px; filter: grayscale(1) contrast(.9); opacity: .7; transition: filter 400ms var(--ease-out), opacity 400ms; }
+.pay-item .pay-mark img { width: 100%; height: 100%; }
+.pay-item > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
+.pay-item strong { font-size: var(--fs-sm); }
+.pay-item small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
+.pay-item:hover { border-color: var(--ink-3); transform: translateY(-2px); background: var(--mist); }
+.pay-item:hover .pay-mark { filter: none; opacity: 1; }
+@media (hover: none) { .pay-item .pay-mark { filter: none; opacity: 1; } }
+@media (prefers-reduced-motion: reduce) { .pay-marquee { mask-image: none; -webkit-mask-image: none; margin-inline: 0; } .pay-marquee > div { animation: none; flex-wrap: wrap; width: auto; } .pay-marquee .pay-item:nth-child(n + 7) { display: none; } }
+/* the full footer is always on its dark frame, so its powered-by line keeps light text in both themes */
+.foot-full .powered { color: #8A8A8A; }
+.foot-full .shine, :root:not([data-theme="dark"]) .foot-full .shine { background-image: linear-gradient(110deg, #C9C9C9 40%, #fff 50%, #C9C9C9 60%); }
diff --git a/packages/i18n/messages/am.json b/packages/i18n/messages/am.json
index 44d2005..566c650 100644
--- a/packages/i18n/messages/am.json
+++ b/packages/i18n/messages/am.json
@@ -93,7 +93,8 @@
"continueAs": "እንደ {name} ይቀጥሉ",
"or": "ወይም",
"sideTitle": "ከባለሙያ አርቲስቶች ሜካፕ ይማሩ",
- "sideBody": "የቪዲዮ ትምህርቶች በአማርኛ፣ በአፋን ኦሮሞ፣ በትግርኛና በእንግሊዝኛ። አንድ ጊዜ ይክፈሉ፣ ኮርሱን ለዘላለም ያቆዩ።"
+ "sideBody": "የቪዲዮ ትምህርቶች በአማርኛ፣ በአፋን ኦሮሞ፣ በትግርኛና በእንግሊዝኛ። አንድ ጊዜ ይክፈሉ፣ ኮርሱን ለዘላለም ያቆዩ።",
+ "countryCode": "የአገር ኮድ"
},
"setup": {
"title": "ስለ እርስዎ ይንገሩን",
@@ -213,7 +214,14 @@
"fwd10": "10 ሰከንድ ወደ ፊት",
"fullscreen": "ሙሉ ማያ",
"contents": "ይዘት",
- "progress": "ከ{total} ትምህርቶች {done} ተጠናቀዋል"
+ "progress": "ከ{total} ትምህርቶች {done} ተጠናቀዋል",
+ "nowPlaying": "አሁን እየታየ",
+ "upNext": "ቀጣይ",
+ "courseProgress": "ኮርሱ {pct}% ተጠናቋል",
+ "courseDoneT": "ኮርሱ ተጠናቋል",
+ "courseDone": "{course}ን ጨርሰዋል። ለዘላለም የእርስዎ ነው፤ በፈለጉ ጊዜ ወደ ማንኛውም ትምህርት ይመለሱ።",
+ "seeProgress": "እድገቴን ይመልከቱ",
+ "markWatched": "እንደታየ ምልክት አድርግ (ማሳያ)"
},
"my": {
"title": "የእኔ ኮርሶች",
diff --git a/packages/i18n/messages/en.json b/packages/i18n/messages/en.json
index 043fa1e..fa935c7 100644
--- a/packages/i18n/messages/en.json
+++ b/packages/i18n/messages/en.json
@@ -93,7 +93,8 @@
"continueAs": "Continue as {name}",
"or": "or",
"sideTitle": "Learn makeup from working artists",
- "sideBody": "Video lessons in Amharic, Afaan Oromoo, Tigrinya and English. Pay once and keep the course for life."
+ "sideBody": "Video lessons in Amharic, Afaan Oromoo, Tigrinya and English. Pay once and keep the course for life.",
+ "countryCode": "Country code"
},
"setup": {
"title": "Tell us about you",
@@ -213,7 +214,14 @@
"fwd10": "Forward 10 seconds",
"fullscreen": "Full screen",
"contents": "Contents",
- "progress": "{done} of {total} lessons completed"
+ "progress": "{done} of {total} lessons completed",
+ "nowPlaying": "Now playing",
+ "upNext": "Up next",
+ "courseProgress": "Course {pct}% complete",
+ "courseDoneT": "Course complete",
+ "courseDone": "You finished {course}. It stays yours for life, so come back to any lesson whenever you need it.",
+ "seeProgress": "See my progress",
+ "markWatched": "Mark as watched (demo)"
},
"my": {
"title": "My courses",
diff --git a/packages/i18n/messages/om.json b/packages/i18n/messages/om.json
index 0a57527..d4bfeb8 100644
--- a/packages/i18n/messages/om.json
+++ b/packages/i18n/messages/om.json
@@ -93,7 +93,8 @@
"continueAs": "Continue as {name}",
"or": "or",
"sideTitle": "Learn makeup from working artists",
- "sideBody": "Video lessons in Amharic, Afaan Oromoo, Tigrinya and English. Pay once and keep the course for life."
+ "sideBody": "Video lessons in Amharic, Afaan Oromoo, Tigrinya and English. Pay once and keep the course for life.",
+ "countryCode": "Koodii biyyaa"
},
"setup": {
"title": "Waa'ee kee nutti himi",
@@ -213,7 +214,14 @@
"fwd10": "Sekondii 10 fuulduratti",
"fullscreen": "Guutuu iskiriinii",
"contents": "Qabiyyee",
- "progress": "Barnoota {total} keessaa {done} xumurameera"
+ "progress": "Barnoota {total} keessaa {done} xumurameera",
+ "nowPlaying": "Amma taphachaa jira",
+ "upNext": "Kan itti aanu",
+ "courseProgress": "Koorsiin {pct}% xumurameera",
+ "courseDoneT": "Koorsiin xumurameera",
+ "courseDone": "{course} xumurteetta. Bara baraan kan kee ta'a; yeroo barbaadde barnoota kamittuu deebi'i.",
+ "seeProgress": "Guddina koo ilaali",
+ "markWatched": "Akka ilaalameetti mallatteessi (agarsiisa)"
},
"my": {
"title": "Koorsiiwwan koo",
diff --git a/packages/i18n/messages/ti.json b/packages/i18n/messages/ti.json
index e563b05..164bb58 100644
--- a/packages/i18n/messages/ti.json
+++ b/packages/i18n/messages/ti.json
@@ -93,7 +93,8 @@
"continueAs": "Continue as {name}",
"or": "or",
"sideTitle": "Learn makeup from working artists",
- "sideBody": "Video lessons in Amharic, Afaan Oromoo, Tigrinya and English. Pay once and keep the course for life."
+ "sideBody": "Video lessons in Amharic, Afaan Oromoo, Tigrinya and English. Pay once and keep the course for life.",
+ "countryCode": "ኮድ ሃገር"
},
"setup": {
"title": "ብዛዕባኻ ንገረና",
@@ -213,7 +214,14 @@
"fwd10": "10 ካልኢት ንቕድሚት",
"fullscreen": "ምሉእ ስክሪን",
"contents": "ትሕዝቶ",
- "progress": "ካብ {total} ትምህርትታት {done} ተወዲኦም"
+ "progress": "ካብ {total} ትምህርትታት {done} ተወዲኦም",
+ "nowPlaying": "ሕጂ ይርአ ኣሎ",
+ "upNext": "ቀጻሊ",
+ "courseProgress": "ኮርስ {pct}% ተወዲኡ",
+ "courseDoneT": "ኮርስ ተወዲኡ",
+ "courseDone": "{course} ወዲእኪ። ንሓዋሩ ናትኪ እዩ፣ ኣብ ዝደለኽዮ ግዜ ናብ ዝኾነ ትምህርቲ ተመለሲ።",
+ "seeProgress": "ምዕባለይ ርአ",
+ "markWatched": "ከም ዝተራእየ ምልክት ግበር (ማርኣያ)"
},
"my": {
"title": "ናተይ ኮርሳት",