Commit f6d1de8
Move Docs and Compare links to footer, remove from header nav (#51)
## Summary
Reorganized navigation by moving the Docs and Compare links from the
main site header navigation to the footer, while adding them as external
links pointing to the CLA documentation and comparison pages.
## Key Changes
- **Removed** Docs and Compare links from the main navigation items in
`site-header-client.tsx`
- **Added** two new external footer links in `app-footer.tsx`:
- Docs link pointing to `https://cla.fiveonefour.com/docs`
- Compare link pointing to `https://cla.fiveonefour.com/compare`
- Both new footer links include proper accessibility attributes
(`target="_blank"` and `rel="noopener noreferrer"`)
## Implementation Details
- The footer links follow the existing styling pattern with
`transition-colors hover:text-foreground` classes
- Links are positioned after the Issues link in the footer navigation
- External links are properly secured with `rel="noopener noreferrer"`
to prevent security vulnerabilities
https://claude.ai/code/session_01B11cM4cNVg5w77umxhYnWc
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk UI-only navigation change; main risk is broken or unexpected
external URLs opening in new tabs.
>
> **Overview**
> Moves navigation for *Docs* and *Compare* out of the header menu and
into the footer.
>
> Adds two new external footer links to
`https://cla.fiveonefour.com/docs` and
`https://cla.fiveonefour.com/compare` (opened in a new tab with
`rel="noopener noreferrer"`).
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
98dbcdb. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Co-authored-by: Claude <noreply@anthropic.com>1 parent 2f3a7ac commit f6d1de8
2 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
46 | 62 | | |
47 | 63 | | |
48 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
0 commit comments