From 6b2eac80bcdd62a263b6fc7d293e36bb03a400cc Mon Sep 17 00:00:00 2001 From: Niraj Modi Date: Sun, 29 Oct 2023 13:16:46 +0530 Subject: [PATCH] Blur Fixed for Our Team --- src/components/marqueeCards/Marquee.jsx | 8 +++++++- src/components/team/Card.jsx | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/marqueeCards/Marquee.jsx b/src/components/marqueeCards/Marquee.jsx index 9d286f2..0199772 100644 --- a/src/components/marqueeCards/Marquee.jsx +++ b/src/components/marqueeCards/Marquee.jsx @@ -2,12 +2,18 @@ import Marquee from "react-fast-marquee"; const MarqueeCards = ({ children, direction }) => { const containerStyle = {}; + const gradientWidthCalc = () => { + const width = window.innerWidth; + if (width > 1024) return 400; + if (width > 768) return 200; + return 50; + }; return ( diff --git a/src/components/team/Card.jsx b/src/components/team/Card.jsx index 84b8621..8f370e3 100644 --- a/src/components/team/Card.jsx +++ b/src/components/team/Card.jsx @@ -11,7 +11,7 @@ export default function Card({ // console.log(image); // console.log(colour); const className = `flex flex-col m-6 justify-center gap-2 items-center shadow-[0px_0px_15px_2px_rgba(0,0,0,0.17)] border-b-8 border-b-[${colour}] border-solid - w-[18rem] h-[22rem] shrink-0`; + w-[18rem] h-[22rem] shrink-0 rounded-[1rem]`; return (