Files
novalon-website/src/lib/constants/navigation.ts
T
张翔 7484512252 refactor(导航): 将哈希路由改为标准路径路由
重构导航系统,将原有的哈希路由(#section)改为标准路径路由(/path)
修改相关组件和测试用例以适应新的路由方式
移除不必要的滚动和哈希监听逻辑
2026-04-23 08:07:48 +08:00

17 lines
601 B
TypeScript

export interface NavigationItem {
id: string;
label: string;
href: string;
}
export const NAVIGATION: NavigationItem[] = [
{ id: 'home', label: '首页', href: '/' },
{ id: 'services', label: '核心业务', href: '/services' },
{ id: 'solutions', label: '解决方案', href: '/solutions' },
{ id: 'products', label: '产品服务', href: '/products' },
{ id: 'cases', label: '成功案例', href: '/cases' },
{ id: 'about', label: '关于我们', href: '/about' },
{ id: 'news', label: '新闻动态', href: '/news' },
{ id: 'contact', label: '联系', href: '/contact' },
];