Skip to content

feat(nav): shorten the nav and footer, and merge small pages - #131

Merged
jaspermayone merged 1 commit into
mainfrom
nav-footer-cleanup
Nov 29, 2026
Merged

jaspermayone merged 1 commit into
mainfrom
nav-footer-cleanup

Conversation

@jaspermayone

Copy link
Copy Markdown
Owner

What this changes

The header and the footer showed the same links, and the /more dropdown was hard to use. This PR makes the nav short and gives the page index one home: /slashes.

Navigation

  • The top nav has 6 links: /home /blog /portfolio /now /contact /slashes. It fits on one line at 390 px.
  • The /more dropdown is removed.
  • Nav items are real links, not buttons. Cmd-click, "open in new tab" and prefetch work, and crawlers see the links.
  • The footer is one line: copyright, location and socials. The grouped sitemap is removed.
  • /slashes now lists /portfolio and /cv too.

Merged pages

Old URL Now
/conferences /events#conferences
/hackathons /events#hackathons
/hardware /uses#hardware
/pfp /contact#pfp
/keys /verify#keys
  • /events is a new page. It shows the two lists with the same layout as before.
  • /blank, /panera and /green are not changed. Only /slashes lists pages now, so nothing else links to them.
  • /elsewhere and /to are not merged.

Things to decide

  1. Keys. /gpg and /ssh are removed from the page list, and /verify is the one listed page. The detail pages /keys/gpg and /keys/ssh stay, because the import commands and the direct links use them. Tell me if you want the key details inline on /verify and those two routes removed.
  2. /cv, /uses and /concerts are not in the top nav. They are on /slashes. To put one back, set showInNav: true and an order in pages in src/lib/defs.ts.
  3. Redirects are temporary (307). That lets you reverse a merge without a cached permanent redirect. Change permanent to true in next.config.ts when you are sure.
  4. /concerts is a separate page. It is not part of /events.

Checks

  • bunx --bun next build passes.
  • ESLint has no errors. Prettier makes no changes to the files in this PR.
  • Each old URL returns 307 to its new section on a local production build.
  • I looked at desktop and mobile (390 px) screenshots of /blog, /events, /uses, /contact and /slashes in dark mode. I did not look at light mode for the merged pages.

🤖 Generated with Claude Code

https://claude.ai/code/session_014fqP2mhsVJtCTT9d5paUmr

The header and the footer showed the same links, and the /more
dropdown was hard to use.

Navigation:
- The top nav has 6 links: home, blog, portfolio, now, contact, slashes.
- The /more dropdown is removed. /slashes is the index of all pages.
- Nav items are links, not buttons. Open in new tab and prefetch work.
- The footer is one line: copyright, location and socials.

Merged pages:
- /conferences and /hackathons are sections of the new /events page.
- /hardware is a section of /uses.
- /pfp is a section of /contact.
- /gpg and /ssh are not in the page list. /verify links to the key pages.

The old URLs redirect to the new sections. The redirects are temporary
(307), so that a merge can be reversed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014fqP2mhsVJtCTT9d5paUmr
@vercel

vercel Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
website Ready Ready Preview Nov 29, 2026 7:29pm UTC

@github-actions

Copy link
Copy Markdown

React Doctor found 1 new issue in 1 file · 1 warning · score 97 / 100 (Great) · 0 fixed · vs main

1 warning

src/components/ProfilePhotos.tsx

  • ⚠️ L10 Non-component export in component file only-export-components

Reviewed by React Doctor for commit 8e61af9. See inline comments for fixes.

import waves from "@public/images/profiles/waves.webp";
import Image from "next/image";

export const profilePhotos = [

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Doctor · react-doctor/only-export-components (warning)

This file exports non-components, so Fast Refresh can't safely preserve component state.

Fix → Move non-component exports out of component files so Fast Refresh can preserve component state instead of full-reloading.

Docs

@jaspermayone
jaspermayone merged commit 0e52f46 into main Nov 29, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 8e61af92 Deployed Nov 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant