Skip to content

Add Home to primary navigation#11

Merged
yaacovcorcos merged 1 commit into
mainfrom
agent/add-home-navigation
Jul 22, 2026
Merged

Add Home to primary navigation#11
yaacovcorcos merged 1 commit into
mainfrom
agent/add-home-navigation

Conversation

@yaacovcorcos

Copy link
Copy Markdown
Contributor

What changed

  • Added a visible Home link before About and Docs in the primary navigation.
  • Kept the ScientFactory logo linked to the homepage.
  • Reused the existing hover, focus, and active-page styling.
  • Corrected the About active state for the trailing-slash path generated in production builds.

Why

Visitors should not have to infer that the logo is the only way back to the homepage. The explicit Home link makes the navigation clearer while preserving the existing minimal design.

Validation

  • npm run format:check
  • npm run typecheck
  • npm run events:types:check
  • npm run events:typecheck
  • npm test -- --run (43 tests)
  • npm run build
  • npm run build:edge
  • Verified the generated Home, About, and Docs pages expose the correct aria-current="page" state.
  • git diff --check

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying scientfactory-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5ed41bb
Status: ✅  Deploy successful!
Preview URL: https://97b8ed2b.scientfactory-website.pages.dev
Branch Preview URL: https://agent-add-home-navigation.scientfactory-website.pages.dev

View logs

@yaacovcorcos
yaacovcorcos marked this pull request as ready for review July 22, 2026 13:55
@yaacovcorcos
yaacovcorcos requested a review from YishayPo as a code owner July 22, 2026 13:55
@yaacovcorcos
yaacovcorcos merged commit 44a6926 into main Jul 22, 2026
2 checks passed
@yaacovcorcos
yaacovcorcos deleted the agent/add-home-navigation branch July 22, 2026 13:55
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