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";
const publicSans = Public_Sans({
variable: "--font-public-sans",
subsets: ["latin"],
variable: "--font-public-sans", subsets: ["latin"],
});
export const metadata: Metadata = {
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"),
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"),
alternates: {
canonical: "https://trueunity.org",
},
canonical: "https://trueunity.org"},
openGraph: {
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: [
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: [
{
url: "http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628462.jpg",
alt: "True Unity - Supporting African Communities",
},
url: "http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628462.jpg", alt: "True Unity - Supporting African Communities"},
],
},
twitter: {
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"],
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"],
},
robots: {
index: true,
@@ -1424,4 +1409,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}

View File

@@ -23,9 +23,7 @@ export default function HomePage() {
];
const navButton = {
text: "Donate Now",
href: "/contact",
};
text: "Donate Now", href: "/contact"};
return (
<ThemeProvider
@@ -58,39 +56,23 @@ export default function HomePage() {
background={{ variant: "radial-gradient" }}
leftCarouselItems={[
{
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",
},
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"},
{
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",
},
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"},
{
imageSrc: "http://img.b2bpic.net/free-photo/yoga-class-concept_53876-31177.jpg",
imageAlt: "youth training workshop empowerment",
},
imageSrc: "http://img.b2bpic.net/free-photo/yoga-class-concept_53876-31177.jpg", imageAlt: "youth training workshop empowerment"},
{
imageSrc: "http://img.b2bpic.net/free-photo/happy-diverse-people-enjoying-park_53876-63295.jpg?_wi=1",
imageAlt: "village community gathering people",
},
imageSrc: "http://img.b2bpic.net/free-photo/happy-diverse-people-enjoying-park_53876-63295.jpg?_wi=1", imageAlt: "village community gathering people"},
]}
rightCarouselItems={[
{
imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-black-male-child-writing-notebook_181624-46286.jpg",
imageAlt: "school children education africa",
},
imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-black-male-child-writing-notebook_181624-46286.jpg", 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",
imageAlt: "medical outreach healthcare clinic",
},
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"},
{
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",
},
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"},
{
imageSrc: "http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628462.jpg",
imageAlt: "community celebration gathering people",
},
imageSrc: "http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628462.jpg", imageAlt: "community celebration gathering people"},
]}
carouselPosition="right"
buttons={[
@@ -122,13 +104,8 @@ export default function HomePage() {
tagAnimation="slide-up"
features={[
{
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: {
imageSrc: "http://img.b2bpic.net/free-photo/groupmates-learning-university-girl-looking-camera_7502-9428.jpg?_wi=1",
imageAlt: "education students classroom learning",
},
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: {
imageSrc: "http://img.b2bpic.net/free-photo/groupmates-learning-university-girl-looking-camera_7502-9428.jpg?_wi=1", imageAlt: "education students classroom learning"},
items: [
{ icon: BookOpen, text: "Scholarships for talented students" },
{ icon: Users, text: "Teacher development programs" },
@@ -137,13 +114,8 @@ export default function HomePage() {
reverse: false,
},
{
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: {
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",
},
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: {
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: [
{ icon: Heart, text: "Mobile clinics and health camps" },
{ icon: Pill, text: "Maternal and child health programs" },
@@ -152,13 +124,8 @@ export default function HomePage() {
reverse: true,
},
{
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: {
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",
},
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: {
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: [
{ icon: Briefcase, text: "Vocational skills training" },
{ icon: TrendingUp, text: "Microfinance and business support" },
@@ -185,33 +152,16 @@ export default function HomePage() {
useInvertedBackground={false}
metrics={[
{
id: "1",
title: "Students Supported",
subtitle: "Across 12 African countries · Educational scholarships and programs",
category: "Education",
value: "2,500+",
},
id: "1", title: "Students Supported", subtitle: "Across 12 African countries · Educational scholarships and programs", category: "Education", value: "2,500+"},
{
id: "2",
title: "Lives Reached Through Healthcare",
subtitle: "Medical outreach · Preventative care and treatment",
category: "Healthcare",
value: "15,000+",
},
id: "2", title: "Lives Reached Through Healthcare", subtitle: "Medical outreach · Preventative care and treatment", category: "Healthcare", value: "15,000+"},
{
id: "3",
title: "Entrepreneurs Empowered",
subtitle: "Vocational training and microfinance · Economic stability",
category: "Economic",
value: "800+",
},
id: "3", title: "Entrepreneurs Empowered", subtitle: "Vocational training and microfinance · Economic stability", category: "Economic", value: "800+"},
{
id: "4",
title: "Active UK Supporters",
subtitle: "Volunteers and donors · Committed to change",
category: "Community",
value: "3,200+",
},
id: "4", title: "Active UK Supporters", subtitle: "Volunteers and donors · Committed to change", category: "Community", value: "3,200+"},
]}
buttons={[
{ text: "Support These Programs", href: "/contact" },
]}
/>
</div>
@@ -225,41 +175,17 @@ export default function HomePage() {
useInvertedBackground={false}
testimonials={[
{
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",
},
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"},
{
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",
},
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"},
{
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",
},
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"},
{
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",
},
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"},
{
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",
},
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"},
{
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",
},
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"},
]}
/>
</div>
@@ -274,15 +200,7 @@ export default function HomePage() {
textboxLayout="default"
useInvertedBackground={false}
names={[
"Global Health Initiative",
"African Education Alliance",
"International Relief Fund",
"Community Development Network",
"Healthcare Without Borders",
"Economic Empowerment Foundation",
"Local Government Partners",
"UK Charity Commission",
]}
"Global Health Initiative", "African Education Alliance", "International Relief Fund", "Community Development Network", "Healthcare Without Borders", "Economic Empowerment Foundation", "Local Government Partners", "UK Charity Commission"]}
speed={40}
showCard={true}
/>
@@ -306,8 +224,7 @@ export default function HomePage() {
copyrightText="© 2025 True Unity. Supporting communities across Africa."
columns={[
{
title: "Organization",
items: [
title: "Organization", items: [
{ label: "About Us", href: "/about" },
{ label: "Our Programs", href: "/our-work" },
{ label: "Impact Reports", href: "#" },
@@ -315,8 +232,7 @@ export default function HomePage() {
],
},
{
title: "Get Involved",
items: [
title: "Get Involved", items: [
{ label: "Donate", href: "/contact" },
{ label: "Volunteer", href: "/contact" },
{ label: "Partner With Us", href: "/contact" },
@@ -324,8 +240,7 @@ export default function HomePage() {
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" },
{ label: "Transparency", href: "#" },
@@ -337,4 +252,4 @@ export default function HomePage() {
</div>
</ThemeProvider>
);
}
}