fix: 补全主页独立导航栏顺序 - 模型→评测→文档→控制台
Home/index.jsx 第 153 行有自己的固定导航栏(fixed top-0 z-50), 完全独立于 HeaderBar 组件。其导航项数组仍是旧顺序 模型→控制台→评测→文档,现调整为:模型→评测→文档→控制台。 至此三处导航栏全部修正: 1. useNavigation.js(桌面 HeaderBar 导航) 2. MobileSiteNavDropdown.jsx(移动端下拉导航) 3. Home/index.jsx(主页独立固定导航栏)
This commit is contained in:
parent
d33f55ad55
commit
5fa5f87e1e
|
|
@ -161,9 +161,9 @@ function HeroSection() {
|
|||
<nav className="hidden md:flex items-center gap-0.5">
|
||||
{[
|
||||
{ key: "model", label: "模型", icon: <Box size={16} />, to: "/pricing" },
|
||||
{ key: "console", label: "控制台", icon: <Grid3X3 size={16} />, to: "/console" },
|
||||
{ key: "benchmark", label: "评测", icon: <Trophy size={16} />, to: "/benchmarks" },
|
||||
{ key: "docs", label: "文档", icon: <BookOpen size={16} />, to: "https://docs.new-api.cc", external: true },
|
||||
{ key: "console", label: "控制台", icon: <Grid3X3 size={16} />, to: "/console" },
|
||||
].map((item) => {
|
||||
const linkClass = "inline-flex items-center gap-1.5 px-3 py-1.5 text-[14px] rounded-md transition-colors duration-150 text-white/60 hover:text-white";
|
||||
if (item.external) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue