feat(components): created faq dropdown accordian #67
Conversation
aleckshen
left a comment
There was a problem hiding this comment.
A few issues to address, the main one is splitting this into a separate domain component that builds on top of ui/accordion.tsx, something like src/components/Faq/Faq.tsx that takes an items: { question: string; answer: string }[] prop, exported via src/components/index.ts (see Navbar/ for the pattern). That way page.tsx just renders <Faq items={…} /> and the FAQ page ticket can reuse it. While you're in there, worth switching to type="multiple" per the AC and dropping collapsible.
Alongside that, the hover state doesn't quite match Figma, the pill should go transparent/outlined on hover, but right now bg-accent sits on the item while hover:bg-transparent is on the trigger, so the background stays solid. Could you also do a pass on the spacing (padding inside the pill and gap between items) against the Figma frame? Once those are in I'll do a deeper review on the internals
…ion name in payload.
Description
This PR customises the shadcn Accordion component to match the UOAVC FAQ section design requirements, implementing the visual styling specified in the Figma.
Closes #57
Type of change
How Has This Been Tested?
Screen.Recording.2026-05-17.at.10.31.58.am.mov
Run the app and verify the accordion on the FAQ page:
Checklist before requesting a review