Open
Conversation
…tion Refactored the global header to use a three-tier stacked layout with UNC branding, added a logo image, and enabled client-side routing for navigation menu 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.
Motivation
Every frontend page depends on the layout shell. Setting up Shadcn and the global nav structure first means all other frontend devs can immediately build pages within a consistent design system.
Deliverables
Install and initialize Shadcn UI (npx shadcn-ui@latest init)
Configure Tailwind theme with UNC brand colors (Carolina Blue #4B9CD3, black, white - able to change in the future)
Install initial Shadcn components: Button, Table, Input, Card, Sheet (for mobile nav), NavigationMenu
Create src/components/layout/Header.tsx with full navigation matching TDD site structure:
Home
News
Senators (dropdown: Leadership, Roster, Contact Your Senator, Previous Leadership)
Committees
Legislation (dropdown: Search, Recent Legislation, Recent Nominations, Senate Rules, Public Disclosure, Senate Archives)
About (dropdown: Staff, Powers of the Senate, How a Bill Becomes a Law, Elections)
Funding (dropdown: How to Apply, Budget Process, Where Does My Money Go?)
Meetings
Create src/components/layout/Footer.tsx with basic senate contact info and links
Create responsive mobile navigation (hamburger menu using Shadcn Sheet)
Update src/app/layout.tsx to include Header and Footer
Important Notes
No dependencies — start immediately
"Senate Archives" links to an external Google Drive URL (use target="_blank")
The "Finance Hearing Scheduling" button on the homepage is conditional and NOT part of the nav — do not add it here
Follow WCAG accessibility: semantic HTML, keyboard-navigable nav, proper aria labels
Use Next.js Link component for all internal navigation