feat: 将事件中心的头部添加到首页
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user