Skip to content

feat: add Accordion component with styles and animations - #106

Merged
devaraj3 merged 1 commit into
mainfrom
ui/design-system-refresh
Aug 23, 2026
Merged

feat: add Accordion component with styles and animations#106
devaraj3 merged 1 commit into
mainfrom
ui/design-system-refresh

Conversation

@devaraj3

Copy link
Copy Markdown
Owner

Roll out brand design system: color tokens, IBM Plex typography, corner-mark
motif, and hero redesign across marketing pages

Combines the token/animation implementation prompt with a Claude Design
prototype pass, reimplemented as real React (not the prototype's template
markup — verified clean, see below).

What it adds

  • Central design tokens (blue ramp anchored on #3b82f6, navy blueprint
    accent, IBM Plex Sans/Mono self-hosted as woff2 — no external font CDN,
    consistent with the site's client-side-only positioning)
  • Reusable corner-registration-mark motif (SVG, draw-in on load, hover
    sharpen on cards), echoing the ISO centring marks already used in
    generated drawings
  • Redesigned hero: tilted 3D-model + 2D-drawing showcase communicating the
    core feature visually, plus updated pills ("2D Drawing Export") and
    subheadline
  • Shared reveal-on-scroll utility, count-up stats strip (real numbers only),
    shared FAQ accordion — used consistently across Home, About, both guides
  • One thin-line illustration on the About page; empty-state illustration
    in the viewer only, gone once a file loads

Explicitly unchanged

  • Viewer/editor functionality and interaction — color/type tokens only,
    no corner marks, no scroll reveals, no added motion beyond a 150ms modal
    transition on the 2D drawing editor
  • Existing upload/drag-and-drop logic — verified still wired correctly,
    not replaced

Verification already done

  • Grepped source for leftover prototype template syntax ({{ }}, ,
    , style-hover) — none present; confirmed via rendered DOM output
    as well as source
  • Dev server clean across all four pages — zero console/page errors
  • Upload flow tested via both click-to-browse and a real DataTransfer-based
    drag-and-drop simulation — both correctly load a file and navigate to
    /viewer
  • Manual pass through all four pages in localhost

Follow-up (non-blocking)

  • Confirm the navy accent panel appears somewhere in the page flow, not
    just the hero

- Implement AccordionItem component for FAQ-style interactions
- Create CornerMark component for decorative corner accents
- Add Reveal component for scroll-triggered animations
- Introduce StatsStrip component for displaying statistics with animations
- Create illustrations for the About page and landing icons for the hero section
- Establish design tokens for consistent styling across the application
- Implement MarketingLayout for smooth transitions between marketing routes
@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
cad-viewer Ready Ready Preview Aug 23, 2026 2:37pm

@devaraj3
devaraj3 merged commit 5c2d1e7 into main Aug 23, 2026
6 checks passed
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.

1 participant