Repository navigation
feat(nav): shorten the nav and footer, and merge small pages - #131
Merged
Merged
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
React Doctor found 1 new issue in 1 file · 1 warning · score 97 / 100 (Great) · 0 fixed · vs 1 warning
Reviewed by React Doctor for commit |
| import waves from "@public/images/profiles/waves.webp"; | ||
| import Image from "next/image"; | ||
|
|
||
| export const profilePhotos = [ |
There was a problem hiding this comment.
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.
This branch was successfully deployed
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.
What this changes
The header and the footer showed the same links, and the
/moredropdown was hard to use. This PR makes the nav short and gives the page index one home:/slashes.Navigation
/home /blog /portfolio /now /contact /slashes. It fits on one line at 390 px./moredropdown is removed./slashesnow lists/portfolioand/cvtoo.Merged pages
/conferences/events#conferences/hackathons/events#hackathons/hardware/uses#hardware/pfp/contact#pfp/keys/verify#keys/eventsis a new page. It shows the two lists with the same layout as before./blank,/paneraand/greenare not changed. Only/slasheslists pages now, so nothing else links to them./elsewhereand/toare not merged.Things to decide
/gpgand/sshare removed from the page list, and/verifyis the one listed page. The detail pages/keys/gpgand/keys/sshstay, because the import commands and the direct links use them. Tell me if you want the key details inline on/verifyand those two routes removed./cv,/usesand/concertsare not in the top nav. They are on/slashes. To put one back, setshowInNav: trueand anorderinpagesinsrc/lib/defs.ts.permanenttotrueinnext.config.tswhen you are sure./concertsis a separate page. It is not part of/events.Checks
bunx --bun next buildpasses./blog,/events,/uses,/contactand/slashesin dark mode. I did not look at light mode for the merged pages.🤖 Generated with Claude Code
https://claude.ai/code/session_014fqP2mhsVJtCTT9d5paUmr