feat: add Purpose dropdown, active nav indicators, and Featured Projects grid#8
Open
ramonloganjr wants to merge 1 commit intobettergovph:masterfrom
Open
feat: add Purpose dropdown, active nav indicators, and Featured Projects grid#8ramonloganjr wants to merge 1 commit intobettergovph:masterfrom
ramonloganjr wants to merge 1 commit intobettergovph:masterfrom
Conversation
…cts grid - Navigation: Replace separate Mission/Vision links with a Purpose dropdown containing Mission and Vision submenu items (desktop + mobile) - Navigation: Add active state indicator (underline + brand color) for the current page, including parent dropdown highlighting - Navigation: Replace hamburger character with SVG icon (toggles to X when open) - Homepage: Remove Our Mission / Our Vision sections to avoid duplication - Homepage: Add Featured Projects section with 3x2 card grid showing the 6 most recently added projects sorted by dateAdded - Homepage: Add interactive hover effects on project cards (shadow elevation, border highlight, press scale, focus ring) - Homepage: Use consistent status badge styling (rounded-full pills with color-coded backgrounds) matching the Directory page conventions - Use aria-current attributes for accessibility on active nav items
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Navigation
aria-current="page"attributes on active nav items for accessibilityHomepage
dateAdded) in a 3-column × 2-row card gridFiles Changed
src/lib/components/SiteHeader.svelte— navigation restructure + active statessrc/routes/+page.svelte— homepage section updatessrc/routes/+page.ts— data loader updated to sort by dateAdded