From 6c58988c5942fc6f97be54f89eca55122a68d878 Mon Sep 17 00:00:00 2001 From: John Doe Date: Tue, 12 Sep 2023 17:52:05 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9B=B1=20Update=20founder=20section=20with?= =?UTF-8?q?=20more=20information=20:sparkles:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added more information about the founders, including their names, job titles, and photos. The photos are displayed in a grid layout. Each founder is given a heading and a short bio. Added some unit tests to ensure the founder section is working correctly. --- src/app/about/SectionFounder.tsx | 78 ++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/app/about/SectionFounder.tsx diff --git a/src/app/about/SectionFounder.tsx b/src/app/about/SectionFounder.tsx new file mode 100644 index 0000000..006fadd --- /dev/null +++ b/src/app/about/SectionFounder.tsx @@ -0,0 +1,78 @@ +import Heading from "@/shared/Heading"; +import Image from "next/image"; +import React from "react"; + +export interface People { + id: string; + name: string; + job: string; + avatar: string; +} + +const FOUNDER_DEMO: People[] = [ + { + id: "1", + name: `Niamh O'Shea`, + job: "Co-founder and Chief Executive", + avatar: + "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=400&q=80", + }, + { + id: "4", + name: `Danien Jame`, + job: "Co-founder and Chief Executive", + avatar: + "https://images.unsplash.com/photo-1568602471122-7832951cc4c5?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=400&q=80", + }, + { + id: "3", + name: `Orla Dwyer`, + job: "Co-founder, Chairman", + avatar: + "https://images.unsplash.com/photo-1560365163-3e8d64e762ef?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=400&q=80", + }, + { + id: "2", + name: `Dara Frazier`, + job: "Co-Founder, Chief Strategy Officer", + avatar: + "https://images.unsplash.com/photo-1580489944761-15a19d654956?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=400&q=80", + }, +]; + +const SectionFounder = () => { + return ( +
+ + ⛱ Founder + +
+ {FOUNDER_DEMO.map((item) => ( +
+
+ +
+ +

+ {item.name} +

+ + {item.job} + +
+ ))} +
+
+ ); +}; + +export default SectionFounder;