3 Commits

Author SHA1 Message Date
a6f8b2b5f5 Update src/app/page.tsx 2026-03-03 09:01:06 +00:00
77ba2bac33 Update src/app/layout.tsx 2026-03-03 09:01:05 +00:00
771bba7343 Merge version_1 into main
Merge version_1 into main
2026-03-03 08:53:29 +00:00
2 changed files with 40 additions and 140 deletions

View File

@@ -5,36 +5,21 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag"; import Tag from "@/tag/Tag";
const publicSans = Public_Sans({ const publicSans = Public_Sans({
variable: "--font-public-sans", variable: "--font-public-sans", subsets: ["latin"],
subsets: ["latin"],
}); });
export const metadata: Metadata = { export const metadata: Metadata = {
title: "True Unity - Supporting African Communities", title: "True Unity - Supporting African Communities", description: "True Unity connects UK supporters with African communities, delivering sustainable impact through education, healthcare, and economic empowerment programs.", keywords: "nonprofit, Africa, education, healthcare, community development, UK charity, volunteering, donations", metadataBase: new URL("https://trueunity.org"),
description: "True Unity connects UK supporters with African communities, delivering sustainable impact through education, healthcare, and economic empowerment programs.",
keywords: "nonprofit, Africa, education, healthcare, community development, UK charity, volunteering, donations",
metadataBase: new URL("https://trueunity.org"),
alternates: { alternates: {
canonical: "https://trueunity.org", canonical: "https://trueunity.org"},
},
openGraph: { openGraph: {
title: "True Unity - Supporting African Communities", title: "True Unity - Supporting African Communities", description: "Building stronger communities together across Africa through education, healthcare, and economic empowerment.", url: "https://trueunity.org", siteName: "True Unity", type: "website", images: [
description: "Building stronger communities together across Africa through education, healthcare, and economic empowerment.",
url: "https://trueunity.org",
siteName: "True Unity",
type: "website",
images: [
{ {
url: "http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628462.jpg", url: "http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628462.jpg", alt: "True Unity - Supporting African Communities"},
alt: "True Unity - Supporting African Communities",
},
], ],
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image", title: "True Unity - Supporting African Communities", description: "Building stronger communities together across Africa.", images: ["http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628462.jpg"],
title: "True Unity - Supporting African Communities",
description: "Building stronger communities together across Africa.",
images: ["http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628462.jpg"],
}, },
robots: { robots: {
index: true, index: true,

View File

@@ -23,9 +23,7 @@ export default function HomePage() {
]; ];
const navButton = { const navButton = {
text: "Donate Now", text: "Donate Now", href: "/contact"};
href: "/contact",
};
return ( return (
<ThemeProvider <ThemeProvider
@@ -58,39 +56,23 @@ export default function HomePage() {
background={{ variant: "radial-gradient" }} background={{ variant: "radial-gradient" }}
leftCarouselItems={[ leftCarouselItems={[
{ {
imageSrc: "http://img.b2bpic.net/free-photo/multiethnic-scholars-library-engaged-remote-learning-with-their-mentor_482257-119542.jpg?_wi=1", imageSrc: "http://img.b2bpic.net/free-photo/multiethnic-scholars-library-engaged-remote-learning-with-their-mentor_482257-119542.jpg?_wi=1", imageAlt: "community education classroom learning"},
imageAlt: "community education classroom learning",
},
{ {
imageSrc: "http://img.b2bpic.net/free-photo/happy-black-pediatrician-talking-little-girl-who-came-with-mother-clinic-covid19-pandemic_637285-11232.jpg?_wi=1", imageSrc: "http://img.b2bpic.net/free-photo/happy-black-pediatrician-talking-little-girl-who-came-with-mother-clinic-covid19-pandemic_637285-11232.jpg?_wi=1", imageAlt: "healthcare medical clinic community"},
imageAlt: "healthcare medical clinic community",
},
{ {
imageSrc: "http://img.b2bpic.net/free-photo/yoga-class-concept_53876-31177.jpg", imageSrc: "http://img.b2bpic.net/free-photo/yoga-class-concept_53876-31177.jpg", imageAlt: "youth training workshop empowerment"},
imageAlt: "youth training workshop empowerment",
},
{ {
imageSrc: "http://img.b2bpic.net/free-photo/happy-diverse-people-enjoying-park_53876-63295.jpg?_wi=1", imageSrc: "http://img.b2bpic.net/free-photo/happy-diverse-people-enjoying-park_53876-63295.jpg?_wi=1", imageAlt: "village community gathering people"},
imageAlt: "village community gathering people",
},
]} ]}
rightCarouselItems={[ rightCarouselItems={[
{ {
imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-black-male-child-writing-notebook_181624-46286.jpg", imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-black-male-child-writing-notebook_181624-46286.jpg", imageAlt: "school children education africa"},
imageAlt: "school children education africa",
},
{ {
imageSrc: "http://img.b2bpic.net/free-photo/happy-black-pediatrician-talking-little-girl-who-came-with-mother-clinic-covid19-pandemic_637285-11232.jpg?_wi=2", imageSrc: "http://img.b2bpic.net/free-photo/happy-black-pediatrician-talking-little-girl-who-came-with-mother-clinic-covid19-pandemic_637285-11232.jpg?_wi=2", imageAlt: "medical outreach healthcare clinic"},
imageAlt: "medical outreach healthcare clinic",
},
{ {
imageSrc: "http://img.b2bpic.net/free-photo/young-manual-worker-presenting-new-business-strategy-company-managers-his-colleagues-factory_637285-4142.jpg", imageSrc: "http://img.b2bpic.net/free-photo/young-manual-worker-presenting-new-business-strategy-company-managers-his-colleagues-factory_637285-4142.jpg", imageAlt: "skill training vocational workshop"},
imageAlt: "skill training vocational workshop",
},
{ {
imageSrc: "http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628462.jpg", imageSrc: "http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628462.jpg", imageAlt: "community celebration gathering people"},
imageAlt: "community celebration gathering people",
},
]} ]}
carouselPosition="right" carouselPosition="right"
buttons={[ buttons={[
@@ -122,13 +104,8 @@ export default function HomePage() {
tagAnimation="slide-up" tagAnimation="slide-up"
features={[ features={[
{ {
id: "1", id: "1", title: "Educational Access", description: "We provide scholarships, school supplies, and teacher training to ensure children in underserved communities receive quality education and have pathways to brighter futures.", media: {
title: "Educational Access", imageSrc: "http://img.b2bpic.net/free-photo/groupmates-learning-university-girl-looking-camera_7502-9428.jpg?_wi=1", imageAlt: "education students classroom learning"},
description: "We provide scholarships, school supplies, and teacher training to ensure children in underserved communities receive quality education and have pathways to brighter futures.",
media: {
imageSrc: "http://img.b2bpic.net/free-photo/groupmates-learning-university-girl-looking-camera_7502-9428.jpg?_wi=1",
imageAlt: "education students classroom learning",
},
items: [ items: [
{ icon: BookOpen, text: "Scholarships for talented students" }, { icon: BookOpen, text: "Scholarships for talented students" },
{ icon: Users, text: "Teacher development programs" }, { icon: Users, text: "Teacher development programs" },
@@ -137,13 +114,8 @@ export default function HomePage() {
reverse: false, reverse: false,
}, },
{ {
id: "2", id: "2", title: "Healthcare Initiatives", description: "Our medical teams provide preventative care, health education, and treatment services to remote villages, addressing critical health disparities and improving community wellness.", media: {
title: "Healthcare Initiatives", imageSrc: "http://img.b2bpic.net/free-photo/female-doctor-listening-diverse-male-patients-clinic-lobby_482257-131184.jpg?_wi=1", imageAlt: "healthcare medical clinic patients"},
description: "Our medical teams provide preventative care, health education, and treatment services to remote villages, addressing critical health disparities and improving community wellness.",
media: {
imageSrc: "http://img.b2bpic.net/free-photo/female-doctor-listening-diverse-male-patients-clinic-lobby_482257-131184.jpg?_wi=1",
imageAlt: "healthcare medical clinic patients",
},
items: [ items: [
{ icon: Heart, text: "Mobile clinics and health camps" }, { icon: Heart, text: "Mobile clinics and health camps" },
{ icon: Pill, text: "Maternal and child health programs" }, { icon: Pill, text: "Maternal and child health programs" },
@@ -152,13 +124,8 @@ export default function HomePage() {
reverse: true, reverse: true,
}, },
{ {
id: "3", id: "3", title: "Economic Empowerment", description: "We equip individuals with vocational skills and microfinance support to create sustainable livelihoods, breaking cycles of poverty through economic opportunity and self-sufficiency.", media: {
title: "Economic Empowerment", imageSrc: "http://img.b2bpic.net/free-photo/general-manager-sharing-essential-information-with-his-team_482257-115962.jpg?_wi=1", imageAlt: "business entrepreneur training economic"},
description: "We equip individuals with vocational skills and microfinance support to create sustainable livelihoods, breaking cycles of poverty through economic opportunity and self-sufficiency.",
media: {
imageSrc: "http://img.b2bpic.net/free-photo/general-manager-sharing-essential-information-with-his-team_482257-115962.jpg?_wi=1",
imageAlt: "business entrepreneur training economic",
},
items: [ items: [
{ icon: Briefcase, text: "Vocational skills training" }, { icon: Briefcase, text: "Vocational skills training" },
{ icon: TrendingUp, text: "Microfinance and business support" }, { icon: TrendingUp, text: "Microfinance and business support" },
@@ -185,33 +152,16 @@ export default function HomePage() {
useInvertedBackground={false} useInvertedBackground={false}
metrics={[ metrics={[
{ {
id: "1", id: "1", title: "Students Supported", subtitle: "Across 12 African countries · Educational scholarships and programs", category: "Education", value: "2,500+"},
title: "Students Supported",
subtitle: "Across 12 African countries · Educational scholarships and programs",
category: "Education",
value: "2,500+",
},
{ {
id: "2", id: "2", title: "Lives Reached Through Healthcare", subtitle: "Medical outreach · Preventative care and treatment", category: "Healthcare", value: "15,000+"},
title: "Lives Reached Through Healthcare",
subtitle: "Medical outreach · Preventative care and treatment",
category: "Healthcare",
value: "15,000+",
},
{ {
id: "3", id: "3", title: "Entrepreneurs Empowered", subtitle: "Vocational training and microfinance · Economic stability", category: "Economic", value: "800+"},
title: "Entrepreneurs Empowered",
subtitle: "Vocational training and microfinance · Economic stability",
category: "Economic",
value: "800+",
},
{ {
id: "4", id: "4", title: "Active UK Supporters", subtitle: "Volunteers and donors · Committed to change", category: "Community", value: "3,200+"},
title: "Active UK Supporters", ]}
subtitle: "Volunteers and donors · Committed to change", buttons={[
category: "Community", { text: "Support These Programs", href: "/contact" },
value: "3,200+",
},
]} ]}
/> />
</div> </div>
@@ -225,41 +175,17 @@ export default function HomePage() {
useInvertedBackground={false} useInvertedBackground={false}
testimonials={[ testimonials={[
{ {
id: "1", id: "1", name: "Amara Okonkwo", imageSrc: "http://img.b2bpic.net/free-photo/happy-successful-business-leader_74855-2306.jpg?_wi=1", imageAlt: "portrait woman african professional"},
name: "Amara Okonkwo",
imageSrc: "http://img.b2bpic.net/free-photo/happy-successful-business-leader_74855-2306.jpg?_wi=1",
imageAlt: "portrait woman african professional",
},
{ {
id: "2", id: "2", name: "James Mwangi", imageSrc: "http://img.b2bpic.net/free-photo/classic-studio-portrait-black-american-male-dressed-suit-grey-vignette-background_613910-9558.jpg?_wi=1", imageAlt: "portrait man african professional"},
name: "James Mwangi",
imageSrc: "http://img.b2bpic.net/free-photo/classic-studio-portrait-black-american-male-dressed-suit-grey-vignette-background_613910-9558.jpg?_wi=1",
imageAlt: "portrait man african professional",
},
{ {
id: "3", id: "3", name: "Sarah Chen", imageSrc: "http://img.b2bpic.net/free-photo/confident-beautiful-young-businesswoman-looking-camera-head-shot-portrait_1163-4928.jpg?_wi=1", imageAlt: "portrait woman professional headshot"},
name: "Sarah Chen",
imageSrc: "http://img.b2bpic.net/free-photo/confident-beautiful-young-businesswoman-looking-camera-head-shot-portrait_1163-4928.jpg?_wi=1",
imageAlt: "portrait woman professional headshot",
},
{ {
id: "4", id: "4", name: "David Kofi", imageSrc: "http://img.b2bpic.net/free-photo/classic-studio-portrait-black-american-male-dressed-suit-grey-vignette-background_613910-9558.jpg?_wi=2", imageAlt: "portrait man african professional"},
name: "David Kofi",
imageSrc: "http://img.b2bpic.net/free-photo/classic-studio-portrait-black-american-male-dressed-suit-grey-vignette-background_613910-9558.jpg?_wi=2",
imageAlt: "portrait man african professional",
},
{ {
id: "5", id: "5", name: "Emma Thompson", imageSrc: "http://img.b2bpic.net/free-photo/confident-beautiful-young-businesswoman-looking-camera-head-shot-portrait_1163-4928.jpg?_wi=2", imageAlt: "portrait woman professional headshot"},
name: "Emma Thompson",
imageSrc: "http://img.b2bpic.net/free-photo/confident-beautiful-young-businesswoman-looking-camera-head-shot-portrait_1163-4928.jpg?_wi=2",
imageAlt: "portrait woman professional headshot",
},
{ {
id: "6", id: "6", name: "Kwame Asante", imageSrc: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2635.jpg?_wi=1", imageAlt: "portrait man african professional"},
name: "Kwame Asante",
imageSrc: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2635.jpg?_wi=1",
imageAlt: "portrait man african professional",
},
]} ]}
/> />
</div> </div>
@@ -274,15 +200,7 @@ export default function HomePage() {
textboxLayout="default" textboxLayout="default"
useInvertedBackground={false} useInvertedBackground={false}
names={[ names={[
"Global Health Initiative", "Global Health Initiative", "African Education Alliance", "International Relief Fund", "Community Development Network", "Healthcare Without Borders", "Economic Empowerment Foundation", "Local Government Partners", "UK Charity Commission"]}
"African Education Alliance",
"International Relief Fund",
"Community Development Network",
"Healthcare Without Borders",
"Economic Empowerment Foundation",
"Local Government Partners",
"UK Charity Commission",
]}
speed={40} speed={40}
showCard={true} showCard={true}
/> />
@@ -306,8 +224,7 @@ export default function HomePage() {
copyrightText="© 2025 True Unity. Supporting communities across Africa." copyrightText="© 2025 True Unity. Supporting communities across Africa."
columns={[ columns={[
{ {
title: "Organization", title: "Organization", items: [
items: [
{ label: "About Us", href: "/about" }, { label: "About Us", href: "/about" },
{ label: "Our Programs", href: "/our-work" }, { label: "Our Programs", href: "/our-work" },
{ label: "Impact Reports", href: "#" }, { label: "Impact Reports", href: "#" },
@@ -315,8 +232,7 @@ export default function HomePage() {
], ],
}, },
{ {
title: "Get Involved", title: "Get Involved", items: [
items: [
{ label: "Donate", href: "/contact" }, { label: "Donate", href: "/contact" },
{ label: "Volunteer", href: "/contact" }, { label: "Volunteer", href: "/contact" },
{ label: "Partner With Us", href: "/contact" }, { label: "Partner With Us", href: "/contact" },
@@ -324,8 +240,7 @@ export default function HomePage() {
], ],
}, },
{ {
title: "Legal", title: "Legal", items: [
items: [
{ label: "Privacy Policy", href: "#" }, { label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" }, { label: "Terms of Service", href: "#" },
{ label: "Transparency", href: "#" }, { label: "Transparency", href: "#" },