feat: 将事件中心的头部添加到首页

This commit is contained in:
zdl
2025-10-27 15:31:22 +08:00
parent 199a54bc12
commit d93b5de319

View File

@@ -20,6 +20,7 @@ import { useNavigate } from 'react-router-dom';
import heroBg from '../../assets/img/BackgroundCard1.png'; import heroBg from '../../assets/img/BackgroundCard1.png';
import '../../styles/home-animations.css'; import '../../styles/home-animations.css';
import { logger } from '../../utils/logger'; import { logger } from '../../utils/logger';
import MidjourneyHeroSection from '../Community/components/MidjourneyHeroSection';
export default function HomePage() { export default function HomePage() {
const { user, isAuthenticated } = useAuth(); // ⚡ 移除 isLoading不再依赖它 const { user, isAuthenticated } = useAuth(); // ⚡ 移除 isLoading不再依赖它
@@ -395,6 +396,10 @@ export default function HomePage() {
</SimpleGrid> </SimpleGrid>
</VStack> </VStack>
</Box> </Box>
{/* Midjourney风格英雄区域 */}
<MidjourneyHeroSection />
</VStack> </VStack>
</Container> </Container>
</Box> </Box>