-
{t('course.ready')}
{t('course.readyBody', { min: Math.max(1, Math.round(first.durationSec / 60)) })}
-
+
+
+
+
+
+ {c.status === 'ARCHIVED' &&
}
+
{text.title}
+ {text.subtitle &&
{text.subtitle}
}
-
- )}
- >
+
+ {lessons.length}{t('course.lessonsLabel')}
+ {formatDuration(courseDuration(c))}{t('course.duration')}
+ {LOCALE_NAMES[c.instructionLocale]}{t('course.language')}
+ {fmtDate(c.updatedAt)}{t('course.lastUpdated')}
+
+
+
+
+ {play && }
+
+
+
+
+ {pre && !preDone &&
{t('course.prereq', { title: ct(pre, locale).title })}
}
+
{tabs.map(([k, label]) => )}
+ {tab === 'overview' &&
+
+ {text.description &&
{text.description}
}
+ {text.audience &&
{t('course.audience')}: {text.audience}
}
+
+
+ - {t('course.instructor')}
- {c.instructorName}
+ - {t('course.lessonsLabel')}
- {lessons.length}
+ - {t('course.duration')}
- {formatDuration(courseDuration(c))}
+ - {t('course.language')}
- {LOCALE_NAMES[c.instructionLocale]}
+ - {t('course.access')}
- {t('course.lifetime')}
+
+
}
+ {tab === 'outcomes' &&
{text.outcomes?.map((o, i) => - {o}
)}
}
+ {tab === 'instructor' &&
{initials(c.instructorName)}{c.instructorName}{t('course.teaches', { n: teaches })}
}
+
+
+
+
+
);
}
@@ -773,13 +869,16 @@ function Help() {
// ---------------------------------------------------------------- sign in (simulated OTP) + profile setup
-function SignIn() {
+function SignIn({ tab: tabParam }: { tab?: string }) {
const t = useTranslations();
- const { viewer, me, ready, signIn, nav, locale } = useApp();
+ const { viewer, me, ready, signIn, nav, locale, setRole } = useApp();
+ const tab = tabParam === 'admin' ? 'admin' : 'student';
const [mode, setMode] = useState<'phone' | 'email'>('phone');
const [phone, setPhone] = useState('');
const [email, setEmail] = useState('');
const [pw, setPw] = useState('');
+ const [adminEmail, setAdminEmail] = useState('admin@makeup.academy');
+ const [adminPw, setAdminPw] = useState('');
const [step, setStep] = useState<'start' | 'code' | 'setup'>('start');
const [code, setCode] = useState('');
const [entered, setEntered] = useState('');
@@ -788,7 +887,6 @@ function SignIn() {
const [err, setErr] = useState('');
useEffect(() => { if (wait <= 0) return; const id = setTimeout(() => setWait((w) => w - 1), 1000); return () => clearTimeout(id); }, [wait]);
if (!ready) return
;
- if (!viewer?.id) return
{t('auth.noIdentity')};
const target = mode === 'phone' ? `+251 ${phone}` : email;
const send = () => {
setErr('');
@@ -803,32 +901,64 @@ function SignIn() {
if (entered !== code) { const left = tries - 1; setTries(left); setErr(left ? t('auth.wrongCode', { n: left }) : t('auth.locked')); return; }
if (me && !me.deletedAt) { signIn(); nav(`/${locale}`); } else setStep('setup');
};
+ // Demo admin sign-in: the real gate is the viewer's edit access; the password is only checked for shape.
+ const adminSubmit = (e: React.FormEvent) => {
+ e.preventDefault(); setErr('');
+ if (!viewer?.canEdit) { setErr(t('auth.adminNoAccess')); return; }
+ if (!/^[^@\s]+@[^@\s]+\.[^@\s]+$/.test(adminEmail)) { setErr(t('auth.emailInvalid')); return; }
+ if (!validPassword(adminPw)) { setErr(t('auth.passwordShort')); return; }
+ setRole('admin'); nav('/admin');
+ };
+ const switchTab = (k: string) => { setErr(''); setStep('start'); nav(`/${locale}/signin${k === 'admin' ? '/admin' : ''}`); };
if (step === 'setup') return
;
return (
-
- {step === 'start' ? : }
+
+
+
ሜ
+
{t('auth.sideTitle')}
+
{t('auth.sideBody')}
+
{['fact1', 'fact2', 'fact3'].map((k) => - {t(`landing.${k}`)}
)}
+
+
+
+
+
+
+ {tab === 'admin' ?
: !viewer?.id ?
{t('auth.noIdentity')} : step === 'start' ?
:
}
+
);
}
diff --git a/packages/features/src/styles.css b/packages/features/src/styles.css
index 2bd06f7..ddd6f9b 100644
--- a/packages/features/src/styles.css
+++ b/packages/features/src/styles.css
@@ -326,3 +326,173 @@ table.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.btn-sm { min-height: 40px; }
@media (pointer: coarse) { .btn-sm, .controls button, .controls select { min-height: 44px; min-width: 44px; } .lesson-row { min-height: 56px; } }
.pay-logo { gap: 10px; }
+
+/* ================= v3: cleaner shell, landing, course page, sign-in (inspo: e-Learning landing, OnlineLMS, Slothui course) ================= */
+:root { --f-head: 'Plus Jakarta Sans', var(--f-latin); --shadow-soft: 0 1px 2px rgba(27, 35, 64, .04), 0 8px 24px rgba(27, 35, 64, .06); --hero-a: #FFF6DA; --hero-b: #F3EEFA; }
+@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --shadow-soft: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); --hero-a: #232a40; --hero-b: #1d2236; } }
+:root[data-theme="dark"] { --shadow-soft: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); --hero-a: #232a40; --hero-b: #1d2236; }
+h1:lang(en), h2:lang(en), h3:lang(en), h1:lang(om), h2:lang(om), h3:lang(om), .a-shell h1, .a-shell h2, .brand { font-family: var(--f-head); letter-spacing: -.01em; }
+.btn-lg { min-height: 50px; padding: 0 24px; font-size: var(--fs-base); }
+.stack-lg { display: flex; flex-direction: column; gap: 24px; }
+.card { box-shadow: var(--shadow-soft); border-color: transparent; }
+.lesson-row { border-radius: var(--r-sm); }
+
+/* navbar: brand | links | actions */
+.s-top { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); }
+.s-top-in { max-width: 1200px; min-height: 64px; padding: 8px 20px; }
+.s-nav { margin-left: 24px; }
+.s-nav button { padding: 8px 14px; font-weight: 600; color: var(--ink-3); position: relative; }
+.s-nav button:hover { color: var(--ink); }
+.s-nav button[aria-current="page"] { background: none; color: var(--ink); }
+.s-nav button[aria-current="page"]::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent); }
+.s-actions { gap: 8px; }
+.lang-pick { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 6px 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink-2); cursor: pointer; }
+.lang-pick select { border: 0; background: transparent; font-size: var(--fs-sm); font-weight: 700; cursor: pointer; max-width: 120px; padding: 4px 2px; }
+.lang-pick:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
+.menu { position: relative; }
+.menu > summary { list-style: none; cursor: pointer; }
+.menu > summary::-webkit-details-marker { display: none; }
+.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-weight: 700; font-size: var(--fs-sm); overflow: hidden; flex: none; }
+.avatar img { width: 100%; height: 100%; object-fit: cover; }
+.avatar-lg { width: 56px; height: 56px; font-size: var(--fs-lg); background: var(--tone-plum); color: var(--ink); }
+.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-pop); padding: 6px; display: flex; flex-direction: column; z-index: 30; }
+.menu-head { display: flex; flex-direction: column; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
+.menu-pop button { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer; text-align: left; font-weight: 600; color: var(--ink-2); }
+.menu-pop button:hover { background: var(--mist); color: var(--ink); }
+.menu-pop button:last-child { border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); margin-top: 4px; }
+@media (max-width: 600px) { .lang-pick { padding: 0 4px 0 10px; } .lang-pick select { max-width: 76px; } }
+
+/* landing */
+.s-main { max-width: 1200px; padding-left: 20px; padding-right: 20px; gap: 64px; }
+.l-hero { margin: -24px calc(50% - 50vw) 0; padding: 48px max(20px, calc(50vw - 580px)) 72px; background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); }
+.l-hero-in { display: grid; gap: 40px; align-items: center; }
+@media (min-width: 900px) { .l-hero-in { grid-template-columns: 1.05fr 1fr; } }
+.l-hero h1 { font-size: clamp(34px, 5.6vw, 58px); line-height: 1.12; max-width: 15ch; }
+.l-hero h1:lang(am), .l-hero h1:lang(ti) { line-height: 1.35; }
+.l-hero .lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 46ch; }
+.eyebrow-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--paper); font-size: var(--fs-sm); font-weight: 700; box-shadow: var(--shadow); }
+.eyebrow-pill svg { color: var(--accent); }
+.play-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
+.hero-art { position: relative; padding: 24px 0 24px 24px; }
+.hero-frame { position: relative; display: block; width: 100%; border: 0; padding: 10px; background: var(--paper); border-radius: 24px; box-shadow: var(--shadow-pop); cursor: pointer; transform: rotate(1.5deg); }
+.hero-frame .cover { aspect-ratio: 4 / 3; border-radius: 16px; padding: 28px; }
+.hero-frame .cover .ttl { font-size: clamp(26px, 3.4vw, 40px); }
+.play-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #1B2340; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); padding-left: 4px; transition: transform .2s; }
+.hero-frame:hover .play-big, .c-screen:hover .play-big { transform: translate(-50%, -50%) scale(1.08); }
+.float { position: absolute; background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow-pop); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
+.float-a { left: 0; bottom: 0; align-items: flex-start; } .float-a strong { font-size: var(--fs-xl); line-height: 1; } .float-a span { font-size: 12px; color: var(--ink-3); }
+.float-b { right: -8px; top: 0; max-width: 240px; }
+.float-b strong { font-size: var(--fs-sm); }
+@media (max-width: 600px) { .hero-art { padding: 16px 0 28px; } .float-a { left: -4px; } .float-b { right: 0; } .hero-frame { transform: none; } }
+.statbar { margin-top: -104px; position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); padding: 8px; }
+@media (min-width: 760px) { .statbar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
+.statbar > div { display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-width: 0; }
+.statbar strong { display: block; font-size: var(--fs-xl); font-family: var(--f-head); line-height: 1.1; }
+.statbar span { font-size: var(--fs-sm); color: var(--ink-3); }
+.stat-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--ink) !important; }
+.section-c { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
+.section-c h2, .section-h h2 { font-size: clamp(25px, 3vw, 34px); }
+.section-c p { color: var(--ink-3); max-width: 52ch; }
+.section-h { align-items: flex-end; }
+.cat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
+.cat-card { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; text-align: left; padding: 22px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); cursor: pointer; transition: box-shadow .2s, transform .2s; }
+.cat-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); border-color: transparent; }
+.cat-card h3 { font-size: var(--fs-lg); margin-top: 6px; }
+.cat-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); }
+.cat-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: var(--fs-sm); margin-top: 4px; }
+.how-panel { display: grid; gap: 32px; padding: 32px; border-radius: 24px; background: var(--canvas); }
+@media (min-width: 900px) { .how-panel { grid-template-columns: 2fr 1fr; align-items: end; } }
+.how-panel h2 { font-size: var(--fs-xl); }
+.steps { padding: 0; margin: 0; }
+.steps li { background: var(--paper); }
+.cta-band { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding: 36px; border-radius: 24px; background: var(--ink); color: var(--on-ink); }
+.cta-band h2 { font-size: var(--fs-xl); } .cta-band p { opacity: .8; }
+
+/* course cards */
+.ccard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; gap: 0; transition: box-shadow .2s, transform .2s; }
+.ccard:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); border-color: transparent; }
+.ccard:hover h3 { text-decoration: none; }
+.ccard-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 8px 6px; min-width: 0; }
+.ccard .meta { display: flex; gap: 14px; flex-wrap: wrap; }
+.ccard .meta > span { display: inline-flex; align-items: center; gap: 5px; }
+.ccard-by { font-size: var(--fs-sm); color: var(--ink-2); }
+.ccard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }
+.ccard-cta { font-size: var(--fs-sm); font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); }
+.ccard:hover .ccard-cta { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
+@media (max-width: 599px) {
+ .ccard { padding: 8px; grid-template-columns: 96px 1fr; gap: 0 12px; }
+ .ccard .cover { grid-row: auto; }
+ .ccard-body { padding: 2px 0; gap: 4px; } .ccard-by { display: none; } .ccard-foot { padding-top: 8px; } .ccard-cta { display: none; }
+}
+
+/* course page */
+.c-page { display: flex; flex-direction: column; gap: 20px; }
+.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ink-3); font-size: var(--fs-sm); }
+.crumbs button { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink-3); font-weight: 600; display: inline-flex; }
+.crumbs button:hover { color: var(--ink); }
+.crumbs button[aria-current="page"] { color: var(--ink); }
+.c-layout { display: grid; gap: 28px; align-items: start; }
+@media (min-width: 1024px) { .c-layout { grid-template-columns: minmax(0, 1fr) 380px; } .c-side { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; } }
+.c-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
+.c-main h1 { font-size: clamp(30px, 4vw, 42px); }
+.c-sub { font-size: var(--fs-lg); color: var(--ink-2); }
+.c-meta { display: flex; flex-wrap: wrap; gap: 16px 32px; padding: 0; margin: 0; }
+.c-meta li { list-style: none; display: flex; gap: 10px; align-items: flex-start; }
+.c-meta li > svg { color: var(--ink-3); margin-top: 2px; }
+.c-meta strong { display: block; } .c-meta span { font-size: var(--fs-sm); color: var(--ink-3); }
+.c-media { border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-soft); overflow: hidden; }
+.c-screen { position: relative; display: block; width: 100%; border: 0; padding: 0; cursor: pointer; background: none; }
+.c-screen[disabled] { cursor: default; }
+.c-screen .cover { aspect-ratio: 16 / 8; border-radius: 0; padding: 32px; }
+.c-screen .cover .ttl { font-size: clamp(28px, 4vw, 48px); }
+.c-actions { display: flex; align-items: center; gap: 8px; padding: 8px 12px; flex-wrap: wrap; }
+.c-overview { display: grid; gap: 28px; }
+@media (min-width: 760px) { .c-overview { grid-template-columns: 1.3fr 1fr; } }
+.c-summary { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 4px 18px; background: var(--canvas); border-radius: var(--r-lg); align-self: start; }
+.c-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
+.c-summary > div:last-child { border-bottom: 0; }
+.c-summary dt { display: flex; gap: 8px; align-items: center; color: var(--ink-3); }
+.c-summary dd { margin: 0; font-weight: 700; text-align: right; }
+.c-side { display: flex; flex-direction: column; gap: 16px; }
+.buybox { position: static; }
+.c-content { padding: 0; overflow: hidden; }
+.c-content-h { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
+.c-content-h h2 { font-size: var(--fs-lg); }
+.ch { border-bottom: 1px solid var(--line); }
+.ch:last-child { border-bottom: 0; }
+.ch > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 20px; cursor: pointer; }
+.ch > summary::-webkit-details-marker { display: none; }
+.ch > summary strong { display: block; }
+.ch > summary svg { color: var(--ink-3); transition: transform .2s; flex: none; }
+.ch[open] > summary svg { transform: rotate(180deg); }
+.ch > summary:hover { background: var(--canvas); }
+.ch .lesson-row { padding: 12px 20px; border-radius: 0; }
+.ch .lesson-row[aria-current="true"] { box-shadow: inset 3px 0 0 var(--accent); }
+.tab-n { margin-left: 6px; background: var(--alert); color: #fff; font-size: 11px; border-radius: 9px; padding: 1px 6px; }
+
+/* sign-in */
+.auth { display: grid; width: 100%; max-width: 980px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-soft); }
+@media (min-width: 860px) { .auth { grid-template-columns: 1fr 1.1fr; min-height: 560px; } }
+.auth-side { background: linear-gradient(160deg, var(--ink), #2A3356); color: #fff; padding: 40px; display: flex; flex-direction: column; gap: 16px; justify-content: flex-end; }
+.auth-side .brand-mark { background: var(--accent); color: #1B2340; margin-bottom: auto; }
+.auth-side h2 { font-size: var(--fs-2xl); color: #fff; } .auth-side p { opacity: .8; }
+.auth-side .facts { color: rgba(255, 255, 255, .85); flex-direction: column; } .auth-side .facts svg { color: var(--accent); }
+@media (max-width: 859px) { .auth-side { display: none; } }
+.auth-main { padding: 36px clamp(20px, 5vw, 48px); display: flex; flex-direction: column; gap: 24px; justify-content: center; }
+.auth-main h1 { font-size: var(--fs-2xl); }
+.auth-h2 { font-size: var(--fs-base); color: var(--ink-2); }
+.auth-tabs { align-self: flex-start; }
+.auth-tabs button { padding: 8px 18px; }
+.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: var(--fs-sm); }
+.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
+
+/* admin */
+.stats-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
+@media (min-width: 1100px) { .stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
+.stat { box-shadow: var(--shadow-soft); border-color: transparent; }
+.a-tabs { gap: 18px; }
+.a-tabs .a-card { border: 0; padding: 0; box-shadow: none; }
+.a-tabs .a-card > .row-between h2 { display: none; }
+.a-tabs .stats .stat { box-shadow: none; border: 1px solid var(--line); }
+.a-out { background: rgba(255, 255, 255, .12); color: inherit; }
+@media (max-width: 899px) { .l-hero { padding-bottom: 32px; } .statbar { margin-top: -8px; } }
diff --git a/packages/features/src/ui.tsx b/packages/features/src/ui.tsx
index 58e7dd0..a4ef3f2 100644
--- a/packages/features/src/ui.tsx
+++ b/packages/features/src/ui.tsx
@@ -40,6 +40,14 @@ const PATHS: Record = {
forward: 'M13 19l9-7-9-7zM2 19l9-7-9-7z',
expand: 'M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5',
comment: 'M4 4h16v12H8l-4 4z',
+ globe: 'M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18zM3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18',
+ clock: 'M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18zM12 7v5l3 2',
+ calendar: 'M4 6h16v14H4zM4 10h16M8 3v4M16 3v4',
+ share: 'M4 12v7a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7M16 6l-4-4-4 4M12 2v13',
+ video: 'M3 6h12v12H3zM15 10l6-3v10l-6-3',
+ logout: 'M15 4h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4M10 17l5-5-5-5M15 12H3',
+ sparkle: 'M12 3l2 6 6 2-6 2-2 6-2-6-6-2 6-2z',
+ brush: 'M14 4l6 6-8 8-6-6zM6 12l-3 7 7-3',
};
export function Icon({ name, size = 20, label }: { name: keyof typeof PATHS | string; size?: number; label?: string }) {
diff --git a/packages/i18n/messages/am.json b/packages/i18n/messages/am.json
index 53c780c..06776e4 100644
--- a/packages/i18n/messages/am.json
+++ b/packages/i18n/messages/am.json
@@ -22,7 +22,11 @@
"notifications": "ማሳወቂያዎች",
"signIn": "ግባ",
"signOut": "ውጣ",
- "admin": "የአስተዳዳሪ ገጽ"
+ "admin": "የአስተዳዳሪ ገጽ",
+ "getStarted": "ይጀምሩ",
+ "adminSignIn": "የአስተዳዳሪ መግቢያ",
+ "account": "መለያ",
+ "progress": "የእኔ እድገት"
},
"landing": {
"title": "ሙያዊ ሜካፕን በራስዎ ቋንቋ ይማሩ",
@@ -39,7 +43,19 @@
"fact2": "አንድ ጊዜ ይክፈሉ፣ ለዘላለም ይጠቀሙ",
"fact3": "ነጻ የሙከራ ትምህርቶች",
"from": "ከ{price} ጀምሮ",
- "footer": "ለሜካፕ ባለሙያዎች የቪዲዮ ኮርሶች፣ በስልክዎ።"
+ "footer": "ለሜካፕ ባለሙያዎች የቪዲዮ ኮርሶች፣ በስልክዎ።",
+ "eyebrow": "የሜካፕ ኮርሶች በ4 ቋንቋዎች",
+ "statCourses": "ኮርሶች",
+ "statLessons": "የቪዲዮ ትምህርቶች",
+ "statHours": "ጠቅላላ ቪዲዮ",
+ "statLanguages": "ቋንቋዎች",
+ "catTitle": "ተወዳጅ ምድቦች",
+ "catLead": "ከመሠረታዊ ነገሮች ይጀምሩ፣ ወይም በቀጥታ ወደ ሙሽራና የቆዳ እንክብካቤ ይሂዱ።",
+ "viewCourses": "ኮርሶችን ይመልከቱ",
+ "viewAll": "ሁሉንም ኮርሶች ይመልከቱ",
+ "featuredLead": "ከባለሙያ የሜካፕ አርቲስቶች የተመረጡ ኮርሶች።",
+ "ctaTitle": "በነጻ የቅድመ እይታ ትምህርት ይጀምሩ",
+ "ctaBody": "ቅድመ እይታ ለማየት መለያ አያስፈልግም። ሲዘጋጁ ብቻ ይክፈሉ።"
},
"auth": {
"phoneTitle": "በስልክዎ ይግቡ",
@@ -62,7 +78,20 @@
"resendIn": "በ{s} ሰከንድ ውስጥ አዲስ ኮድ መላክ ይችላሉ",
"wrongCode": "ኮዱ ትክክል አይደለም። {n} ሙከራ ቀርቷል።",
"locked": "ብዙ የተሳሳቱ ሙከራዎች። አዲስ ኮድ ይላኩ።",
- "noIdentity": "የተማሪ መለያ ለመፍጠር ወደ Claude ገብተው ይህን ማሳያ ይክፈቱ።"
+ "noIdentity": "የተማሪ መለያ ለመፍጠር ወደ Claude ገብተው ይህን ማሳያ ይክፈቱ።",
+ "welcome": "እንኳን ደህና መጡ",
+ "welcomeLead": "ኮርሶችዎን መመልከት ለመቀጠል ይግቡ።",
+ "student": "ተማሪ",
+ "admin": "አስተዳዳሪ",
+ "continueAs": "እንደ {name} ይቀጥሉ",
+ "or": "ወይም",
+ "adminTitle": "የአስተዳዳሪ መግቢያ",
+ "adminLead": "ኮርሶችን፣ ተማሪዎችንና ክፍያዎችን ያስተዳድሩ።",
+ "adminButton": "ወደ አስተዳዳሪ ይግቡ",
+ "adminNoAccess": "ይህ መለያ የአስተዳዳሪ ገጹን መክፈት አይችልም። ባለቤቱን የማስተካከል ፈቃድ ይጠይቁ።",
+ "adminHint": "ማሳያ፦ 8 እና ከዚያ በላይ ፊደላት ያለው ማንኛውም የይለፍ ቃል ይሰራል።",
+ "sideTitle": "ከባለሙያ አርቲስቶች ሜካፕ ይማሩ",
+ "sideBody": "የቪዲዮ ትምህርቶች በአማርኛ፣ በአፋን ኦሮሞ፣ በትግርኛና በእንግሊዝኛ። አንድ ጊዜ ይክፈሉ፣ ኮርሱን ለዘላለም ያቆዩ።"
},
"setup": {
"title": "ስለ እርስዎ ይንገሩን",
@@ -115,7 +144,21 @@
"notFound": "ይህ ኮርስ አይገኝም።",
"sequential": "ትምህርቶች በቅደም ተከተል ይከፈታሉ።",
"completed": "ኮርሱን ጨርሰዋል",
- "watchAgain": "እንደገና ይመልከቱ"
+ "watchAgain": "እንደገና ይመልከቱ",
+ "tabOverview": "አጠቃላይ እይታ",
+ "tabInstructor": "አሠልጣኝ",
+ "summary": "ማጠቃለያ",
+ "duration": "ጠቅላላ ርዝመት",
+ "language": "ቋንቋ",
+ "lastUpdated": "መጨረሻ የተሻሻለው",
+ "lessonsLabel": "ትምህርቶች",
+ "instructor": "አሠልጣኝ",
+ "access": "መዳረሻ",
+ "lifetime": "ለዘላለም",
+ "share": "አጋራ",
+ "linkCopied": "ሊንኩ ተቀድቷል",
+ "teaches": "በMakeUp Academy {n, plural, one {# ኮርስ} other {# ኮርሶች}}",
+ "viewDetails": "ዝርዝር ይመልከቱ"
},
"checkout": {
"title": "የመክፈያ መንገድ ይምረጡ",
diff --git a/packages/i18n/messages/en.json b/packages/i18n/messages/en.json
index a6bef05..bd70a73 100644
--- a/packages/i18n/messages/en.json
+++ b/packages/i18n/messages/en.json
@@ -22,7 +22,11 @@
"notifications": "Notifications",
"signIn": "Sign in",
"signOut": "Sign out",
- "admin": "Admin panel"
+ "admin": "Admin panel",
+ "getStarted": "Get started",
+ "adminSignIn": "Admin sign-in",
+ "account": "Account",
+ "progress": "My progress"
},
"landing": {
"title": "Learn professional makeup, in your language",
@@ -39,7 +43,19 @@
"fact2": "Pay once, keep it for life",
"fact3": "Free preview lessons",
"from": "From {price}",
- "footer": "Video courses for makeup artists, on your phone."
+ "footer": "Video courses for makeup artists, on your phone.",
+ "eyebrow": "Makeup courses in 4 languages",
+ "statCourses": "Courses",
+ "statLessons": "Video lessons",
+ "statHours": "Total video",
+ "statLanguages": "Languages",
+ "catTitle": "Popular categories",
+ "catLead": "Start with the basics, or go straight to bridal and skin work.",
+ "viewCourses": "View courses",
+ "viewAll": "View all courses",
+ "featuredLead": "Hand-picked courses from working makeup artists.",
+ "ctaTitle": "Start with a free preview lesson",
+ "ctaBody": "No account needed to watch a preview. Pay only when you are ready."
},
"auth": {
"phoneTitle": "Sign in with your phone",
@@ -62,7 +78,20 @@
"resendIn": "Send a new code in {s} s",
"wrongCode": "That code is wrong. {n, plural, one {# try} other {# tries}} left.",
"locked": "Too many wrong tries. Send a new code.",
- "noIdentity": "Open this demo while signed in to Claude to create a student account."
+ "noIdentity": "Open this demo while signed in to Claude to create a student account.",
+ "welcome": "Welcome back",
+ "welcomeLead": "Sign in to keep watching your courses.",
+ "student": "Student",
+ "admin": "Admin",
+ "continueAs": "Continue as {name}",
+ "or": "or",
+ "adminTitle": "Admin sign-in",
+ "adminLead": "Manage courses, students and payments.",
+ "adminButton": "Sign in to admin",
+ "adminNoAccess": "This account can’t open the admin panel. Ask the owner for edit access.",
+ "adminHint": "Demo: any password with 8 or more characters works.",
+ "sideTitle": "Learn makeup from working artists",
+ "sideBody": "Video lessons in Amharic, Afaan Oromoo, Tigrinya and English. Pay once and keep the course for life."
},
"setup": {
"title": "Tell us about you",
@@ -115,7 +144,21 @@
"notFound": "This course isn't available.",
"sequential": "Lessons unlock in order.",
"completed": "Course completed",
- "watchAgain": "Watch again"
+ "watchAgain": "Watch again",
+ "tabOverview": "Overview",
+ "tabInstructor": "Instructor",
+ "summary": "Summary",
+ "duration": "Total duration",
+ "language": "Language",
+ "lastUpdated": "Last updated",
+ "lessonsLabel": "Lessons",
+ "instructor": "Instructor",
+ "access": "Access",
+ "lifetime": "Lifetime",
+ "share": "Share",
+ "linkCopied": "Link copied",
+ "teaches": "{n, plural, one {# course} other {# courses}} on MakeUp Academy",
+ "viewDetails": "View details"
},
"checkout": {
"title": "Choose how to pay",
diff --git a/packages/i18n/messages/om.json b/packages/i18n/messages/om.json
index 85503dd..9ff1001 100644
--- a/packages/i18n/messages/om.json
+++ b/packages/i18n/messages/om.json
@@ -22,7 +22,11 @@
"notifications": "Beeksisota",
"signIn": "Seeni",
"signOut": "Ba'i",
- "admin": "Fuula bulchiinsaa"
+ "admin": "Fuula bulchiinsaa",
+ "getStarted": "Get started",
+ "adminSignIn": "Admin sign-in",
+ "account": "Account",
+ "progress": "My progress"
},
"landing": {
"title": "Meekaappii ogummaa afaan keetiin baradhu",
@@ -39,7 +43,19 @@
"fact2": "Al tokko kaffali, bara baraan qabadhu",
"fact3": "Barnoota yaalii bilisaa",
"from": "{price} irraa",
- "footer": "Koorsiiwwan viidiyoo ogeeyyii meekaappiif, bilbila keessan irratti."
+ "footer": "Koorsiiwwan viidiyoo ogeeyyii meekaappiif, bilbila keessan irratti.",
+ "eyebrow": "Makeup courses in 4 languages",
+ "statCourses": "Courses",
+ "statLessons": "Video lessons",
+ "statHours": "Total video",
+ "statLanguages": "Languages",
+ "catTitle": "Popular categories",
+ "catLead": "Start with the basics, or go straight to bridal and skin work.",
+ "viewCourses": "View courses",
+ "viewAll": "View all courses",
+ "featuredLead": "Hand-picked courses from working makeup artists.",
+ "ctaTitle": "Start with a free preview lesson",
+ "ctaBody": "No account needed to watch a preview. Pay only when you are ready."
},
"auth": {
"phoneTitle": "Bilbila keetiin seeni",
@@ -62,7 +78,20 @@
"resendIn": "Sekondii {s} booda koodii haaraa erguu dandeessa",
"wrongCode": "Koodiin sun dogoggora. Yaaliin {n} hafeera.",
"locked": "Yaaliin dogoggoraa baay'ateera. Koodii haaraa ergi.",
- "noIdentity": "Herrega barataa uumuuf Claude'tti seenii agarsiisa kana bani."
+ "noIdentity": "Herrega barataa uumuuf Claude'tti seenii agarsiisa kana bani.",
+ "welcome": "Welcome back",
+ "welcomeLead": "Sign in to keep watching your courses.",
+ "student": "Student",
+ "admin": "Admin",
+ "continueAs": "Continue as {name}",
+ "or": "or",
+ "adminTitle": "Admin sign-in",
+ "adminLead": "Manage courses, students and payments.",
+ "adminButton": "Sign in to admin",
+ "adminNoAccess": "This account can’t open the admin panel. Ask the owner for edit access.",
+ "adminHint": "Demo: any password with 8 or more characters works.",
+ "sideTitle": "Learn makeup from working artists",
+ "sideBody": "Video lessons in Amharic, Afaan Oromoo, Tigrinya and English. Pay once and keep the course for life."
},
"setup": {
"title": "Waa'ee kee nutti himi",
@@ -115,7 +144,21 @@
"notFound": "Koorsiin kun hin argamu.",
"sequential": "Barnoonni tartiibaan bana.",
"completed": "Koorsii xumurteetta",
- "watchAgain": "Irra deebi'ii ilaali"
+ "watchAgain": "Irra deebi'ii ilaali",
+ "tabOverview": "Overview",
+ "tabInstructor": "Instructor",
+ "summary": "Summary",
+ "duration": "Total duration",
+ "language": "Language",
+ "lastUpdated": "Last updated",
+ "lessonsLabel": "Lessons",
+ "instructor": "Instructor",
+ "access": "Access",
+ "lifetime": "Lifetime",
+ "share": "Share",
+ "linkCopied": "Link copied",
+ "teaches": "{n, plural, one {# course} other {# courses}} on MakeUp Academy",
+ "viewDetails": "View details"
},
"checkout": {
"title": "Akkaataa kaffaltii filadhu",
diff --git a/packages/i18n/messages/ti.json b/packages/i18n/messages/ti.json
index 1e7585a..2e3c12a 100644
--- a/packages/i18n/messages/ti.json
+++ b/packages/i18n/messages/ti.json
@@ -22,7 +22,11 @@
"notifications": "መፍለጢታት",
"signIn": "እቶ",
"signOut": "ውጻእ",
- "admin": "ገጽ ምምሕዳር"
+ "admin": "ገጽ ምምሕዳር",
+ "getStarted": "Get started",
+ "adminSignIn": "Admin sign-in",
+ "account": "Account",
+ "progress": "My progress"
},
"landing": {
"title": "ሞያዊ ሜካፕ ብቋንቋኻ ተማሃር",
@@ -39,7 +43,19 @@
"fact2": "ሓንሳብ ክፈል፣ ንዘለኣለም ሓዞ",
"fact3": "ናጻ ናይ ፈተነ ትምህርትታት",
"from": "ካብ {price}",
- "footer": "ንክኢላታት ሜካፕ ናይ ቪድዮ ኮርሳት፣ ኣብ ተሌፎንካ።"
+ "footer": "ንክኢላታት ሜካፕ ናይ ቪድዮ ኮርሳት፣ ኣብ ተሌፎንካ።",
+ "eyebrow": "Makeup courses in 4 languages",
+ "statCourses": "Courses",
+ "statLessons": "Video lessons",
+ "statHours": "Total video",
+ "statLanguages": "Languages",
+ "catTitle": "Popular categories",
+ "catLead": "Start with the basics, or go straight to bridal and skin work.",
+ "viewCourses": "View courses",
+ "viewAll": "View all courses",
+ "featuredLead": "Hand-picked courses from working makeup artists.",
+ "ctaTitle": "Start with a free preview lesson",
+ "ctaBody": "No account needed to watch a preview. Pay only when you are ready."
},
"auth": {
"phoneTitle": "ብተሌፎንካ እቶ",
@@ -62,7 +78,20 @@
"resendIn": "ድሕሪ {s} ካልኢት ሓድሽ ኮድ ክትሰድድ ትኽእል",
"wrongCode": "እቲ ኮድ ጌጋ እዩ። {n} ፈተነ ተሪፉ።",
"locked": "ብዙሕ ጌጋ ፈተነታት። ሓድሽ ኮድ ስደድ።",
- "noIdentity": "ናይ ተማሃራይ ሕሳብ ንምፍጣር ናብ Claude ኣቲኻ እዚ መርኣያ ክፈቶ።"
+ "noIdentity": "ናይ ተማሃራይ ሕሳብ ንምፍጣር ናብ Claude ኣቲኻ እዚ መርኣያ ክፈቶ።",
+ "welcome": "Welcome back",
+ "welcomeLead": "Sign in to keep watching your courses.",
+ "student": "Student",
+ "admin": "Admin",
+ "continueAs": "Continue as {name}",
+ "or": "or",
+ "adminTitle": "Admin sign-in",
+ "adminLead": "Manage courses, students and payments.",
+ "adminButton": "Sign in to admin",
+ "adminNoAccess": "This account can’t open the admin panel. Ask the owner for edit access.",
+ "adminHint": "Demo: any password with 8 or more characters works.",
+ "sideTitle": "Learn makeup from working artists",
+ "sideBody": "Video lessons in Amharic, Afaan Oromoo, Tigrinya and English. Pay once and keep the course for life."
},
"setup": {
"title": "ብዛዕባኻ ንገረና",
@@ -115,7 +144,21 @@
"notFound": "እዚ ኮርስ ኣይርከብን።",
"sequential": "ትምህርትታት ብቕደም ተኸተል ይኽፈቱ።",
"completed": "ኮርስ ወዲእካ",
- "watchAgain": "እንደገና ርአ"
+ "watchAgain": "እንደገና ርአ",
+ "tabOverview": "Overview",
+ "tabInstructor": "Instructor",
+ "summary": "Summary",
+ "duration": "Total duration",
+ "language": "Language",
+ "lastUpdated": "Last updated",
+ "lessonsLabel": "Lessons",
+ "instructor": "Instructor",
+ "access": "Access",
+ "lifetime": "Lifetime",
+ "share": "Share",
+ "linkCopied": "Link copied",
+ "teaches": "{n, plural, one {# course} other {# courses}} on MakeUp Academy",
+ "viewDetails": "View details"
},
"checkout": {
"title": "መንገዲ ክፍሊት ምረጽ",