flowfi-network/components/sections/RegenerativeSection.tsx

44 lines
1.6 KiB
TypeScript

'use client'
import SankeyDiagram from '@/components/visualizations/SankeyDiagram'
import SectionHeader from '@/components/ui/SectionHeader'
import ScrollReveal from '@/components/ui/ScrollReveal'
import { regenerativeFlows } from '@/lib/sankey-data'
export default function RegenerativeSection() {
return (
<section className="min-h-screen flex flex-col items-center justify-center relative px-4 py-24">
<div className="absolute inset-0 bg-gradient-to-b from-deep via-ocean to-deep" />
{/* Green life glow */}
<div
className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[700px] h-[500px] rounded-full"
style={{ background: 'radial-gradient(ellipse, rgba(45, 212, 191, 0.06) 0%, transparent 60%)' }}
/>
<div className="relative z-10 max-w-5xl w-full text-center">
<SectionHeader>The Regenerative Alternative</SectionHeader>
<ScrollReveal delay={0.2}>
<div className="my-14 rounded-2xl overflow-hidden p-4 bg-ocean/30 border border-flow/10">
<SankeyDiagram
data={regenerativeFlows}
showLabels={true}
speed="normal"
showParticles={true}
showDistortion={true}
maxParticles={8}
/>
</div>
</ScrollReveal>
<ScrollReveal delay={0.4}>
<p className="font-caveat text-xl md:text-2xl text-foam/45 max-w-2xl mx-auto leading-relaxed">
<span className="text-flow/70">Pre-distributive</span>. <span className="text-flow/70">Re-distributive</span>. Naturally.
</p>
</ScrollReveal>
</div>
</section>
)
}