Skip to content

Commit 9059dbb

Browse files
committed
feat: add Team component to display team members with roles and images
1 parent 0099833 commit 9059dbb

File tree

2 files changed

+86
-77
lines changed

2 files changed

+86
-77
lines changed

app/[locale]/(user)/about-us/components/Initiatives.tsx

Lines changed: 0 additions & 77 deletions
This file was deleted.
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
import React from 'react';
2+
import Image from 'next/image';
3+
import { Text } from 'opub-ui';
4+
5+
const Team = () => {
6+
const team = [
7+
8+
{
9+
name: 'Deepthi Chand',
10+
role: 'Technology Director',
11+
image: '/team/dc.jpg',
12+
},
13+
{
14+
name: 'Gaurav Godhwani',
15+
role: 'Executive Director',
16+
image: '/team/gaurav.jpg',
17+
},
18+
{
19+
name: 'Nupura Gawde',
20+
role: 'Initiative Lead',
21+
image: '/team/nupura.jpeg',
22+
},
23+
{
24+
name: 'Saurabh Levin',
25+
role: 'Associate Data Lead',
26+
image: '/team/saurabh.jpg',
27+
},
28+
{
29+
name: 'Abhinandita',
30+
role: 'Senior Product Designer',
31+
image: '/team/abhinandita.jpg',
32+
},
33+
{
34+
name: 'Aparna',
35+
role: 'Product Designer',
36+
image: '/team/aparna.jpg',
37+
},
38+
{
39+
name: 'Sanjay',
40+
role: 'Frontend Engineer',
41+
image: '/team/sanjay.jpg',
42+
},
43+
{
44+
name: 'Saqib Manan',
45+
role: 'Quality Assurance Engineer',
46+
image: '/team/saqib.jpg',
47+
},
48+
{
49+
name: 'Bhavabhuthi',
50+
role: 'Senior Frontend Engineer',
51+
image: '/team/bhavabhuthi.jpeg',
52+
},
53+
{
54+
name: 'Prajna',
55+
role: 'Data Engineer',
56+
image: '/team/prajna.jpg',
57+
},
58+
59+
];
60+
return (
61+
<div className="py-5 lg:py-10">
62+
<div className="flex flex-wrap gap-6">
63+
{team.map((member) => (
64+
<div
65+
key={member.name}
66+
className="flex flex-col gap-4 p-6 shadow-card rounded-2"
67+
>
68+
<Image
69+
src={member.image}
70+
alt={member.name}
71+
width={220}
72+
height={220}
73+
className=" object-cover"
74+
/>
75+
<div className="flex flex-col gap-2">
76+
<Text variant="headingLg">{member.name}</Text>
77+
<Text variant="bodyMd">{member.role}</Text>
78+
</div>
79+
</div>
80+
))}
81+
</div>
82+
</div>
83+
);
84+
};
85+
86+
export default Team;

0 commit comments

Comments
 (0)