Commit Graph

12 Commits

Author SHA1 Message Date
9ccd21584f fix(build): use the real API by default so the CI build works
The CI server runs a plain `next build` in apps/demo; it never reads vercel.json, so
`app:build` and its API URL were skipped. With no URL the app fell back to the demo data
source, which only works inside the hosted artifact sandbox, and rezina.yaltopia.com
showed "0 courses".

- the API URL is now the default in apps/demo/app/page.tsx; any plain build uses it
- NEXT_PUBLIC_LMS_API still overrides it (e.g. staging); set empty, it keeps demo data
- `demo:build` sets it empty: the artifact sandbox can't reach outside servers
  (artifact check: no network attempts)
- `app:build` is now just the plain build; README updated
2026-11-03 17:35:11 +03:00
8ba936baae feat(api): connect the student app to the Rezina API
ApiDataSource maps the Go API onto the existing DataSource, so the screens are unchanged.
Build with NEXT_PUBLIC_LMS_API=https://api.rezina.yaltopia.com to use it; without it the
demo keeps its own data.

Verified against the live API (public, no sign-in):
- catalog and course outlines: courses, chapters, lessons, lesson notes, covers
- FREE lessons (and every lesson of a FREE course) play for anyone; a free course offers
  "Start lesson 1" instead of a disabled buy button

Built from the spec, not yet tested with a real account:
- sign-in: phone code (login or register) and email + password, token refresh, sign-out
- profile, progress summary (owned courses, completed lessons), lesson video URLs
- video heartbeat, notifications (list, read/unread), issue reports, profile updates

Not on the API yet, so left on hold: per-course prices and purchases (buying shows the
"not connected" message), translations, categories, teacher, durations, prerequisites,
chapter quizzes, Google/Apple sign-in.

Screens now hide what a course doesn't have instead of showing it empty: category pill,
teacher line and creator row, "0 min" durations, an empty card footer. Lessons with a
Vimeo link play that video; the sample clip and "mark as watched" stay for lessons
without one.

Mapping checks (packages/data/src/api.check.ts) run in `pnpm test` against saved live
responses.
2026-11-02 14:23:47 +03:00
42a85447bf feat(waitlist): polish material interactions 2026-10-21 21:07:05 +03:00
c6dc5d46a8 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 <noreply@anthropic.com>
2026-10-20 15:05:39 +03:00
270d36a237 feat(waitlist): SMS or email signup, motion, portrait reel, contact footer
- Hero toggle: SMS (default, international picker) or Email; step 2 asks only the name
- Apps Script accepts either contact, dedupes on email or phone (checks updated)
- Headline words rise in, sections and course photos reveal on scroll, hero photos drift
- Portrait reel under the hero; courses swipe on phones; Why us as big numbers on hairlines
- Footer: landing-style card with Contact us (Telegram, phone, email), credits, Powered by Yaltopia Tech

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 14:20:33 +03:00
92cc6a8ddf feat: mobile-first landing pass, lesson bar, dark default, simulated courses
Inspo MCP references: Hyper Effekt / Ferrari (photo hero), Coursera / Babbel (phone rails).
- Hero: headline set on a full-bleed, slowly scrolling reel of portraits
- How it works + payment panels replaced by three photo step cards; pay marks inside step 2
- Phones: category and step cards swipe as rails, stats in one row, header fits 360-390px
- Lesson bar (Previous / n of N / Next lesson) replaces the app tabs inside a course below 1024px;
  app tabs show only when signed in
- Header logo crossfades from wordmark to monogram on scroll
- Language picker is one dropdown (header and footer)
- Dark theme by default; saved choice still wins
- Demo banner removed
- Footer: "Powered by Yaltopia Tech" with a shine sweep
- Seed: three more simulated courses (soft glam, traditional Habesha, building your clientele)
- artifact-check: data: URIs (the favicon) aren't network requests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 12:00:24 +03:00
81e27661e1 feat: Sirkul brand, landing refresh, new footer, international waitlist phone
- Sirkul logo everywhere (header wordmark, phone monogram, favicon, footer); brand name "Sirkul Makeup"
- One font (Plus Jakarta Sans) across app and waitlist; cursive serif removed
- Habesha model photos from Wikimedia Commons (CC BY-SA, credited in footer and waitlist)
- Landing: light/dark theme toggle, live waitlist pill, photo category cards,
  how-it-works + grouped payment panel, photo CTA; less emphasis on languages
- Footer: framed card with starter-kit list (IconPark icons), student-work photo reel, credits
- Waitlist: international country-code picker, live "people waiting" pill fed by a
  doGet signup count in the Apps Script (count only, no personal data)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 11:22:28 +03:00
629403da0b feat(waitlist): save signups to a Google Sheet via Apps Script
Server-side validation, email dedupe under a script lock, formula-injection
guard, honeypot field. The page posts text/plain so no CORS preflight is
needed. tools/waitlist-check.mjs runs the script against stub services.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 01:33:46 +03:00
69cb247d8e feat: waitlist page for launch signups (name, email, phone)
Standalone page served at /waitlist/. Phone numbers are normalised to E.164
(+251 for local numbers). ENDPOINT must be set before public use; until
then signups are kept only in the visitor's browser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 22:17:29 +03:00
62ea6de365 feat(demo): Summer Ocean Breeze palette, placeholder logo, refreshed landing page
White base with navy text, punch-red calls to action and blue UI states;
placeholder logo mark and favicon; light theme pinned for the Vercel site.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 13:28:01 +03:00
afa77f5cca feat(demo): cleaner UI, sign-in page with student/admin switch, English default
- Navbar: brand | links | language, notifications, account menu
- Landing and course page redesigned (hero, stats bar, categories,
  breadcrumb course page with chapter accordion sidebar)
- Sign-in page with Student and Admin tabs; admin screens need an
  admin sign-in on top of edit access
- Admin dashboard: 4 stat cards, the rest in tabs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 01:35:24 +03:00
118d26d158 feat: Phase 0 Claude-hosted demo of the e-learning platform
Spec v1.2, Logosmental-based design direction and tokens, pnpm monorepo
(apps/demo, packages/data|features|i18n|db/seed), student + admin screens
in 4 locales, simulated ArifPay checkout on the real order state machine,
artifact inline/check tools, domain rule checks and UI audit fixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 23:57:11 +03:00