Mirrored from https://github.com/Camo67/OCIU-npo.git
Synced Nov 21, 06:00 UTC
fix/ociu-hero-navigation-20261109
| 1 | import { Button } from "@/components/ui/button"; |
| 2 | import logoSquare from "@/assets/logo-square.png"; |
| 3 | import { ArrowRight } from "lucide-react"; |
| 4 | |
| 5 | export const Hero = () => { |
| 6 | return ( |
| 7 | <section className="relative min-h-screen pt-24 pb-12 flex items-center justify-center bg-gradient-hero overflow-hidden"> |
| 8 | {/* Animated background elements */} |
| 9 | <div className="absolute inset-0 opacity-20"> |
| 10 | <div className="absolute top-20 left-10 w-72 h-72 bg-white rounded-full blur-3xl animate-float" /> |
| 11 | <div className="absolute bottom-20 right-10 w-96 h-96 bg-white rounded-full blur-3xl animate-float" style={{ animationDelay: '1s' }} /> |
| 12 | </div> |
| 13 | |
| 14 | <div className="container mx-auto px-4 z-10"> |
| 15 | <div className="max-w-5xl mx-auto text-center space-y-8 animate-fade-in"> |
| 16 | {/* Logo */} |
| 17 | <div className="flex justify-center mb-8"> |
| 18 | <div className="inline-flex items-center justify-center rounded-[2rem] bg-[hsl(var(--logo-background))] p-4 md:p-6 shadow-2xl shadow-black/25"> |
| 19 | <img |
| 20 | src={logoSquare} |
| 21 | alt="Community & Unity Logo" |
| 22 | className="w-64 h-64 md:w-80 md:h-80" |
| 23 | /> |
| 24 | </div> |
| 25 | </div> |
| 26 | |
| 27 | {/* Main Heading */} |
| 28 | <h1 className="text-5xl md:text-7xl font-bold text-white leading-tight"> |
| 29 | Our Community in Unity (OCIU) |
| 30 | </h1> |
| 31 | |
| 32 | {/* Motto */} |
| 33 | <p className="text-2xl md:text-3xl text-white/90 font-semibold"> |
| 34 | Learn, Build, Earn |
| 35 | </p> |
| 36 | |
| 37 | {/* Tagline */} |
| 38 | <p className="text-xl md:text-2xl text-white/80 max-w-3xl mx-auto"> |
| 39 | Empowering communities to learn, build, and support community growth. |
| 40 | </p> |
| 41 | |
| 42 | {/* CTA Buttons */} |
| 43 | <div className="flex flex-col sm:flex-row gap-4 justify-center items-center pt-8"> |
| 44 | <Button asChild size="lg" variant="growth" className="min-w-[200px]"> |
| 45 | <a href="#join"> |
| 46 | Get Involved |
| 47 | <ArrowRight className="ml-2 h-5 w-5" aria-hidden="true" /> |
| 48 | </a> |
| 49 | </Button> |
| 50 | <Button asChild size="lg" variant="energy" className="min-w-[200px]"> |
| 51 | <a href="#mission">Explore Our Work</a> |
| 52 | </Button> |
| 53 | </div> |
| 54 | |
| 55 | </div> |
| 56 | </div> |
| 57 | </section> |
| 58 | ); |
| 59 | }; |