diff --git a/public/images/Partnership image.png b/public/images/Partnership image.png deleted file mode 100644 index d56c5dc..0000000 Binary files a/public/images/Partnership image.png and /dev/null differ diff --git a/public/images/partner-undp.svg b/public/images/partner-undp.svg deleted file mode 100644 index e3f758c..0000000 --- a/public/images/partner-undp.svg +++ /dev/null @@ -1,66 +0,0 @@ - \ No newline at end of file diff --git a/public/images/volunteers/Adegboyega Adedokun Oluwatosin.jpg b/public/images/volunteers/Adegboyega Adedokun Oluwatosin.jpg deleted file mode 100644 index 52dc667..0000000 Binary files a/public/images/volunteers/Adegboyega Adedokun Oluwatosin.jpg and /dev/null differ diff --git a/public/images/volunteers/Aleksandra Faleychik.jpg b/public/images/volunteers/Aleksandra Faleychik.jpg deleted file mode 100644 index 131b0fd..0000000 Binary files a/public/images/volunteers/Aleksandra Faleychik.jpg and /dev/null differ diff --git a/public/images/volunteers/Aliu Olaitan Rasheed.jpg b/public/images/volunteers/Aliu Olaitan Rasheed.jpg deleted file mode 100644 index 9493c43..0000000 Binary files a/public/images/volunteers/Aliu Olaitan Rasheed.jpg and /dev/null differ diff --git a/public/images/volunteers/Alphonce Melchior Chuwa.jpg b/public/images/volunteers/Alphonce Melchior Chuwa.jpg deleted file mode 100644 index 766e21d..0000000 Binary files a/public/images/volunteers/Alphonce Melchior Chuwa.jpg and /dev/null differ diff --git a/public/images/volunteers/Arsalan Mohammadi.jpg b/public/images/volunteers/Arsalan Mohammadi.jpg deleted file mode 100644 index e90b320..0000000 Binary files a/public/images/volunteers/Arsalan Mohammadi.jpg and /dev/null differ diff --git a/public/images/volunteers/Candice Sue-Anne Williams.jpg b/public/images/volunteers/Candice Sue-Anne Williams.jpg deleted file mode 100644 index 9e35ebb..0000000 Binary files a/public/images/volunteers/Candice Sue-Anne Williams.jpg and /dev/null differ diff --git a/public/images/volunteers/Carrie Barclay.jpg b/public/images/volunteers/Carrie Barclay.jpg deleted file mode 100644 index c2193c7..0000000 Binary files a/public/images/volunteers/Carrie Barclay.jpg and /dev/null differ diff --git a/public/images/volunteers/Cathrine Wayeko Chiliswa.jpg b/public/images/volunteers/Cathrine Wayeko Chiliswa.jpg deleted file mode 100644 index 9f248a9..0000000 Binary files a/public/images/volunteers/Cathrine Wayeko Chiliswa.jpg and /dev/null differ diff --git a/public/images/volunteers/Collins Owino Ayodo.jpg b/public/images/volunteers/Collins Owino Ayodo.jpg deleted file mode 100644 index e54711d..0000000 Binary files a/public/images/volunteers/Collins Owino Ayodo.jpg and /dev/null differ diff --git a/public/images/volunteers/Denise Gurbuz.jpg b/public/images/volunteers/Denise Gurbuz.jpg deleted file mode 100644 index af1279b..0000000 Binary files a/public/images/volunteers/Denise Gurbuz.jpg and /dev/null differ diff --git a/public/images/volunteers/Faith Bosire.jpg b/public/images/volunteers/Faith Bosire.jpg deleted file mode 100644 index e20b42d..0000000 Binary files a/public/images/volunteers/Faith Bosire.jpg and /dev/null differ diff --git a/public/images/volunteers/Grace Ouya.jpg b/public/images/volunteers/Grace Ouya.jpg deleted file mode 100644 index 114f75b..0000000 Binary files a/public/images/volunteers/Grace Ouya.jpg and /dev/null differ diff --git a/public/images/volunteers/Horace Agossadou.jpg b/public/images/volunteers/Horace Agossadou.jpg deleted file mode 100644 index a1fa174..0000000 Binary files a/public/images/volunteers/Horace Agossadou.jpg and /dev/null differ diff --git a/public/images/volunteers/Jake Pyne.jpg b/public/images/volunteers/Jake Pyne.jpg deleted file mode 100644 index 8f93827..0000000 Binary files a/public/images/volunteers/Jake Pyne.jpg and /dev/null differ diff --git a/public/images/volunteers/Jeffrey Collins Musinguzi.jpg b/public/images/volunteers/Jeffrey Collins Musinguzi.jpg deleted file mode 100644 index b2fecc1..0000000 Binary files a/public/images/volunteers/Jeffrey Collins Musinguzi.jpg and /dev/null differ diff --git a/public/images/volunteers/Kristine Pagaduan.jpg b/public/images/volunteers/Kristine Pagaduan.jpg deleted file mode 100644 index aa99762..0000000 Binary files a/public/images/volunteers/Kristine Pagaduan.jpg and /dev/null differ diff --git a/public/images/volunteers/Michel Boris Emel Manfouo.jpg b/public/images/volunteers/Michel Boris Emel Manfouo.jpg deleted file mode 100644 index 028c444..0000000 Binary files a/public/images/volunteers/Michel Boris Emel Manfouo.jpg and /dev/null differ diff --git a/public/images/volunteers/Moses Mtengo.jpg b/public/images/volunteers/Moses Mtengo.jpg deleted file mode 100644 index 2e2f2fd..0000000 Binary files a/public/images/volunteers/Moses Mtengo.jpg and /dev/null differ diff --git a/public/images/volunteers/Oben Joseph Etah.jpg b/public/images/volunteers/Oben Joseph Etah.jpg deleted file mode 100644 index 3f4d4a5..0000000 Binary files a/public/images/volunteers/Oben Joseph Etah.jpg and /dev/null differ diff --git a/public/images/volunteers/Omar Basmaji.jpg b/public/images/volunteers/Omar Basmaji.jpg deleted file mode 100644 index 4e6b8d5..0000000 Binary files a/public/images/volunteers/Omar Basmaji.jpg and /dev/null differ diff --git a/public/images/volunteers/Rita Aqua Ofosuhemaa Owusu.jpg b/public/images/volunteers/Rita Aqua Ofosuhemaa Owusu.jpg deleted file mode 100644 index 0d81efc..0000000 Binary files a/public/images/volunteers/Rita Aqua Ofosuhemaa Owusu.jpg and /dev/null differ diff --git a/public/images/volunteers/Ruslan Rovishen.jpg b/public/images/volunteers/Ruslan Rovishen.jpg deleted file mode 100644 index 944349c..0000000 Binary files a/public/images/volunteers/Ruslan Rovishen.jpg and /dev/null differ diff --git a/public/images/volunteers/Ruvimbo Doreen Supiya.jpg b/public/images/volunteers/Ruvimbo Doreen Supiya.jpg deleted file mode 100644 index 81f2fc4..0000000 Binary files a/public/images/volunteers/Ruvimbo Doreen Supiya.jpg and /dev/null differ diff --git a/public/images/volunteers/Vighnesh Balasubramanian.png b/public/images/volunteers/Vighnesh Balasubramanian.png deleted file mode 100644 index 70d22ce..0000000 Binary files a/public/images/volunteers/Vighnesh Balasubramanian.png and /dev/null differ diff --git a/public/images/volunteers/Zaward Anisah Vayne.jpg b/public/images/volunteers/Zaward Anisah Vayne.jpg deleted file mode 100644 index be1de7e..0000000 Binary files a/public/images/volunteers/Zaward Anisah Vayne.jpg and /dev/null differ diff --git a/src/components/PartnerSection.tsx b/src/app/about/PartnerSection.tsx similarity index 100% rename from src/components/PartnerSection.tsx rename to src/app/about/PartnerSection.tsx diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index a903e8e..d286373 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -4,7 +4,7 @@ import Image from 'next/image'; import { FaQuoteLeft } from "react-icons/fa6"; import { AboutTimeline } from "./AboutTimeline"; import { SectionContainer } from "@/components/SectionContainer"; -import PartnerSection from '@/components/PartnerSection'; +import PartnerSection from './PartnerSection'; import { generateAboutMetadata } from "@/lib/seo"; import TrackRecord from "./TrackRecord"; diff --git a/src/app/partner-with-us/page.tsx b/src/app/partner-with-us/page.tsx index 69c4cab..0b795d0 100644 --- a/src/app/partner-with-us/page.tsx +++ b/src/app/partner-with-us/page.tsx @@ -1,16 +1,28 @@ import { Hero } from "@/components/Hero"; +import TilePanel from '@/components/TilePanel'; import { Button } from '@/components/Button' import Title from '@/components/Title' import Image from "next/image"; +import { supabase } from '@/lib/supabaseClient'; +import debugimg from "@/../public/images/debugimg.png" import { FaCircleCheck } from "react-icons/fa6"; -import partnership from "@/../public/images/Partnership image.png" import { generatePartnerMetadata } from '@/lib/seo'; -import PartnerSection from '@/components/PartnerSection'; +import { FaGlobe } from 'react-icons/fa'; export const metadata = generatePartnerMetadata(); +console.log(debugimg) + +type Partner = { + name: string; + description?: string; + logo_url: string; + website?: string; +}; + //Dummy data; todo: pull from actual database or hardcode it in +// const partners = Array(6).fill({ name: "Partner X", desc: "Lorem Ipsum", logo: debugimg }); const reasons = [ "Open Innovation", "Lasting Impact", @@ -19,24 +31,64 @@ const reasons = [ ]; export default async function PartnerWithUsPage() { + const { data, error } = await supabase + .from('partners') + .select('*'); + + if (error) { + return
Error: {error.message}
; + } + + const partners: Partner[] = data ?? []; + + const partnerTiles = partners.map((partner: Partner) => ({ + name: partner.name, + desc: partner.description || '', + icon: partner.logo_url + ? ( +Tech4R is built on collaboration. Together with our partners, we bring diverse expertise and resources to support technology-driven disaster response and resilience. UN Volunteers (UNV) is our main partner, helping us connect skilled volunteers worldwide with meaningful opportunities to contribute to open-source digital solutions. Alongside UNV, we work with Bridge to Türkiye Fund, ATÖLYE, EKA Creative Studio, LJUS, and HP LIFE—each adding unique value, from mobilizing communities and advancing education to fostering innovation and entrepreneurship. As Tech4R grows, we are continuously expanding our partnerships to strengthen our global network and maximize impact.
{e.description}
-{e.id}
+ {/*Unused code from Figma:*/}{e.id}
-Failed to load
); @@ -14,12 +14,12 @@ async function TestimonyCarousel() { return ({e.quote}
-{e.quote}
+{e.vtitle}
*/} diff --git a/src/app/volunteers/page.tsx b/src/app/volunteers/page.tsx index fa954a5..ce8970a 100644 --- a/src/app/volunteers/page.tsx +++ b/src/app/volunteers/page.tsx @@ -4,22 +4,61 @@ import Title from '@/components/Title' import VolunteerCarousel from './CarouselVolunteer' import TestimonyCarousel from './CarouselTestimony' import AssignmentsCarousel from './CarouselAssignments' -import { FaScrewdriverWrench, FaListOl, FaRegHandPointRight, FaClock, FaLanguage, FaHandshake } from "react-icons/fa6"; +import { FaScrewdriverWrench, FaListOl } from "react-icons/fa6"; import { generateVolunteersMetadata } from '@/lib/seo'; export const metadata = generateVolunteersMetadata(); +// · Go to app.unv.org +// · Create a free account or log in if you already have one. + +// · Fill in your profile details (skills, education, experience) – this helps us match you with assignments. +//filling arrays with dummy data to test appearance const skills = [ - {name:"Time Commitment",desc:`5-7 hours/week.\nFlexible, remote.`,ico:FaClock}, - {name:"Team Player",desc:"Team player in a multicultural environment.",ico:FaHandshake}, - {name:"Good English",desc:"Other UN languages are a plus.",ico:FaLanguage}, - {name:"Professional",desc:"Reliable, professional, and deadline-oriented.",ico:FaHandshake}, - {name:"Passionate",desc:"Passion for technology & disaster resilience.",ico:FaScrewdriverWrench}, - {name:"For Data Collectors",desc:"Experience with Excel/Sheets, research, attention to detail.",ico:FaScrewdriverWrench}, - {name:"For Web Developers",desc:"Experience with HTML, CSS, JavaScript, UX/UI, Figma",ico:FaScrewdriverWrench}, - {name:"For GIS volunteers",desc:"Experience with QGIS/ArcGIS, disaster mapping skills",ico:FaScrewdriverWrench}, - {name:"For Communicators",desc:"Experience at writing, editing, translation, graphic design",ico:FaScrewdriverWrench}, - {name:"For Automation",desc:"Experience with low-code/no-code tools, APIs, workflow automation",ico:FaScrewdriverWrench} + { name: "Skill Name", desc: "Lorem Ipsum etc. 2 lines each", ico: FaScrewdriverWrench }, + { name: "Skill Name", desc: "Lorem Ipsum etc. 2 lines each", ico: FaScrewdriverWrench }, + { name: "Skill Name", desc: "Lorem Ipsum etc. 2 lines each", ico: FaScrewdriverWrench }, + { name: "Skill Name", desc: "Lorem Ipsum etc. 2 lines each", ico: FaScrewdriverWrench }, + { name: "Skill Name", desc: "Lorem Ipsum etc. 2 lines each", ico: FaScrewdriverWrench }, + { name: "Skill Name", desc: "Lorem Ipsum etc. 2 lines each", ico: FaScrewdriverWrench } +]; +const steps = [ + { + name: "Sign up / Log in", + desc: [ + "Go to app.unv.org", + "Create a free account or log in if you already have one.", + "Fill in your profile details (skills, education, experience) – this helps us match you with assignments.", + ], + ico: FaListOl + }, + { + name: "Find Tech4R opportunities", + desc: [ + "On your dashboard, select “Find Assignments”.", + "Use the filter “Type of Assignment → Online”.", + "Search for “Tech4R” in the keywords or scroll to see available postings." + ], + ico: FaListOl + }, + { + name: "Apply", + desc: [ + "Click on the assignment you’re interested in.", + "Read the description and requirements.", + "Hit “Apply” and submit a short motivation statement (why you’d like to join)." + ], + ico: FaListOl + }, + { + name: "Selection & Start", + desc: [ + "If selected, you’ll receive an email from UNV.", + "You’ll then collaborate with the Tech4R team entirely online.", + "At the end of your assignment, you’ll get an official UNV Certificate of Appreciation." + ], + ico: FaListOl + } ]; export default function VolunteersPage() { @@ -46,48 +85,21 @@ export default function VolunteersPage() {All Tech4R volunteer opportunities are hosted on the UNV Unified Volunteering Platform (UVP).
-