Context
ADR-0010 rebuilt the LearnUp layouts directly in SmartLearn's token set, with Vietnamese copy and SmartLearn content. The result read as a close cousin of the template rather than the template, and the team judged it less polished. The admin area had the same problem against the Fuse React "Project" dashboard. The UI is still a mockup: no page is wired to the API yet.
Decision
- Two passes. First, reproduce each reference page as faithfully as we can: layout, spacing, type, colours, component anatomy and the demo's own English copy. Second, in a separate pass, adapt the clones to SmartLearn (Vietnamese copy, real features, one token set).
- Route groups keep the two frames apart.
app/(site)renders the LearnUp header and footer around the public site and the student and instructor areas.app/(fuse)renders the Fuse app shell around/admin. - Scoped tokens. The Fuse palette lives in
tokens.cssunder--fz-*withfz-*utilities, applied inside.theme-fuse..theme-learnupswaps the face to Outfit. Both sections are deleted by the adaptation pass. - Still no template files. The licensing line from ADR-0010 holds: no template HTML, CSS, JS, images or fonts are committed. Fonts are the same open Google families (Outfit, Inter); photos are replaced by CC0 images and initial avatars.
- The adapted version is kept in history (commit
a34e449) as the starting point for pass two.
Consequences
- Neither source can be measured by automation: the LearnUp host answers scripts with a bot check, and the Fuse demo requires signing in. Neither is worked around. The LearnUp home follows the page markup the team supplied; Fuse follows a screenshot from a signed-in session and the documented layout of its Project dashboard. Pixel differences are expected until someone compares them in a normal browser session.
- Until pass two, the site mixes English clone copy (home, header, footer, admin) with Vietnamese adapted pages.