diff --git a/src/components/AnimatedSection.tsx b/src/components/AnimatedSection.tsx index d5a0864..f7f9a33 100644 --- a/src/components/AnimatedSection.tsx +++ b/src/components/AnimatedSection.tsx @@ -1,4 +1,5 @@ import { motion } from 'framer-motion' +import { forwardRef } from 'react' type AnimatedSectionProps = { children: React.ReactNode @@ -6,9 +7,11 @@ type AnimatedSectionProps = { className?: string } -export function AnimatedSection({ children, id, className }: AnimatedSectionProps) { +export const AnimatedSection = forwardRef( + ({ children, id, className }, ref) => { return ( - ) -} + }, +) diff --git a/src/pages/home/HomeAurora.tsx b/src/pages/home/HomeAurora.tsx index ae77980..77fe084 100644 --- a/src/pages/home/HomeAurora.tsx +++ b/src/pages/home/HomeAurora.tsx @@ -2,7 +2,7 @@ import { H1, H5 } from "@/components/Texts" import { Button } from "@/components/Button" -export function HomeAurora() { +export function HomeAurora({ onGetStartedClick }: { onGetStartedClick: () => void }) { return (

- Full Sovereignty for Cloud, Network & AI. + The Sovereign Agentic Cloud

- Build and run mission-critical workloads on distributed compute, encrypted networking, and sovereign AI orchestration without centralized gatekeepers. + A global, self-healing network you can join. + Host nodes, deploy workloads, or build private AI systems, + all on infrastructure you own and control.
diff --git a/src/pages/home/HomePage.tsx b/src/pages/home/HomePage.tsx index 1fec74a..12e1e7a 100644 --- a/src/pages/home/HomePage.tsx +++ b/src/pages/home/HomePage.tsx @@ -1,3 +1,4 @@ +import { useRef } from 'react' import { AnimatedSection } from '../../components/AnimatedSection' import { HomeAurora } from './HomeAurora' import { StackSectionLight } from './StackSection' @@ -8,10 +9,15 @@ import { HomeSlider } from './HomeSlider' export default function HomePage() { + const sliderRef = useRef(null) + + const handleScrollToSlider = () => { + sliderRef.current?.scrollIntoView({ behavior: 'smooth' }) + } return (
- + @@ -23,7 +29,7 @@ export default function HomePage() { - +