feat: 将新闻中心改为事件中心

This commit is contained in:
zdl
2025-10-23 14:57:26 +08:00
parent 4eaeab521f
commit 28975f74e9

View File

@@ -57,14 +57,14 @@ const SecondaryNav = ({ showCompletenessAlert }) => {
'/community': { '/community': {
title: '高频跟踪', title: '高频跟踪',
items: [ items: [
{ path: '/community', label: '新闻催化分析', badges: [{ text: 'HOT', colorScheme: 'green' }, { text: 'NEW', colorScheme: 'red' }] }, { path: '/community', label: '事件中心', badges: [{ text: 'HOT', colorScheme: 'green' }, { text: 'NEW', colorScheme: 'red' }] },
{ path: '/concepts', label: '概念中心', badges: [{ text: 'NEW', colorScheme: 'red' }] } { path: '/concepts', label: '概念中心', badges: [{ text: 'NEW', colorScheme: 'red' }] }
] ]
}, },
'/concepts': { '/concepts': {
title: '高频跟踪', title: '高频跟踪',
items: [ items: [
{ path: '/community', label: '新闻催化分析', badges: [{ text: 'HOT', colorScheme: 'green' }, { text: 'NEW', colorScheme: 'red' }] }, { path: '/community', label: '事件中心', badges: [{ text: 'HOT', colorScheme: 'green' }, { text: 'NEW', colorScheme: 'red' }] },
{ path: '/concepts', label: '概念中心', badges: [{ text: 'NEW', colorScheme: 'red' }] } { path: '/concepts', label: '概念中心', badges: [{ text: 'NEW', colorScheme: 'red' }] }
] ]
}, },
@@ -217,7 +217,7 @@ const MoreNavMenu = ({ isAuthenticated, user }) => {
bg={location.pathname.includes('/community') ? 'blue.50' : 'transparent'} bg={location.pathname.includes('/community') ? 'blue.50' : 'transparent'}
> >
<Flex justify="space-between" align="center" w="100%"> <Flex justify="space-between" align="center" w="100%">
<Text fontSize="sm">新闻催化分析</Text> <Text fontSize="sm">事件中心</Text>
<HStack spacing={1}> <HStack spacing={1}>
<Badge size="sm" colorScheme="green">HOT</Badge> <Badge size="sm" colorScheme="green">HOT</Badge>
<Badge size="sm" colorScheme="red">NEW</Badge> <Badge size="sm" colorScheme="red">NEW</Badge>
@@ -333,7 +333,7 @@ const NavItems = ({ isAuthenticated, user }) => {
fontWeight={location.pathname.includes('/community') ? 'bold' : 'normal'} fontWeight={location.pathname.includes('/community') ? 'bold' : 'normal'}
> >
<Flex justify="space-between" align="center" w="100%"> <Flex justify="space-between" align="center" w="100%">
<Text fontSize="sm">新闻催化分析</Text> <Text fontSize="sm">事件中心</Text>
<HStack spacing={1}> <HStack spacing={1}>
<Badge size="sm" colorScheme="green">HOT</Badge> <Badge size="sm" colorScheme="green">HOT</Badge>
<Badge size="sm" colorScheme="red">NEW</Badge> <Badge size="sm" colorScheme="red">NEW</Badge>
@@ -1352,7 +1352,7 @@ export default function HomeNavbar() {
fontWeight={location.pathname.includes('/community') ? 'bold' : 'normal'} fontWeight={location.pathname.includes('/community') ? 'bold' : 'normal'}
> >
<HStack justify="space-between"> <HStack justify="space-between">
<Text fontSize="sm">新闻催化分析</Text> <Text fontSize="sm">事件中心</Text>
<HStack spacing={1}> <HStack spacing={1}>
<Badge size="xs" colorScheme="green">HOT</Badge> <Badge size="xs" colorScheme="green">HOT</Badge>
<Badge size="xs" colorScheme="red">NEW</Badge> <Badge size="xs" colorScheme="red">NEW</Badge>