FAQ management
This guide helps editors update the FAQ content in the main FiNAN website repository.
Where FAQ content lives
Section titled “Where FAQ content lives”FAQ data is stored here:
src/data/pages/faq/faqData.ts
FAQ structure overview
Section titled “FAQ structure overview”The FAQ file has three main parts:
faqIntro- the introduction text shown at the topfaqCategories- the categories and questions shown on the pagegenerateFAQSchema()- the SEO schema, which updates automatically
Adding a new FAQ question
Section titled “Adding a new FAQ question”-
Open the FAQ data file
src/data/pages/faq/faqData.ts -
Find the right category
Example categories in the file:
About FiNANMembershipRecruitment
-
Add a new question
{question: 'What are the membership benefits?',answer: 'Members get access to professional development, networking, and advocacy support.',} -
Save and commit
Use a message like:
Add FAQ about membership benefits
Creating a new category
Section titled “Creating a new category”Add another object inside faqCategories:
{ categoryName: 'Events', categoryDescription: 'Questions about upcoming events and schedules', faqs: [ { question: 'When is the next conference?', answer: 'The Triennial Gathering is scheduled for March 30 to April 1, 2026.', }, ],}Common mistakes
Section titled “Common mistakes”- Missing commas between FAQ items
- Editing inside
generateFAQSchema()(leave this alone) - Using double quotes inside answers without escaping
- Removing the
categoryNameorfaqskeys
Troubleshooting
Section titled “Troubleshooting”Type error or build failure
Section titled “Type error or build failure”- Check for missing commas or quotes
- Ensure every FAQ entry has both
questionandanswer - Compare with another category for structure