feat: render responsive low-poly hero landscape

This commit is contained in:
2026-09-05 17:16:22 +08:00
parent 1bfb78479a
commit 637da07c9e
7 changed files with 337 additions and 52 deletions

View File

@@ -1,37 +1,19 @@
'use client';
import React from 'react';
import Image from 'next/image';
import { useTheme } from '@/context/ThemeContext';
import { HeroSection } from './HeroSection';
import { RiverJourney } from './RiverJourney';
import { HeroLandscapeScene } from './scenes/HeroLandscapeScene';
import styles from './ScenicHeroJourney.module.css';
export const ScenicHeroJourney: React.FC = () => {
const { theme } = useTheme();
return (
<div className={styles.scenicContainer}>
{/* Seamless Continuous Landscape & River Artwork */}
<div className={styles.artworkContainer}>
<Image
src={
theme === 'dark'
? '/assets/landing-to-river-artwork-dark.png'
: '/assets/landing-to-river-artwork.png'
}
alt="Mountain landscape to river journey artwork"
width={1440}
height={1576}
priority
className={styles.artworkImage}
/>
</div>
<section className={styles.heroStage} aria-label="Introduction">
<HeroLandscapeScene />
<HeroSection />
</section>
{/* Hero Section Component */}
<HeroSection />
{/* About Me River Journey Component */}
<RiverJourney />
</div>
);