feat: render responsive low-poly hero landscape
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user