Context
The first landing page was an agency-style rebuild of the Rayo template: oversized display type, 60–80 px corners, a lavender/lime accent pair and a pinned scroll section. It made a strong pitch page, but the product is a course platform with catalogues, course pages, dashboards and forms, and none of those screens existed in that language. The team chose the LearnUp education template (Themezhub, themezhub.net/learnup-2.1) as the mockup for every screen the features will need.
LearnUp is a paid template. The repository is shown publicly at the defence, and the README already promises that no template code is redistributed.
Decision
- LearnUp is a design reference, not a source. We rebuild its layouts, spacing, component shapes and interactions in our own stack (Next.js, Tailwind v4,
tokens.css). No LearnUp HTML, CSS, JavaScript, image or font is committed. Content is SmartLearn's own, in Vietnamese, and photography stays CC0. - Tokens take LearnUp's measured values, keeping the token names so existing code still compiles: white surface,
#f8f9fatint bands, navy headings#00305c, slate body#334155, accent blue#0068d9, green#4caf84, navy footer#13293d,#dee2e6borders; Bootstrap-scale radii (4 / 6 / 8 / 12 / 16 px); soft navy shadows; a 1320 px container. - Buttons are no longer fully round. They use the 6 px corner (
rounded-sm);pillis kept for nav calls to action, the hero search button and badges. - Be Vietnam Pro replaces Outfit. LearnUp sets everything in Outfit, which has no Vietnamese subset, so diacritics would fall back to another face mid-word.
- Light stays the default (ADR-0008). LearnUp has no dark theme; ours keeps one, derived from the same palette.
- Scope of the mockup: home, course list, course detail, instructor profile, sign-in, register, 404, student dashboard and course resume, profile, settings, instructor dashboard and create course. Shop, cart, checkout, payout and the alternate home layouts are out: SmartLearn has no feature behind them. Pages run on typed mock data in
apps/web/src/lib/mock/until their API lands.
Alternatives considered
- Keep Rayo and design the inner screens ourselves. Two design languages, and the agency look does not scale down to tables and forms.
- Copy LearnUp's files. Fastest and pixel-exact, but it redistributes a paid template in a public repository and drags Bootstrap and jQuery in beside Tailwind.
Consequences
DESIGN-DNA.mdis rewritten around LearnUp. The Rayo hero video and CTA background, which were placeholders of unverified licence, are deleted.- Only one LearnUp page (student course resume) could be measured directly: the demo host shows a bot check to automated browsers, and we do not work around it. Global values come from that page; the other pages follow LearnUp's layouts through the same token set. Before the final defence, re-measure any page that looks off against the live demo in a normal browser.
- When a mocked page is wired to the API, its mock shape moves to
packages/sharedas a Zod schema.