diff --git a/web/app/team/page.tsx b/web/app/team/page.tsx index 79e6896..046189b 100644 --- a/web/app/team/page.tsx +++ b/web/app/team/page.tsx @@ -16,6 +16,8 @@ export default function Team() { const scaleTransform = useTransform(scrollYProgress, [0, 0.1], [2, 1]) const leftTransform = useTransform(scrollYProgress, [0, 0.1], ['37%', '3%']) const topTransform = useTransform(scrollYProgress, [0, 0.1], ['35%', '13%']) + // opacityTransform for full opacity for 90% of path, then fade out + const opacityTransform = useTransform(scrollYProgress, [0.80, 1.00], [1, 0]) const fadeTransform = useTransform(scrollYProgress, [0.4, 0.41], ['none', 'block']) const [hookedYPostion, setHookedYPosition] = React.useState(0); @@ -23,7 +25,7 @@ export default function Team() { setHookedYPosition(latest); }) - const [curTab, setCurTab] = useState('Board'); + const [curTab, setCurTab] = useState(''); const scrollOptions = (section:string) => { const sectionElement = document.querySelector(`#${section}`); @@ -72,22 +74,22 @@ export default function Team() {
- -

Meet The Team

+ +

Meet The Team

We’ve got a strong team filled with caffeine addicted developers, gradients loving designers, and machine-like working managers.

-
-

scrollOptions('Board')} className={`w-fit ${curTab === "Board" ? "text-yellow underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-yellow cursor-pointer`}>Board

-

scrollOptions('Technical')} className={`w-fit ${curTab === "Technical" ? "text-pastel_green underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-pastel_green cursor-pointer`}>Techies

-

scrollOptions('Design')} className={`w-fit ${curTab === "Design" ? "text-pastel_blue underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-pastel_blue cursor-pointer`}>Designers

-

scrollOptions('Managers')} className={`w-fit ${curTab === "Managers" ? "text-pastel_red underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-pastel_red cursor-pointer`}>Managers

+
+

scrollOptions('Board')} className={`w-fit pointer-events-auto ${curTab === "Board" ? "text-yellow underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-yellow cursor-pointer`}>Board

+

scrollOptions('Technical')} className={`w-fit pointer-events-auto ${curTab === "Technical" ? "text-pastel_green underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-pastel_green cursor-pointer`}>Techies

+

scrollOptions('Design')} className={`w-fit pointer-events-auto ${curTab === "Design" ? "text-pastel_blue underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-pastel_blue cursor-pointer`}>Designers

+

scrollOptions('Managers')} className={`w-fit pointer-events-auto ${curTab === "Managers" ? "text-pastel_red underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-pastel_red cursor-pointer`}>Managers

-

Meet The Team

+

Meet The Team

We’ve got a strong team filled with caffeine addicted developers, gradients loving designers, and machine-like working managers.