Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 3.07 KB

File metadata and controls

61 lines (44 loc) · 3.07 KB

Changelog

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

Added

  • /government and /government/:category routes with a new Government page
  • Government section content system under content/government/ (departments: executive, legislative)
  • src/pages/Government.tsx — category listing page for government departments
  • src/data/government.yaml — top-level government category definitions
  • Expanded Document page 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}.json files supply {PLACEHOLDER} token values (official names, dates, etc.) interpolated at load time, with VITE_<KEY> env vars as fallback

Changed

  • yamlLoader.ts refactored to handle both service and government category indexes
  • markdownLoader.ts refactored to resolve markdown files across content types; now also loads companion JSON and runs interpolate() for token substitution
  • Navbar updated to support government section routing
  • Breadcrumbs updated to reflect government section paths
  • Section component adjusted for layout consistency
  • GovernmentActivitySection on Home page now points to live government routes
  • Services page layout and routing logic improved
  • Locale strings updated in public/locales/en/common.json and src/i18n/locales/en.json

Documentation

  • README.md — project structure and content setup steps updated for government section
  • CLAUDE.md — routing, content system, and companion JSON file behavior documented
  • CONTENT-MANAGEMENT.md — added government department pages section, JSON data files explained, dynamic placeholder workflow included
  • CONTENT-GUIDE.md — added department/office page template, content type, and "Dynamic Content with Placeholders" section

0.1.0 - 2026-03-06

Added

  • @bettergov/kapwa component library integrated as the primary UI primitive layer
  • New font and theme setup via src/fonts.css
  • react-helmet-async for SEO and document head management

Changed

  • Migrated styling pipeline to Tailwind CSS v4 (Vite plugin, PostCSS config updated)
  • Replaced local Card component (src/components/ui/Card.tsx) with Kapwa card primitives
  • Replaced legacy ListItem component with Kapwa cards and banners across Services, Home, and Document pages
  • Updated src/index.css to align with Tailwind v4 conventions
  • Upgraded App.tsx and main.tsx for the new app shell and SEO setup

Removed

  • src/components/ui/Card.tsx — superseded by Kapwa primitives
  • src/components/ui/ListItem.tsx — superseded by Kapwa cards and banners