All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.0 - 2026-03-07
/governmentand/government/:categoryroutes with a newGovernmentpage- Government section content system under
content/government/(departments: executive, legislative) src/pages/Government.tsx— category listing page for government departmentssrc/data/government.yaml— top-level government category definitions- Expanded
Documentpage to support government content alongside services - Navigation updated: main nav Government item now links to
/government/departments - OG image template redesigned for improved open graph previews
- Companion JSON files for markdown pages — optional
{slug}.jsonfiles supply{PLACEHOLDER}token values (official names, dates, etc.) interpolated at load time, withVITE_<KEY>env vars as fallback
yamlLoader.tsrefactored to handle both service and government category indexesmarkdownLoader.tsrefactored to resolve markdown files across content types; now also loads companion JSON and runsinterpolate()for token substitutionNavbarupdated to support government section routingBreadcrumbsupdated to reflect government section pathsSectioncomponent adjusted for layout consistencyGovernmentActivitySectionon Home page now points to live government routesServicespage layout and routing logic improved- Locale strings updated in
public/locales/en/common.jsonandsrc/i18n/locales/en.json
README.md— project structure and content setup steps updated for government sectionCLAUDE.md— routing, content system, and companion JSON file behavior documentedCONTENT-MANAGEMENT.md— added government department pages section, JSON data files explained, dynamic placeholder workflow includedCONTENT-GUIDE.md— added department/office page template, content type, and "Dynamic Content with Placeholders" section
0.1.0 - 2026-03-06
@bettergov/kapwacomponent library integrated as the primary UI primitive layer- New font and theme setup via
src/fonts.css react-helmet-asyncfor SEO and document head management
- Migrated styling pipeline to Tailwind CSS v4 (Vite plugin, PostCSS config updated)
- Replaced local
Cardcomponent (src/components/ui/Card.tsx) with Kapwa card primitives - Replaced legacy
ListItemcomponent with Kapwa cards and banners across Services, Home, and Document pages - Updated
src/index.cssto align with Tailwind v4 conventions - Upgraded
App.tsxandmain.tsxfor the new app shell and SEO setup
src/components/ui/Card.tsx— superseded by Kapwa primitivessrc/components/ui/ListItem.tsx— superseded by Kapwa cards and banners