add team member to about page

This commit is contained in:
Naytitorn Chaovirachot 2024-11-06 16:55:55 +07:00
parent b3fd664cb4
commit 2e61ceb1de
2 changed files with 63 additions and 5 deletions

View File

@ -15,6 +15,11 @@ const nextConfig = {
hostname: "upload.wikimedia.org",
pathname: "/wikipedia/**",
},
{
protocol: "https",
hostname: "avatars.githubusercontent.com",
pathname: "/**",
}
],
},
};

View File

@ -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. Hes 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. Hes 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 (
<div className="p-10">
<h1 className="mt-3 font-bold text-lg md:text-3xl">
About us
</h1>
<h1 className="mt-3 font-bold text-lg md:text-3xl">About us</h1>
<p className="p-5">
Welcome to B2D Ventures! We&apos;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() {
<p className="p-5">
Let&apos;s build the future, together.
</p>
<div className="mt-10 text-center">
<h2 className="font-bold text-lg md:text-3xl">Our Team</h2>
</div>
)
{/* Card Section */}
<div className="mt-10 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
{cardData.map((card, index) => (
<div key={index} className="bg-white rounded-lg shadow-lg overflow-hidden">
<Image src={card.imageSrc} width={460} height={460} alt={card.name} className="w-full h-48 object-cover" />
<div className="p-4">
<h3 className="pt-5 text-xl font-semibold text-gray-800 text-center">{card.name}</h3>
<p className="pt-5 text-gray-600 mt-2">{card.description}</p>
</div>
</div>
))}
</div>
</div>
);
}