Skip to content

Commit 2f41bc9

Browse files
committed
small bugfixes
1 parent fa8d584 commit 2f41bc9

File tree

5 files changed

+19
-16
lines changed

5 files changed

+19
-16
lines changed

components/Avatar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Avatar = ({ name, linkedin, position, pfp, classes, prevRole, profileConta
2020
Previously: {prevRole}
2121
</h2>
2222
)}
23-
{linkedin && <FontAwesomeLink username={linkedin} icon={faLinkedin} className={`${classes}`} />}
23+
{linkedin && <FontAwesomeLink username={linkedin} icon={faLinkedin} className={`${classes} fill-black `} />}
2424
</div>
2525
);
2626
};

components/FontAwesomeLink.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
1+
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
22

3-
const FontAwesomeLink = ({ username, icon, className}) => {
4-
const defaultClasses="h-6 w-6 text-[#7055FD] cursor-pointer";
5-
return(
3+
const FontAwesomeLink = ({ username, icon, className }) => {
4+
const defaultClasses = 'h-6 w-6 text-[#7055FD] hover:text-[#8A76FF] transition-all duration-300 cursor-pointer';
5+
return (
66
<a target="_blank" href={`https://linkedin.com/in/${username}`} rel="noopener noreferrer">
7-
<FontAwesomeIcon className={`${defaultClasses} ${className}`} icon={icon} />
7+
<FontAwesomeIcon className={`${defaultClasses} ${className}`} icon={icon} />
88
</a>
99
);
1010
};

components/InternalTeam.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ const InternalTeam = () => {
5555
</div>
5656
<div>
5757
{groups.length > 0 && (
58-
<Tabs value={activeTab} onChange={(val) => setActiveTab(val)}>
58+
<Tabs value={activeTab}>
5959
<TabsHeader className="flex flex-row justify-center">
6060
{groups.map((group) => (
61-
<Tab key={group} value={group}>
61+
<Tab key={group} value={group} onClick={() => setActiveTab(group)}>
6262
<div
63-
className={`rounded-full p-2 px-4 font-medium hover:bg-[#7559fc] hover:text-white transition-all duration-300
63+
className={`rounded-full p-2 px-4 font-medium hover:bg-[#7559fc] hover:text-white transition-all duration-200
6464
${activeTab === group ? 'bg-[#7559fc] text-white' : 'text-black'}
6565
`}
6666
>

components/TechnicalTeam.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const TechnicalTeam = () => {
3939
{positions.map((position) => (
4040
<Tab key={position} value={position} onClick={() => setActiveTab(position)}>
4141
<div
42-
className={`rounded-full p-2 px-4 font-medium hover:bg-[#7559fc] hover:text-white transition-all duration-300
42+
className={`rounded-full p-2 px-4 font-medium hover:bg-[#7559fc] hover:text-white transition-all duration-200
4343
${activeTab === position ? 'bg-[#7559fc] text-white' : 'text-black'}
4444
`}
4545
>

tailwind.config.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@ module.exports = {
1010
},
1111
},
1212
colors: {
13-
'lilac': '#A689FF',
14-
'white': '#FFFFFF',
15-
'orange': '#FF6B54',
16-
'pink': '#FFD2DC',
17-
'brightPink': '#FF4D6F',
18-
'green': '00D3A9',
13+
lilac: '#A689FF',
14+
white: '#FFFFFF',
15+
orange: '#FF6B54',
16+
pink: '#FFD2DC',
17+
brightPink: '#FF4D6F',
18+
green: '00D3A9',
1919
},
2020
},
21+
variants: {
22+
fill: ['hover', 'focus'],
23+
},
2124
plugins: [require('tailwind-scrollbar-hide')],
2225
};

0 commit comments

Comments
 (0)