File size: 15,974 Bytes
78d0e31 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 |
"use client"
import { useState, useEffect } from "react"
import Link from "next/link"
import { Flame, Heart, Users, Globe, ArrowRight, Sparkles, Shield, Zap, TrendingUp } from "lucide-react"
import { Button } from "@/components/ui/button"
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"
import { Badge } from "@/components/ui/badge"
import ParticleBackground from "@/components/particle-background"
import FlameAnimation from "@/components/flame-animation"
import SoundEffects from "@/components/sound-effects"
import MostarAIAssistant from "@/components/ai-assistant"
const HomePage = () => {
const [mounted, setMounted] = useState(false)
const [activeSection, setActiveSection] = useState("hero")
useEffect(() => {
setMounted(true)
}, [])
if (!mounted) {
return (
<div className="min-h-screen bg-gradient-to-br from-orange-50 to-red-50 flex items-center justify-center">
<div className="text-center">
<Flame className="w-16 h-16 text-orange-500 animate-pulse mx-auto mb-4" />
<p className="text-gray-600">Loading FlameBorn Ubuntu...</p>
</div>
</div>
)
}
return (
<div className="min-h-screen bg-gradient-to-br from-orange-50 via-red-50 to-pink-50 relative overflow-hidden">
<ParticleBackground />
<SoundEffects />
{/* Hero Section */}
<section className="relative min-h-screen flex items-center justify-center px-4 sm:px-6 lg:px-8">
<div className="max-w-7xl mx-auto text-center">
<div className="mb-8">
<FlameAnimation />
</div>
<Badge variant="outline" className="mb-6 bg-white/80 backdrop-blur-sm border-orange-200">
<Sparkles className="w-4 h-4 mr-2" />
Ubuntu-Powered Healthcare Tokenization
</Badge>
<h1 className="text-4xl md:text-6xl lg:text-7xl font-bold text-gray-900 mb-6 leading-tight">
<span className="bg-gradient-to-r from-orange-600 to-red-600 bg-clip-text text-transparent">FlameBorn</span>
<br />
<span className="text-3xl md:text-4xl lg:text-5xl text-gray-700">I am because we are</span>
</h1>
<p className="text-xl md:text-2xl text-gray-600 mb-8 max-w-4xl mx-auto leading-relaxed">
Bridging traditional African Ubuntu philosophy with modern healthcare tokenization. Every birth registered,
every healer verified, every community connected through the power of blockchain.
</p>
<div className="flex flex-col sm:flex-row gap-4 justify-center items-center mb-12">
<Button asChild size="lg" className="bg-orange-500 hover:bg-orange-600 text-white px-8 py-3">
<Link href="/launch">
<Flame className="w-5 h-5 mr-2" />
Launch App
</Link>
</Button>
<Button asChild variant="outline" size="lg" className="px-8 py-3 bg-white/80 backdrop-blur-sm">
<Link href="/manifesto">
<Heart className="w-5 h-5 mr-2" />
Read Manifesto
</Link>
</Button>
<Button asChild variant="outline" size="lg" className="px-8 py-3 bg-white/80 backdrop-blur-sm">
<Link href="/analytics">
<TrendingUp className="w-5 h-5 mr-2" />
View Analytics
</Link>
</Button>
</div>
{/* Key Stats */}
<div className="grid grid-cols-2 md:grid-cols-4 gap-4 max-w-4xl mx-auto">
<div className="bg-white/80 backdrop-blur-sm rounded-lg p-4 border border-orange-100">
<div className="text-2xl font-bold text-orange-600">1,247</div>
<div className="text-sm text-gray-600">Healthcare Workers</div>
</div>
<div className="bg-white/80 backdrop-blur-sm rounded-lg p-4 border border-orange-100">
<div className="text-2xl font-bold text-red-600">523</div>
<div className="text-sm text-gray-600">Births Verified</div>
</div>
<div className="bg-white/80 backdrop-blur-sm rounded-lg p-4 border border-orange-100">
<div className="text-2xl font-bold text-blue-600">$125K</div>
<div className="text-sm text-gray-600">Donations Distributed</div>
</div>
<div className="bg-white/80 backdrop-blur-sm rounded-lg p-4 border border-orange-100">
<div className="text-2xl font-bold text-green-600">94%</div>
<div className="text-sm text-gray-600">Impact Score</div>
</div>
</div>
</div>
</section>
{/* Ubuntu Philosophy Section */}
<section className="py-20 px-4 sm:px-6 lg:px-8 bg-white/50 backdrop-blur-sm">
<div className="max-w-7xl mx-auto">
<div className="text-center mb-16">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">Ubuntu: The Heart of FlameBorn</h2>
<p className="text-xl text-gray-600 max-w-3xl mx-auto">
"Umuntu ngumuntu ngabantu" - A person is a person through other persons. This ancient African wisdom
guides our approach to healthcare tokenization.
</p>
</div>
<div className="grid grid-cols-1 md:grid-cols-3 gap-8">
<Card className="border-orange-200 bg-white/80 backdrop-blur-sm">
<CardHeader>
<Heart className="w-12 h-12 text-red-500 mb-4" />
<CardTitle>Interconnectedness</CardTitle>
<CardDescription>
Every token represents our shared humanity and collective responsibility for health
</CardDescription>
</CardHeader>
<CardContent>
<p className="text-gray-600">
In Ubuntu philosophy, individual wellness is inseparable from community health. Our tokens create
digital bonds that strengthen real-world healing networks.
</p>
</CardContent>
</Card>
<Card className="border-orange-200 bg-white/80 backdrop-blur-sm">
<CardHeader>
<Users className="w-12 h-12 text-blue-500 mb-4" />
<CardTitle>Collective Prosperity</CardTitle>
<CardDescription>
When one thrives, we all thrive - tokenomics designed for shared abundance
</CardDescription>
</CardHeader>
<CardContent>
<p className="text-gray-600">
Our distribution model ensures that healthcare workers, communities, and supporters all benefit from
the network's growth and success.
</p>
</CardContent>
</Card>
<Card className="border-orange-200 bg-white/80 backdrop-blur-sm">
<CardHeader>
<Globe className="w-12 h-12 text-green-500 mb-4" />
<CardTitle>Cultural Bridge</CardTitle>
<CardDescription>Honoring traditional wisdom while embracing technological innovation</CardDescription>
</CardHeader>
<CardContent>
<p className="text-gray-600">
We bridge ancient African healing traditions with modern blockchain technology, creating a culturally
respectful path to global healthcare equity.
</p>
</CardContent>
</Card>
</div>
</div>
</section>
{/* How It Works Section */}
<section className="py-20 px-4 sm:px-6 lg:px-8">
<div className="max-w-7xl mx-auto">
<div className="text-center mb-16">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">How FlameBorn Works</h2>
<p className="text-xl text-gray-600 max-w-3xl mx-auto">
A simple, powerful system that rewards healthcare impact and builds community wealth
</p>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
<div className="text-center">
<div className="bg-orange-100 rounded-full w-16 h-16 flex items-center justify-center mx-auto mb-4">
<Shield className="w-8 h-8 text-orange-600" />
</div>
<h3 className="text-xl font-semibold mb-2">Register</h3>
<p className="text-gray-600">Healthcare workers verify their credentials and join the Ubuntu network</p>
</div>
<div className="text-center">
<div className="bg-blue-100 rounded-full w-16 h-16 flex items-center justify-center mx-auto mb-4">
<Zap className="w-8 h-8 text-blue-600" />
</div>
<h3 className="text-xl font-semibold mb-2">Serve</h3>
<p className="text-gray-600">Provide healthcare services and register births in their communities</p>
</div>
<div className="text-center">
<div className="bg-green-100 rounded-full w-16 h-16 flex items-center justify-center mx-auto mb-4">
<Flame className="w-8 h-8 text-green-600" />
</div>
<h3 className="text-xl font-semibold mb-2">Earn</h3>
<p className="text-gray-600">Receive FLAME tokens for verified healthcare impact and community service</p>
</div>
<div className="text-center">
<div className="bg-purple-100 rounded-full w-16 h-16 flex items-center justify-center mx-auto mb-4">
<Heart className="w-8 h-8 text-purple-600" />
</div>
<h3 className="text-xl font-semibold mb-2">Grow</h3>
<p className="text-gray-600">
Build wealth together as the network creates lasting healthcare infrastructure
</p>
</div>
</div>
</div>
</section>
{/* AI Assistant Section */}
<section className="py-20 px-4 sm:px-6 lg:px-8 bg-white/50 backdrop-blur-sm">
<div className="max-w-7xl mx-auto">
<div className="text-center mb-12">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">Meet Mostar, Your Ubuntu AI Guide</h2>
<p className="text-xl text-gray-600 max-w-3xl mx-auto">
Ask questions about FlameBorn, Ubuntu philosophy, African wisdom, or healthcare tokenization. Mostar
embodies the spirit of "I am because we are."
</p>
</div>
<div className="flex justify-center">
<MostarAIAssistant />
</div>
</div>
</section>
{/* Call to Action Section */}
<section className="py-20 px-4 sm:px-6 lg:px-8">
<div className="max-w-4xl mx-auto text-center">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-6">Join the Ubuntu Healthcare Revolution</h2>
<p className="text-xl text-gray-600 mb-8">
Together, we can create a world where every birth is celebrated, every healer is supported, and every
community thrives.
</p>
<div className="flex flex-col sm:flex-row gap-4 justify-center items-center">
<Button
asChild
size="lg"
className="bg-gradient-to-r from-orange-500 to-red-500 hover:from-orange-600 hover:to-red-600 text-white px-8 py-3"
>
<Link href="/register/healer">
<Shield className="w-5 h-5 mr-2" />
Become a Healer
</Link>
</Button>
<Button asChild variant="outline" size="lg" className="px-8 py-3 bg-white/80 backdrop-blur-sm">
<Link href="/register/guardian">
<Users className="w-5 h-5 mr-2" />
Join as Guardian
</Link>
</Button>
<Button asChild variant="outline" size="lg" className="px-8 py-3 bg-white/80 backdrop-blur-sm">
<Link href="/community-pulse">
<Globe className="w-5 h-5 mr-2" />
Explore Community
<ArrowRight className="w-4 h-4 ml-2" />
</Link>
</Button>
</div>
</div>
</section>
{/* Footer */}
<footer className="bg-gray-900 text-white py-12 px-4 sm:px-6 lg:px-8">
<div className="max-w-7xl mx-auto">
<div className="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div className="flex items-center space-x-2 mb-4">
<Flame className="w-8 h-8 text-orange-500" />
<span className="text-xl font-bold">FlameBorn</span>
</div>
<p className="text-gray-400">Ubuntu-powered healthcare tokenization for a connected world.</p>
</div>
<div>
<h3 className="text-lg font-semibold mb-4">Platform</h3>
<ul className="space-y-2 text-gray-400">
<li>
<Link href="/launch" className="hover:text-white">
Launch App
</Link>
</li>
<li>
<Link href="/analytics" className="hover:text-white">
Analytics
</Link>
</li>
<li>
<Link href="/token-system" className="hover:text-white">
Token System
</Link>
</li>
<li>
<Link href="/smart-contracts" className="hover:text-white">
Smart Contracts
</Link>
</li>
</ul>
</div>
<div>
<h3 className="text-lg font-semibold mb-4">Community</h3>
<ul className="space-y-2 text-gray-400">
<li>
<Link href="/guardians-sanctuary" className="hover:text-white">
Guardians Sanctuary
</Link>
</li>
<li>
<Link href="/flameborn-journey" className="hover:text-white">
FlameBorn Journey
</Link>
</li>
<li>
<Link href="/community-pulse" className="hover:text-white">
Community Pulse
</Link>
</li>
<li>
<Link href="/healers" className="hover:text-white">
Find Healers
</Link>
</li>
</ul>
</div>
<div>
<h3 className="text-lg font-semibold mb-4">Learn</h3>
<ul className="space-y-2 text-gray-400">
<li>
<Link href="/manifesto" className="hover:text-white">
Manifesto
</Link>
</li>
<li>
<Link href="/learn-earn" className="hover:text-white">
Learn & Earn
</Link>
</li>
<li>
<Link href="/legal" className="hover:text-white">
Legal
</Link>
</li>
<li>
<Link href="/test-proverbs" className="hover:text-white">
Ubuntu Wisdom
</Link>
</li>
</ul>
</div>
</div>
<div className="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
<p>© 2024 FlameBorn. Built with Ubuntu philosophy. "I am because we are."</p>
</div>
</div>
</footer>
</div>
)
}
export default HomePage
|