Skip to content

feat(studio): rebuild the studio page with a person card per member - #332

Merged
wab merged 24 commits into
mainfrom
cc/j5-studio-page-196ca6
Nov 17, 2026
Merged

wab merged 24 commits into
mainfrom
cc/j5-studio-page-196ca6

Conversation

@wab

@wab wab commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Closes #244.

Rebuilds the studio page against the equipe mockup. Every active Team member gets a PersonCard with all their tools.

What changes

  • Hero: mockup copy. Eyebrow "L'équipe", headline "Des experts / qui ont vécu / vos problèmes." with the last line in mint italic through headlineAccent.mint, the mockup intro, and a "Rencontrer l'équipe" CTA to #equipe. Below it, two tilted rows of member cards scroll in opposite directions, with a visible pause button (WCAG 2.2.2). With reduced motion the rows stop, sit flat and wrap. Below 12 members they are a static grid.
  • Previous companies strip: built from the members' previousCompanies, once each, in member order. One scrolling line with an icon-only pause button. Below 6 companies, a static row.
  • Squad (#squad): mockup copy, "Comment nous travaillons". The three roles with their tags (RevOps Director "Stratégie", RevOps Manager "Builder", RevOps Engineer / Analyst "À la demande"), then the 2-week sprint timeline (planning, build and test, demo and review). ModelSection becomes SquadSection.
  • Expertises (#expertises): one card per published challenge, with the challenge name in a pill of its colour, its promise as the title, then its experts' faces and first names. The whole card links to the challenge page.
  • Team (#equipe): one PersonCard per active member, all tools, previous companies, and the challenge label (reusing challenges:experts.label). The heading is centred.
    • A member without expert fields still gets a card, minus the missing lines.
    • The bio fills the back when there is no contribution, so the back is never empty.
  • Offices (#vie, with scrollMarginTop: '24'): two-column header, a card with the city rows and a France map (decorative, hidden from screen readers), side by side from tablet. Then a photo gallery reusing the jobs page photos, laid out as in the mockup: 4 columns and 220px rows from tablet, 16px gap, the seminar photo over 2 columns and 2 rows. Each photo zooms to 1.05 on hover (mockup 0.6s ease, snapped to the slowest duration and the default curve), with no zoom under reduced motion.
  • Share (#partage): podcast, club and blog cards, tinted as in the mockup. The podcast card uses card({ tone: 'dark' }); the yellow and sky tints stay inline.
  • Closing: the existing contact card, plus a "join us" card in card({ tone: 'dark' }) when the jobs page is on, side by side from tablet.

Shared pieces:

  • preset/recipes/card.ts gets a tone: 'dark' variant (dark background, white text), as decided for the first open question. The /design-system/cards showcase shows it.
  • MemberAvatar is extracted from PersonCard, and the studio hero and expertise cards reuse it.
  • getFirstName goes into app/utils/first-name.ts.
  • resolveExpertFields and toolReporter are exported from app/modules/content/challenge-references.ts. The studio page resolves each member exactly as challenge pages do.
  • buildExpertCard is extracted, so the studio page and the challenge pages build expert cards the same way.
  • app/components/studio/studio-marquee.tsx holds the marquee track and pause button shared by the hero and the companies strip.

Deleted, after a grep showed no other user: app/components/studio/team-member-card.tsx and app/components/studio/team-photo-illustration.tsx. app/components/about/team-member-card.tsx is a different file and stays.

Waiting for Ocobo

Production copy is kept for the team heading and the contact card.

Mockup copy, as decided: the hero (eyebrow, headline, intro, CTA) and the squad section (heading, intro, roles, tags, sprint timeline).

The strings below have no production equivalent either. They come from the mockup, or I wrote them. The English of all mockup copy is my translation, not reviewed.

  • Companies strip label: "Avant Ocobo, nous étions chez".
  • Expertises: heading "Une expertise, des visages" and intro.
  • Offices: heading, intro paragraph (seminar and rituals), card label and heading, the city notes (Paris "Le siège", Bordeaux and Marseille "Depuis 2026"), and the photo alt texts.
  • Share: heading, intro, card labels (Podcast, Communauté, Blog) and CTAs (Écouter, Rejoindre, Lire). Card titles and descriptions reuse the navbar resources copy.
  • Closing: the two eyebrows, and the whole "Nous rejoindre" card (title, text, CTA).

Left out, waiting for a decision:

  • the stats band (the mockup has only [X] values);
  • the client quote;
  • the team filters.

No bracketed placeholder renders: member fields go through the placeholder rule, and the loader test covers it.

Gradient text

None. The page uses no headlineAccent.ai and no gradients.ai-text. The Revenue AI expertise card and labels use the coral challengeFill, as ADR 0002 sets.

Not possible: the offices chip

The brief asked to restore the offices chip in chipsByKey.studio. chipsByKey was removed in #324, so only the #vie anchor is added.

Open questions

  1. Stats band: build it once real values exist, or leave it out?
  2. Companies strip data: it renders only when members have previousCompanies. My local content has none, so I could not check the strip visually. Which companies should appear?
  3. Client quote: which quote, if any?
  4. Headline size: the mockup sets the H1 at 68px with line height 0.95. display-xl gives 72px at the heading line height. I kept the token.

Tests

  • app/routes/_main.($lang).studio.test.ts: every active member gets a card, with or without expert fields. Tools resolve and all five are kept. Placeholders drop. The bio comes in the page language. Companies are deduplicated. English works on /en. An unknown tool drops and the card stays. The loads run in parallel.
  • app/components/studio/team-section.test.tsx: one card per member. A card shows all five tools, with no limit. Experts get the challenge label. A card with no contribution shows the bio.
  • app/utils/first-name.test.ts.
  • pnpm check, pnpm typecheck and pnpm test:run pass (89 files, 1256 tests). pnpm panda codegen and pnpm panda cssgen --clean were run.
  • Checked locally with local content on /fr/studio and /en/studio: hero, squad, expertises, team, offices, share and closing render; no placeholders.

Pages to review on the Vercel preview

preset/ changed: the card recipe has a new tone: 'dark' value. It adds a class and changes no default, so existing card() calls keep their classes. The J1 route checklist (docs/development/j1-route-review-checklist.md) has two new lines for it, on Studio and on the design system cards page. Pages that use card() and are not being redesigned, to check on the preview:

  • Offer: symptoms and leviers sections.
  • Blog: post metadata card, and the author card (MemberCard).
  • Customer stories: no direct card() call.
  • Legal: no card() call.
  • Contact: the contact card.

PersonCard changed (now using MemberAvatar), so check that these still look right:

  • /studio and /en/studio.
  • Challenge pages, expert cards section (for example /challenges/customer-experience).
  • /design-system, person card section.

Not redesigned and not touched by this PR: offer, blog, customer stories, legal, contact. They do not use PersonCard or MemberAvatar.

wab added 5 commits November 16, 2026 22:00
Export resolveExpertFields, which resolves one member's tools and drops
placeholders, and toolReporter, which now takes the log function. The
studio page (#244) resolves every member with them.
MemberAvatar is the round photo in a challenge colour ring, with initials
behind it, in two sizes. PersonCard uses the large one; the studio hero and
expertise cards use both. getFirstName ignores leading and repeated spaces.
Rebuild the page against the equipe mockup. Every active Team member gets
a PersonCard with all their tools. A member without expert fields still
gets a card, with the bio on its back.

- Hero with the technology headline style and a member marquee
- Previous companies strip, from the member files
- Model, expertises (one card per challenge), team and offices sections
- Offices section carries the #vie anchor
- Share section and a closing section with the join card when jobs is on

Mockup copy with no production equivalent is new in both locales. The v1
team card and team photo illustration are deleted.
The loader test checks that every active member gets a card, that tools
and bios resolve in the page language and that placeholders drop. The
TeamSection test checks that a card shows all five tools of a member and
puts the bio on the back when there is no contribution.
@vercel

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
website Ready Ready Preview Nov 17, 2026 7:53am UTC

Request Review

wab added 13 commits November 16, 2026 22:31
The studio page built each member card by calling buildExpertCards on a
one-member list. It now calls buildExpertCard, which buildExpertCards maps
over. Challenge pages render the same cards as before.
Each card now shows the challenge name in a pill of its colour, the
challenge promise as its title, then the experts' faces and first names,
as in the equipe mockup. The names read "Clara et Dorian" in the page
language, so the "Experts:" line and its key go. The heading is centred.
Podcast sits on dark, club on light yellow and blog on light sky, in three
columns with a text link, as in the mockup. The heading is centred. The
card recipe has no tone for these colours yet: each card adds one static
class next to card().
Both cards use card() with xl padding and no border or shadow. The join
card is dark with a yellow eyebrow and a yellow button. The dark tone
stays a single static class until the card recipe gets one.
Member cards (photo, first name, role) run in two tilted rows that scroll
in opposite directions, as in the mockup. A visible button pauses them
(WCAG 2.2.2), as do hover and focus. Reduced motion stops them, and a
team under 12 members shows as a static grid.

The track, pause button, hover pause and edge fade live in
studio-marquee.tsx so the companies strip can reuse them.
The label sits on the left and the previous companies scroll on one line,
with an icon pause button. Vertical spacing comes from tokens.
The offices card lists the cities with a coloured dot and their note on
hairline rows, next to a map of France with the three offices. Under it,
a gallery of the office and seminar photos already used by the jobs page:
one wide photo, then a grid of four.
Eyebrow, three-line headline with the last line in mint italic, intro
and a CTA to the team section, as in the equipe mockup. English added.
Replaces the Studio model band with the mockup's "Comment nous
travaillons": the three squad roles with their tags, then the two-week
sprint timeline. The #squad anchor stays. ModelSection becomes
SquadSection.
The map repeated the city list for screen readers: it is now hidden from
them. The two office photos get their own alt text.
- Under reduced motion, the still rows sit flat, unmasked, and wrap so no
  card or company is clipped.
- Below six companies, the strip is a static row.
- The companies pause button gets its own name, apart from the team one.
- The strip is labelled by its visible text, read once.
- Only the first four photos of each hero row load eagerly.
@wab
wab merged commit 1088521 into main Nov 17, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — f7cf3b13 Deployed Nov 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

J5: studio page with a PersonCard per member

1 participant