bug: Home navbar is white on first visit but transparent after internal navigation

未关闭
#101 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
领域
frontend

调研方向

The navbar is the Home page header in the Next.js frontend; start from the component that sets its top background and the scroll-dependent white/backdrop-blur state, and compare the initial render with the client-side navigation path. Reproduce by loading the Home route fresh, then navigating away and back. Done when the top of Home is transparent in both cases and scrolling past the hero restores the blurred background.

由索引模型根据 Issue 内容生成。

描述

area:frontend bug

What happened?

On https://procoderji.com/, the Home navbar has a solid white background on the first visit. After navigating to another page and returning Home, it becomes transparent and the yellow gradient/grid continues behind it.

The owner reported this in production and supplied two desktop screenshots showing the inconsistent states. The root cause has not been confirmed; this report does not claim an independently reproduced browser result.

Steps to reproduce

  1. Open the Home page in a fresh browser session, with the page at the top.
  2. Observe the white navbar bar above the yellow hero.
  3. Navigate to another page using the site navigation.
  4. Return Home and compare the navbar at the top: it is now transparent.

Expected behavior

At the top of Home, the navbar should be transparent on both initial visits and return navigation. The yellow hero background and grid should continue behind it without a white bar or hard edge.

After scrolling past the hero, the existing light white background and backdrop blur should keep navigation readable.

Environment

  • Production: https://procoderji.com/
  • Release commit: 9e2b9c00556de0387b09e937ffbefbd4eb9e0919
  • Desktop screenshots supplied by the owner; browser/version not recorded.
  • Mobile behavior should be checked when this is investigated.

Acceptance criteria

  • Fresh-session entry and hard refresh show the transparent navbar at the top of Home.
  • Returning Home through internal navigation produces the same appearance.
  • Scrolling beyond the hero still enables the white/blurred background.
  • Desktop and mobile navigation retain their current links, layout and brand styling.

Planning

Reported for the backlog. Investigation and implementation are deferred until scheduled; no fix or pull request is requested at this time.

主要语言
TypeScript
星标
1
派生
1
平均合并
8 小时 58 分钟
30 天内合并 PR
37

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

procoderji-com/procoderji 的其他 Issue

查看 procoderji-com/procoderji 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。