forked from emre/www_projectmycelium_com
- Added white logo variant and updated header to use dark theme styling - Split text hover effect component into two variants (cursor-following and auto-animated) - Updated button and dropdown components to support transparent backgrounds and white text styling
45 lines
1008 B
TypeScript
45 lines
1008 B
TypeScript
|
|
import { useRef } from 'react'
|
|
import { AnimatedSection } from '../../components/AnimatedSection'
|
|
import { CallToAction } from './CallToAction'
|
|
import { HomeTab } from './HomeTab'
|
|
import { HomeMap } from './HomeMap'
|
|
import { HomeAudience } from './HomeAudience'
|
|
import { HomeBlinkDark } from './HomeBlinkDark'
|
|
import { HomeArchitecture } from './HomeArchitecture';
|
|
|
|
|
|
|
|
|
|
export default function HomePage() {
|
|
const sliderRef = useRef<HTMLDivElement>(null)
|
|
|
|
const handleScrollToSlider = () => {
|
|
sliderRef.current?.scrollIntoView({ behavior: 'smooth' })
|
|
}
|
|
return (
|
|
<div>
|
|
|
|
<AnimatedSection>
|
|
<HomeBlinkDark onGetStartedClick={handleScrollToSlider} />
|
|
</AnimatedSection>
|
|
|
|
<AnimatedSection>
|
|
<HomeTab />
|
|
</AnimatedSection>
|
|
|
|
<AnimatedSection>
|
|
<HomeMap />
|
|
</AnimatedSection>
|
|
|
|
<AnimatedSection>
|
|
<HomeAudience />
|
|
</AnimatedSection>
|
|
|
|
<AnimatedSection>
|
|
<CallToAction />
|
|
</AnimatedSection>
|
|
</div>
|
|
)
|
|
}
|