Repository navigation
Description
Why
The owner wants the new front door to feel like the cinematic marketing site, so that signing in and setting up reads as one continuous story with dupezero.com.
The two first-time paths also have to feel different within the first second, so nobody wonders whether they're in the right place:
/welcome(founder): "build something new". Empty ground, and records arriving./join(member): "step into a living workspace". The org's name, and its records making room.
Design decision, recorded here. The owner chose on 2026-11-28 to extend the marketing visual exception (brand blue, the Meridian Supply story, scenes) to the (auth) pages, /welcome, /join and the tour intro card in #1404. Coachmarks inside the app stay grayscale (#1405). This ticket updates the rules so the exception is written down and not just assumed.
What the user sees
-
/login. Meridian Supply's scattered records drift together behind the sign-in card and settle into one golden record. It plays once, with Replay.- The primary button is "Continue with Google".
- "Use email and password" opens the existing form.
- Each
?error=shows its one-line message.
-
/welcomehas five beats. Each advances only on a real event:- "Signed in as [email protected]". The identity card arrives.
- Name your workspace, with a live slug preview under the field.
- "What do you deduplicate?" Two choices, People or Accounts, each drawn with the record marks.
- The provisioning scene. Each piece lands only when
/api/auth/signup/statusreports that phase: the registry row, config, dataset, keys and active. Nothing is faked. - "Your workspace is ready", leading into the founder tour offer (First-run state and the tour offer, per user per workspace #1404).
-
/joinhas four beats:- The invite card: the workspace's name, the role, and who invited you.
- One line on what that role can do:
- Viewer: "see results and records".
- Steward: "review and decide matches".
- Admin: "configure, invite and manage keys".
- Join.
- Land in the workspace, leading into the member tour offer.
The workspace's existing records shuffle to make a space for the newcomer.
How
- Scope the tokens. The pages render inside a
.marketing-sitewrapper, sostory.csstokens apply. Do not put brand tokens intoglobals.css. - Reuse, don't rebuild.
ScenePlayback(frontend/src/components/marketing/scene/scene-playback.tsx) for the login poster.marks.tsxandmeridian.tsfor records and values.- The click-driven clock pattern from
demo/audit-story.tsxfor beats that advance on events. - Follow the stageshow skill's workflow: plan, copy the closest gold example, build with
kit/, rehearse.
- Drive the motion from state, not from time. Each
/welcomebeat is a state; transitions are triggered by user input or a status-phase change. If a phase arrives before its animation would finish, jump to it; never queue animations up. - Craft rules from the house traps. These are mandatory:
- About 8 keyframes or fewer per element, and only
transformandopacity. WebKit re-resolves keyframes on every frame (flow-keyframes.ts). - Never swap in-flow elements at hydration. Lay interactive controls over the text instead (landing-page skill).
- Every beat has a reduced-motion poster that reads on its own.
- At 390px wide, a compact layout with no horizontal scroll.
- Every target is 44px.
- Only
--foregroundtext may take opacity.
- About 8 keyframes or fewer per element, and only
- Login page. Keep the existing
Card,InputandButtonform, moved behind the disclosure. Don't fork it. - Marketing CTAs. "Get started" and "Try it" go to
/login?intent=signup. Withintent=signup, the login headline reads "Create your workspace". - Update the written rules in this PR.
- Name the new exception's scope in the
landing-pageskill, thefrontend-design-systemskill (§3.3 exceptions) andCLAUDE.md's paragraph on the marketing exceptions. - Change
docs/feature-inventory.md:158("There is no sign-up") to describe Google signup.
- Name the new exception's scope in the
- Rehearsal.
scripts/film.mjs --gateat the shown width and at 390, ending inrehearsal passed. AddREHEARSAL.mdnext to the components.
Acceptance criteria
- The axe
SCREENSsweep covers/login(anonymous) and every/welcomeand/joinbeat, with no serious or critical violations. - Visual baselines, scoped to sections and never
fullPage, in both themes, for: the login poster, each/welcomebeat poster, and/join. - Reduced motion: no animation runs, and every beat's poster is visible and complete.
- The whole flow can be completed by keyboard alone, and keyboard-triggered steps don't animate (
motion-guard.spec.ts). - WebKit (
mobile-safari) holds 60fps through the login scene and the provisioning scene, measured with the frame probe used on the cinematic epic. - The provisioning scene never shows a phase before the status endpoint reports it. A test stubs a slow phase and asserts the scene waits.
- At 390px there's no horizontal scroll (
scrollWidth <= innerWidth). - The landing-page, frontend-design-system and CLAUDE.md exception wording has been updated, and
make skills-checkpasses. -
make frontendpasses.
Out of scope
- Coachmarks inside the app (Tour engine: in-app coachmarks that follow real actions #1405).
- Any change to the marketing home page beyond the CTA target.
Depends on
#1400 (/join logic) and #1402 (status endpoint). The login restyle can start after #1399.
Where to start
frontend/src/components/marketing/scene/:scene-playback.tsx,marks.tsx,meridian.ts,scene.css.frontend/src/components/marketing/demo/audit-story.tsx.frontend/src/components/marketing/story.css.frontend/src/app/(auth)/login/page.tsx.- Skills:
stageshow,landing-page,frontend-design-system(references/motion.md),frontend-testing.
Estimate: 1.5 engineer-weeks.
Part of the E31 epic (#1396) (linked as parent). Decisions recorded 2026-11-28 with the owner.
Activity