{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "homepage", "type": "registry:block", "dependencies": [ "lucide-react" ], "registryDependencies": [ "badge", "button", "card", "input", "label" ], "files": [ { "path": "registry/new-york/homepage/homepage.tsx", "content": "\"use client\"\n\nimport { useState } from \"react\";\nimport { Button } from \"@/components/ui/button\";\nimport { Input } from \"@/components/ui/input\";\nimport { Card, CardContent } from \"@/components/ui/card\";\nimport { Badge } from \"@/components/ui/badge\";\nimport { Label } from \"@/components/ui/label\";\nimport {\n Globe,\n Lightbulb,\n FileText,\n Menu,\n X,\n ArrowRight,\n Mail,\n MapPin,\n ChevronRight,\n Heart,\n Users,\n Quote,\n} from \"lucide-react\";\n\n// Brand colors matching GW\nconst brandColors = {\n navy: \"#0a2240\",\n navyLight: \"#1a3a5c\",\n gold: \"#c9a227\",\n goldLight: \"#d4b84a\",\n cream: \"#f5f1e8\",\n warmWhite: \"#faf9f7\",\n};\n\n// Navigation Component\nfunction Navigation() {\n const [isOpen, setIsOpen] = useState(false);\n const navItems = [\"Home\", \"About\", \"Team\", \"News\", \"Projects\", \"Innovations\", \"Publications\", \"Contact\"];\n\n return (\n \n );\n}\n\n// Hero Section\nfunction HeroSection() {\n return (\n
\n {/* Background Pattern */}\n
\n
\n
\n
\n\n
\n
\n {/* Content */}\n
\n \n The George Washington University\n \n

\n Center for
\n Global Mental Health\n

\n

\n Partnering with communities worldwide to promote mental health equity,\n dismantle stigma, and develop sustainable strategies for lasting change.\n

\n
\n \n \n
\n
\n\n {/* Image */}\n
\n
\n \n
\n
\n {/* Floating Stats Card */}\n \n
\n
\n
\n
\n );\n}\n\n// Who We Are Section\nfunction WhoWeAreSection() {\n return (\n
\n
\n
\n {/* Content */}\n
\n
\n
\n About Us\n
\n

\n Who We Are\n

\n
\n

\n Across the world, access to quality mental health care should be a human right.\n At the George Washington University Center for Global Mental Health Equity, we\n partner with communities to promote their existing resources and develop\n sustainable strategies for their unique needs.\n

\n

\n By embracing the cultural richness of our partners, our research serves to better\n identify people in need, dismantle the fear and stigma that block access to care,\n and empower community members to be effective providers for each other.\n

\n
\n
\n
\n
\n \n
\n
\n

Community-Centered

\n

Local partnerships

\n
\n
\n
\n
\n \n
\n
\n

Global Reach

\n

Worldwide impact

\n
\n
\n
\n \n
\n\n {/* Image Grid */}\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n
\n );\n}\n\n// What We Do Section\nfunction WhatWeDoSection() {\n const services = [\n {\n icon: Globe,\n title: \"Projects\",\n description: \"See the center's current projects across the globe and learn about collaboration opportunities.\",\n color: brandColors.navy,\n },\n {\n icon: Lightbulb,\n title: \"Innovations\",\n description: \"Find out about the center's latest technologies and innovations as well as how to implement them.\",\n color: brandColors.gold,\n },\n {\n icon: FileText,\n title: \"Publications\",\n description: \"Our latest work and publications in popular news media and most credible academic journals.\",\n color: brandColors.navyLight,\n },\n ];\n\n return (\n
\n
\n {/* Header */}\n
\n
\n
\n Our Work\n
\n
\n

\n What We Do\n

\n

\n Driving change through research, innovation, and community partnerships\n

\n
\n\n {/* Cards */}\n
\n {services.map((service) => (\n \n \n \n \n
\n

\n {service.title}\n

\n

\n {service.description}\n

\n \n \n {/* Accent line */}\n
\n \n ))}\n
\n
\n
\n );\n}\n\n// Latest News Section\nfunction LatestNewsSection() {\n const news = [\n {\n tag: \"Visitor Posts\",\n tagColor: brandColors.gold,\n title: \"From Community to Global Mental Health: Experience of a Visiting Research Associate\",\n author: \"Dr. Sudhamsu Gautam\",\n date: \"Aug 4, 2025\",\n readTime: \"2 min read\",\n image: \"https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=400&h=300&fit=crop\",\n },\n {\n tag: \"Staff Posts\",\n tagColor: brandColors.navyLight,\n title: \"A Heartfelt Thank You from the Nepal Mental Health Research Network Webinar Series\",\n author: \"Ritika Singh, MSc\",\n date: \"Jul 9, 2025\",\n readTime: \"2 min read\",\n image: \"https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?w=400&h=300&fit=crop\",\n },\n {\n tag: \"Spotlight\",\n tagColor: brandColors.navy,\n title: \"Healing After Disaster: Dr. Jun Shigemura on Stigma in Mental Health\",\n author: \"Staff Writer\",\n date: \"Jul 3, 2025\",\n readTime: \"2 min read\",\n image: \"https://images.unsplash.com/photo-1559027615-cd4628902d4a?w=400&h=300&fit=crop\",\n },\n ];\n\n return (\n
\n
\n {/* Header */}\n
\n
\n
\n
\n Stay Informed\n
\n

\n Latest News\n

\n
\n \n
\n\n {/* News Cards */}\n
\n {news.map((item, index) => (\n \n
\n \n
\n \n {item.tag}\n \n
\n
\n \n

\n {item.title}\n

\n
\n {item.author}\n {item.readTime}\n
\n

{item.date}

\n
\n
\n ))}\n
\n
\n
\n );\n}\n\n// Testimonial Section\nfunction TestimonialSection() {\n return (\n
\n {/* Background decoration */}\n
\n
\n\n
\n
\n
\n \n
\n
\n \"Partnering with the Center for Mental Health Equity has been invaluable. Their dedication\n to addressing mental health disparities and creating inclusive solutions has helped us\n reach underserved communities and implement impactful programs. They are a crucial\n ally in promoting global mental health equity.\"\n
\n
\n
\n
\n

Claudia Sartor

\n

Global Mental Health Peer Network

\n
\n
\n
\n
\n
\n );\n}\n\n// Newsletter Section\nfunction NewsletterSection() {\n const [email, setEmail] = useState(\"\");\n\n return (\n
\n
\n \n \n
\n
\n \n
\n

\n Subscribe to Our Newsletter\n

\n

\n Stay updated with our latest research, events, and global initiatives\n

\n
\n setEmail(e.target.value)}\n className=\"flex-1 h-12\"\n />\n \n \n

\n By subscribing, you agree to receive our newsletter and updates\n

\n
\n
\n
\n
\n
\n );\n}\n\n// Map Section\nfunction MapSection() {\n return (\n
\n
\n
\n
\n
\n Global Impact\n
\n
\n

\n Where We Work\n

\n

\n Our partnerships span across continents, bringing mental health equity to communities worldwide\n

\n
\n\n {/* World Map Placeholder */}\n
\n
\n \n {/* Simplified world map outline */}\n \n {/* Location dots */}\n {[\n { x: 200, y: 180, label: \"Americas\" },\n { x: 450, y: 160, label: \"Europe\" },\n { x: 550, y: 200, label: \"Africa\" },\n { x: 700, y: 170, label: \"Asia\" },\n { x: 800, y: 280, label: \"Oceania\" },\n ].map((loc, i) => (\n \n \n \n \n ))}\n \n
\n
\n {[\"Americas\", \"Europe\", \"Africa\", \"Asia\", \"Oceania\"].map((region) => (\n
\n \n {region}\n
\n ))}\n
\n
\n
\n
\n );\n}\n\n// Footer\nfunction Footer() {\n return (\n \n );\n}\n\n// Main Page Component\nexport function HomePage() {\n return (\n
\n \n \n \n \n \n \n \n \n
\n );\n}\n", "type": "registry:component" } ] }