FAQ
General
Section titled “General”Why is the site not updating?
Section titled “Why is the site not updating?”The FiNAN website is static. This means it only updates when a new “build” happens.
- Content Changes (Code): Updates when you push to
main. - Content Changes (Ghost CMS): You must manually trigger a rebuild or wait for the scheduled build (if configured).
Can I use React/Vue components?
Section titled “Can I use React/Vue components?”Yes, Astro supports Framework Islands. However, we prefer standard Astro components for performance unless you specifically need complex client-side state management.
Content & Editing
Section titled “Content & Editing”How do I change the order of committee members?
Section titled “How do I change the order of committee members?”Edit the array order in the corresponding data file (e.g., src/data/representation/committee/finlandCommittee.ts). The order in the file determines the order on the page.
My image looks blurry/pixelated.
Section titled “My image looks blurry/pixelated.”- Ensure the source image is at least 800px wide for committee profiles.
- Astro automatically optimizes images, so starting with high quality is best.
Technical
Section titled “Technical”What is siteConfig.ts?
Section titled “What is siteConfig.ts?”It’s our global configuration file for SEO defaults, social links, and site metadata. Changing values here affects the entire site.
How do I update dependencies?
Section titled “How do I update dependencies?”Run pnpm update to update packages within the allowed ranges in package.json. To upgrade major versions, use pnpm up -L. Always run pnpm build after updating to verify nothing broke.