Merge version_1 into main #1
243
src/app/page.tsx
243
src/app/page.tsx
@@ -31,26 +31,11 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
{
|
||||
name: "About",
|
||||
id: "about",
|
||||
},
|
||||
{
|
||||
name: "Impact",
|
||||
id: "metrics",
|
||||
},
|
||||
{
|
||||
name: "How it Works",
|
||||
id: "features",
|
||||
},
|
||||
{
|
||||
name: "Donate",
|
||||
id: "contact",
|
||||
},
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Impact", id: "metrics" },
|
||||
{ name: "How it Works", id: "features" },
|
||||
{ name: "Donate", id: "contact" },
|
||||
]}
|
||||
brandName="BloodBridge"
|
||||
/>
|
||||
@@ -58,78 +43,32 @@ export default function LandingPage() {
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitKpi
|
||||
background={{
|
||||
variant: "sparkles-gradient",
|
||||
}}
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
title="Your Blood, Someone's Lifeline"
|
||||
description="Connecting volunteer donors with hospitals instantly. Join the bridge that saves lives every single day."
|
||||
kpis={[
|
||||
{
|
||||
value: "50K+",
|
||||
label: "Donors",
|
||||
},
|
||||
{
|
||||
value: "120+",
|
||||
label: "Hospitals",
|
||||
},
|
||||
{
|
||||
value: "1M+",
|
||||
label: "Lives Saved",
|
||||
},
|
||||
{ value: "50K+", label: "Donors" },
|
||||
{ value: "120+", label: "Hospitals" },
|
||||
{ value: "1M+", label: "Lives Saved" },
|
||||
]}
|
||||
enableKpiAnimation={true}
|
||||
buttons={[
|
||||
{
|
||||
text: "Start Donating",
|
||||
href: "#contact",
|
||||
},
|
||||
]}
|
||||
buttons={[{ text: "Start Donating", href: "#contact" }]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/3d-character-emerging-from-smartphone_23-2151336497.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/face-recognition-personal-identification-collage_23-2150165579.jpg",
|
||||
alt: "Face recognition and personal identification collage",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/medium-shot-health-workers-with-smartphone_23-2148894929.jpg",
|
||||
alt: "Medium shot health workers with smartphone",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/woman-sits-mat-uses-smartphone-online-workout-concept_169016-47282.jpg",
|
||||
alt: "A woman sits on a mat and uses a smartphone online workout concept",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/friends-reunited-after-covid-pandemic_23-2149490370.jpg",
|
||||
alt: "Friends reunited after covid pandemic",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/young-man-woman-wearing-volunteer-t-shirt-donations-stand-annoyed-frustrated-shouting-with-anger-yelling-crazy-with-anger-hand-raised_839833-10642.jpg",
|
||||
alt: "smiling donor portrait",
|
||||
},
|
||||
{ src: "http://img.b2bpic.net/free-photo/face-recognition-personal-identification-collage_23-2150165579.jpg", alt: "Face recognition and personal identification collage" },
|
||||
{ src: "http://img.b2bpic.net/free-photo/medium-shot-health-workers-with-smartphone_23-2148894929.jpg", alt: "Medium shot health workers with smartphone" },
|
||||
{ src: "http://img.b2bpic.net/free-photo/woman-sits-mat-uses-smartphone-online-workout-concept_169016-47282.jpg", alt: "A woman sits on a mat and uses a smartphone online workout concept" },
|
||||
{ src: "http://img.b2bpic.net/free-photo/friends-reunited-after-covid-pandemic_23-2149490370.jpg", alt: "Friends reunited after covid pandemic" },
|
||||
{ src: "http://img.b2bpic.net/free-photo/young-man-woman-wearing-volunteer-t-shirt-donations-stand-annoyed-frustrated-shouting-with-anger-yelling-crazy-with-anger-hand-raised_839833-10642.jpg", alt: "smiling donor portrait" },
|
||||
]}
|
||||
avatarText="Join 50,000+ donors"
|
||||
marqueeItems={[
|
||||
{
|
||||
type: "text",
|
||||
text: "Urgent Need: O Negative",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Live Updates",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Safe & Secure",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "24/7 Matching",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Community Powered",
|
||||
},
|
||||
{ type: "text", text: "Urgent Need: O Negative" },
|
||||
{ type: "text", text: "Live Updates" },
|
||||
{ type: "text", text: "Safe & Secure" },
|
||||
{ type: "text", text: "24/7 Matching" },
|
||||
{ type: "text", text: "Community Powered" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -138,12 +77,7 @@ export default function LandingPage() {
|
||||
<TextAbout
|
||||
useInvertedBackground={false}
|
||||
title="Bridging the Gap Between Need and Supply"
|
||||
buttons={[
|
||||
{
|
||||
text: "Learn Our Mission",
|
||||
href: "#",
|
||||
},
|
||||
]}
|
||||
buttons={[{ text: "Learn Our Mission", href: "#" }]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -154,21 +88,9 @@ export default function LandingPage() {
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={true}
|
||||
metrics={[
|
||||
{
|
||||
id: "m1",
|
||||
value: "24/7",
|
||||
description: "Active Monitoring",
|
||||
},
|
||||
{
|
||||
id: "m2",
|
||||
value: "99%",
|
||||
description: "Matching Efficiency",
|
||||
},
|
||||
{
|
||||
id: "m3",
|
||||
value: "500+",
|
||||
description: "Daily Donations",
|
||||
},
|
||||
{ id: "m1", value: "24/7", description: "Active Monitoring" },
|
||||
{ id: "m2", value: "99%", description: "Matching Efficiency" },
|
||||
{ id: "m3", value: "500+", description: "Daily Donations" },
|
||||
]}
|
||||
title="Our Impact Metrics"
|
||||
description="Numbers that define our journey."
|
||||
@@ -181,21 +103,9 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
icon: Shield,
|
||||
title: "Verified Donors",
|
||||
description: "Full vetting process ensures safe supply.",
|
||||
},
|
||||
{
|
||||
icon: Zap,
|
||||
title: "Real-time Matching",
|
||||
description: "Get notified when hospitals need your blood type.",
|
||||
},
|
||||
{
|
||||
icon: Users,
|
||||
title: "Community Network",
|
||||
description: "Connect with local donors near you.",
|
||||
},
|
||||
{ icon: Shield, title: "Verified Donors", description: "Full vetting process ensures safe supply." },
|
||||
{ icon: Zap, title: "Real-time Matching", description: "Get notified when hospitals need your blood type." },
|
||||
{ icon: Users, title: "Community Network", description: "Connect with local donors near you." },
|
||||
]}
|
||||
title="Features That Bridge Lives"
|
||||
description="Technology built for speed, safety, and community."
|
||||
@@ -204,24 +114,13 @@ export default function LandingPage() {
|
||||
|
||||
<div id="steps" data-section="steps">
|
||||
<FeatureHoverPattern
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={true}
|
||||
features={[
|
||||
{
|
||||
icon: UserPlus,
|
||||
title: "Create Profile",
|
||||
description: "Set your medical profile.",
|
||||
},
|
||||
{
|
||||
icon: Calendar,
|
||||
title: "Schedule Visit",
|
||||
description: "Find nearest center.",
|
||||
},
|
||||
{
|
||||
icon: Heart,
|
||||
title: "Save a Life",
|
||||
description: "Complete your donation.",
|
||||
},
|
||||
{ icon: UserPlus, title: "Create Profile", description: "Set your medical profile." },
|
||||
{ icon: Calendar, title: "Schedule Visit", description: "Find nearest center." },
|
||||
{ icon: Heart, title: "Save a Life", description: "Complete your donation." },
|
||||
]}
|
||||
title="Simple 3-Step Process"
|
||||
description="Making it easy to donate anytime."
|
||||
@@ -235,26 +134,11 @@ export default function LandingPage() {
|
||||
rating={5}
|
||||
author="Sarah M."
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/young-man-woman-wearing-volunteer-t-shirt-donations-stand-annoyed-frustrated-shouting-with-anger-yelling-crazy-with-anger-hand-raised_839833-10642.jpg",
|
||||
alt: "smiling donor portrait",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/team-doctors-standing-row_107420-84773.jpg",
|
||||
alt: "woman donating blood smiling",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-people-nature_23-2149181976.jpg",
|
||||
alt: "donor support team",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/aged-man-t-shirt_23-2148036537.jpg",
|
||||
alt: "senior man portrait",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-volunteers-outdoors_23-2149181977.jpg",
|
||||
alt: "young student donating blood",
|
||||
},
|
||||
{ src: "http://img.b2bpic.net/free-photo/young-man-woman-wearing-volunteer-t-shirt-donations-stand-annoyed-frustrated-shouting-with-anger-yelling-crazy-with-anger-hand-raised_839833-10642.jpg", alt: "smiling donor portrait" },
|
||||
{ src: "http://img.b2bpic.net/free-photo/team-doctors-standing-row_107420-84773.jpg", alt: "woman donating blood smiling" },
|
||||
{ src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-people-nature_23-2149181976.jpg", alt: "donor support team" },
|
||||
{ src: "http://img.b2bpic.net/free-photo/aged-man-t-shirt_23-2148036537.jpg", alt: "senior man portrait" },
|
||||
{ src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-volunteers-outdoors_23-2149181977.jpg", alt: "young student donating blood" },
|
||||
]}
|
||||
ratingAnimation="slide-up"
|
||||
avatarsAnimation="slide-up"
|
||||
@@ -265,21 +149,9 @@ export default function LandingPage() {
|
||||
<FaqSplitText
|
||||
useInvertedBackground={true}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "Is it safe?",
|
||||
content: "Absolutely. We follow all medical protocols.",
|
||||
},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Who can donate?",
|
||||
content: "Anyone between 18-65 in good health.",
|
||||
},
|
||||
{
|
||||
id: "f3",
|
||||
title: "How often?",
|
||||
content: "Typically every 8 weeks for whole blood.",
|
||||
},
|
||||
{ id: "f1", title: "Is it safe?", content: "Absolutely. We follow all medical protocols." },
|
||||
{ id: "f2", title: "Who can donate?", content: "Anyone between 18-65 in good health." },
|
||||
{ id: "f3", title: "How often?", content: "Typically every 8 weeks for whole blood." },
|
||||
]}
|
||||
sideTitle="Frequently Asked Questions"
|
||||
sideDescription="Everything you need to know about donating."
|
||||
@@ -290,18 +162,11 @@ export default function LandingPage() {
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactCTA
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "sparkles-gradient",
|
||||
}}
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
tag="Join Us"
|
||||
title="Ready to Save a Life?"
|
||||
description="Sign up as a volunteer donor today."
|
||||
buttons={[
|
||||
{
|
||||
text: "Register Now",
|
||||
href: "#",
|
||||
},
|
||||
]}
|
||||
buttons={[{ text: "Register Now", href: "#" }]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -309,29 +174,15 @@ export default function LandingPage() {
|
||||
<FooterBase
|
||||
columns={[
|
||||
{
|
||||
title: "Platform",
|
||||
items: [
|
||||
{
|
||||
label: "About",
|
||||
href: "#about",
|
||||
},
|
||||
{
|
||||
label: "Impact",
|
||||
href: "#metrics",
|
||||
},
|
||||
title: "Platform", items: [
|
||||
{ label: "About", href: "#about" },
|
||||
{ label: "Impact", href: "#metrics" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
{
|
||||
label: "FAQ",
|
||||
href: "#faq",
|
||||
},
|
||||
{
|
||||
label: "Contact",
|
||||
href: "#contact",
|
||||
},
|
||||
title: "Support", items: [
|
||||
{ label: "FAQ", href: "#faq" },
|
||||
{ label: "Contact", href: "#contact" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user