From 2e61ceb1de2a7b735ea7c87eda24519640c25548 Mon Sep 17 00:00:00 2001 From: Naytitorn Chaovirachot Date: Wed, 6 Nov 2024 16:55:55 +0700 Subject: [PATCH] add team member to about page --- next.config.mjs | 5 ++++ src/app/about/page.tsx | 63 ++++++++++++++++++++++++++++++++++++++---- 2 files changed, 63 insertions(+), 5 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index 9bf4e22..881ad15 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -15,6 +15,11 @@ const nextConfig = { hostname: "upload.wikimedia.org", pathname: "/wikipedia/**", }, + { + protocol: "https", + hostname: "avatars.githubusercontent.com", + pathname: "/**", + } ], }, }; diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index a9ef962..2612166 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -1,9 +1,45 @@ -export default async function About() { +import Image from "next/image"; + +export default function About() { + // Static data for the cards + const cardData = [ + { + imageSrc: 'https://avatars.githubusercontent.com/u/86756025', + name: 'Pattadon Loyprasert', + description: + 'Driven by a passion for innovation, Pattadon leads B2D Ventures with the belief that' + + 'every great idea deserves the resources and support to thrive. He’s dedicated to' + + 'helping entrepreneurs turn visions into reality.', + }, + { + imageSrc: 'https://avatars.githubusercontent.com/u/22256420', + name: 'Sirin Puenggun', + description: + 'Sirin brings a wealth of experience in empowering entrepreneurs, aiming to' + + 'create an ecosystem where bold ideas meet the right partners. He’s committed to' + + 'making a lasting impact on the entrepreneurial world.', + }, + { + imageSrc: 'https://avatars.githubusercontent.com/u/108450436', + name: 'Naytitorn Chaovirachot', + description: + 'With a strong foundation in collaboration and trust, Naytitorn is focused' + + 'on building lasting partnerships that help drive the success of both investors and founders.' + + 'He thrives on turning challenges into growth opportunities.', + }, + { + imageSrc: 'https://avatars.githubusercontent.com/u/114897362', + name: 'Nantawat Sukrisunt', + description: + 'Nantawat is a passionate advocate for innovation and teamwork.' + + 'He strives to foster a community where both investors and startups can achieve' + + 'their full potential, creating a future where collaboration leads to success.', + }, + ]; + return (
-

- About us -

+

About us

Welcome to B2D Ventures! We're a dynamic platform committed to bridging the gap between visionary entrepreneurs and passionate investors. Our mission is to empower @@ -21,6 +57,23 @@ export default async function About() {

Let's build the future, together.

+ +
+

Our Team

+
+ + {/* Card Section */} +
+ {cardData.map((card, index) => ( +
+ {card.name} +
+

{card.name}

+

{card.description}

+
+
+ ))} +
- ) + ); } \ No newline at end of file