Skip to content

fix: restore preview scroll state and simplify Work hash navigation - #28

Merged
febriyadi merged 1 commit into
mainfrom
fix/PER-21-scroll-home-footer
Nov 21, 2026
Merged

febriyadi merged 1 commit into
mainfrom
fix/PER-21-scroll-home-footer

Conversation

@pebbDev

@pebbDev pebbDev commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Restore scroll positions independently across hash preview tabs Home, Meet Me, and My Lab. Preserve first-visit top behavior and #contact anchor navigation.
  • Match the source's Home footer bottom spacing at tablet and mobile by removing the redundant Home padding rule (110 px excess).
  • Remove the temporary src/app/work.html/page.tsx route and centralize preview navigation on src/lib/navigation hashes (#home, #meet-me, #work).
  • Remove links and category-hash syncing dependent on /work.html; leave case-study feature components in place but disable the unavailable development-only case study preview link.

Verification (local; not hosted CI)

  • Passed: pnpm lint, pnpm exec next typegen, pnpm typecheck, pnpm format:check, pnpm build, git diff --check.
  • Browser Chrome/Selenium: Home / => 200; old /work.html => 404 by design; /#work renders; category Branding filter functional; per-tab scroll restoration and Home mobile footer regression passed.
  • Production build route manifest includes / (no /work.html).

Intentional deviation / review focus

  • The source portfolio originally includes work.html, but the owner explicitly requested removal of this temporary Next.js preview route. It is now intentionally 404 until definitive HTML-route migration is approved; do not interpret this preview change as completion of the 25 source-route migration.
  • Development-only case study preview is no longer available through Work; case study components are preserved for later approved routing.
  • Private QA evidence/screenshots remain local in gitignored tests/per-21/; no tests/ folder or screenshots are included in this PR.
  • Only 12 files under src/ changed. This PR contains no CD/production workflows or environment changes.

Release controls

DRAFT FOR CODE/HUMAN REVIEW ONLY. DO NOT MERGE OR DEPLOY.

  • Protected Preview and Production CD remain separate PER-21 work; do not activate production automation from this PR.
  • Rights clearance (PER-7), current CI, visual acceptance, and explicit First Release Production GO remain required before publishing.

Keep per-tab scroll positions, align Home footer bottom spacing with source, and remove the temporary /work.html preview route. Use shared navigation hash routes and keep private QA evidence untracked.
@linear-code

linear-code Bot commented Nov 21, 2026

Copy link
Copy Markdown

PER-21

@pebbDev
pebbDev marked this pull request as ready for review November 21, 2026 09:19
@pebbDev
pebbDev requested a review from febriyadi as a code owner November 21, 2026 09:19
Copilot AI balanced review requested due to automatic review settings November 21, 2026 09:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@febriyadi
febriyadi merged commit fa0483e into main Nov 21, 2026
1 check passed
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.

3 participants