Skip to content

Commit f32b7ce

Browse files
committed
done
1 parent ed270f0 commit f32b7ce

File tree

3 files changed

+29
-23
lines changed

3 files changed

+29
-23
lines changed

components/Avatar.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable indent */
2+
// please forgive me idk why it made me do this someone with different eslint config can fix this
13
import Image from 'next/image';
24
import { faLinkedin } from '@fortawesome/free-brands-svg-icons';
35
import FontAwesomeLink from './FontAwesomeLink';
@@ -17,7 +19,7 @@ const Avatar = ({ name, linkedin, position, pfp, classes, prevRole, profileConta
1719

1820
return (
1921
<div className={`${PROFILE_CONTAINER} ${profileContainerClasses}`}>
20-
<div className={`w-28 h-28 sm:w-48 sm:h-48 rounded-full relative overflow-hidden`}>
22+
<div className={`size-28 sm:size-44 md:size-48 rounded-full relative overflow-hidden`}>
2123
<Image src={img} alt={name} layout="fill" objectFit="contain" unoptimized={true} />
2224
</div>
2325
<h2 className={`${colorTheme} text-xs sm:text-base font-semibold mt-3 ${classes}`}>{name}</h2>

components/InternalTeam.jsx

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,20 @@ const InternalTeam = () => {
5656
</div>
5757
{groups.length > 0 && (
5858
<Tabs value={activeTab}>
59-
<TabsHeader className="overflow-x-auto whitespace-nowrap scrollbar-hide w-full flex flex-row">
60-
{groups.map((group) => (
61-
<Tab key={group} value={group} onClick={() => setActiveTab(group)}>
62-
<div
63-
className={`rounded-full p-2 px-6 font-medium hover:bg-[#00D3A9] hover:text-white transition-all duration-200
64-
${activeTab === group ? 'bg-[#00D3A9] text-white' : 'text-black'}
65-
`}
66-
>
67-
{group}
68-
</div>
69-
</Tab>
70-
))}
59+
<TabsHeader className="overflow-x-auto grid place-items-center">
60+
<div className="flex flex-row gap-2">
61+
{groups.map((group) => (
62+
<Tab key={group} value={group} onClick={() => setActiveTab(group)}>
63+
<div
64+
className={`rounded-full px-4 py-2 font-medium hover:bg-[#00D3A9] hover:text-white transition-all duration-200
65+
${activeTab === group ? 'bg-[#00D3A9] text-white' : 'text-black'}
66+
`}
67+
>
68+
{group}
69+
</div>
70+
</Tab>
71+
))}
72+
</div>
7173
</TabsHeader>
7274
<TabsBody>
7375
{groups.map((group) => (

components/TechnicalTeam.jsx

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,20 @@ const TechnicalTeam = () => {
3636
</div>
3737
{positions.length > 0 && (
3838
<Tabs value={activeTab}>
39-
<TabsHeader className="overflow-x-auto whitespace-nowrap scrollbar-hide w-full flex flex-row">
40-
{positions.map((position) => (
41-
<Tab key={position} value={position} onClick={() => setActiveTab(position)}>
42-
<div
43-
className={`rounded-full p-2 px-4 font-medium hover:bg-[#7559fc] hover:text-white transition-all duration-200
39+
<TabsHeader className="overflow-x-auto grid place-items-center">
40+
<div className="flex flex-row gap-2 whitespace-nowrap">
41+
{positions.map((position) => (
42+
<Tab key={position} value={position} onClick={() => setActiveTab(position)}>
43+
<div
44+
className={`rounded-full p-2 px-4 font-medium hover:bg-[#7559fc] hover:text-white transition-all duration-200
4445
${activeTab === position ? 'bg-[#7559fc] text-white' : 'text-black'}
4546
`}
46-
>
47-
{position}
48-
</div>
49-
</Tab>
50-
))}
47+
>
48+
{position}
49+
</div>
50+
</Tab>
51+
))}
52+
</div>
5153
</TabsHeader>
5254
<TabsBody>
5355
{positions.map((position) => (

0 commit comments

Comments
 (0)