Skip to content

MS-302 · FAQ + Sock scene: static LG/MD + FaqAccordion #558

Open

Description

@adityapat24

Figma: LG 5597:20877, MD 5690:4737

Steps

  1. scenes/faq/FaqScene.tsx: not a fixed viewport. It's the ~2-viewport, normal-flow ending. Widths use artboard units; the height flows.
  2. Near-black → deep navy gradient background.
  3. sectionTitle "FAQs"; left column General + Application, right column Event Logistics; label category headings.
  4. scenes/faq/FaqAccordion.tsx (fresh; SM reuses it): question (faqQuestion) + +/− icon + answer (bodySmall) + dividers; one open item per category; the height animates with the grid-template-rows: 0fr → 1fr trick when animated (off on SM); Regular → SemiBold when open; <button aria-expanded aria-controls>.
  5. Sock art: pterodactyl + dino skeletons (separate), 2–3 <Spotlight> beams, <Fog variant="ribbon"> + sparkles.
  6. <Footer /> at the bottom, over the art.
  7. data-anim: faq-title, faq-col-{0,1}, faq-skeleton-ptero, faq-skeleton-dino, faq-beam-{i}, faq-ribbon.
  8. MD from 5690:4737. Register in registry.ts (replacing the placeholder) and sceneMap.ts.

Acceptance criteria

  • Matches LG and MD
  • Accordion works by keyboard and with VoiceOver
  • Opening a long answer doesn't make the skeleton art jump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions