feat: 事件中心去掉头图, 并且将热点区域提到首屏

This commit is contained in:
zdl
2025-10-27 15:39:56 +08:00
parent dc38199ae6
commit d6bc2c7245

View File

@@ -10,7 +10,6 @@ import {
} from '@chakra-ui/react'; } from '@chakra-ui/react';
// 导入组件 // 导入组件
import MidjourneyHeroSection from './components/MidjourneyHeroSection';
import EventTimelineCard from './components/EventTimelineCard'; import EventTimelineCard from './components/EventTimelineCard';
import HotEventsSection from './components/HotEventsSection'; import HotEventsSection from './components/HotEventsSection';
import EventModals from './components/EventModals'; import EventModals from './components/EventModals';
@@ -96,11 +95,11 @@ const Community = () => {
<Box minH="100vh" bg={bgColor}> <Box minH="100vh" bg={bgColor}>
{/* 导航栏已由 MainLayout 提供 */} {/* 导航栏已由 MainLayout 提供 */}
{/* Midjourney风格英雄区域 */}
<MidjourneyHeroSection />
{/* 主内容区域 */} {/* 主内容区域 */}
<Container maxW="container.xl" py={8}> <Container maxW="container.xl" py={8}>
{/* 热点事件区域 */}
<HotEventsSection events={hotEvents} />
{/* 实时事件时间轴卡片 */} {/* 实时事件时间轴卡片 */}
<EventTimelineCard <EventTimelineCard
ref={eventTimelineRef} ref={eventTimelineRef}
@@ -115,9 +114,6 @@ const Community = () => {
onEventClick={handleEventClick} onEventClick={handleEventClick}
onViewDetail={handleViewDetail} onViewDetail={handleViewDetail}
/> />
{/* 热点事件区域 */}
<HotEventsSection events={hotEvents} />
</Container> </Container>
{/* 事件弹窗 */} {/* 事件弹窗 */}