The Team
diff --git a/src/components/common/Team-Section.tsx b/src/components/common/Team-Section.tsx
index 65b6e8f..4ed56c9 100644
--- a/src/components/common/Team-Section.tsx
+++ b/src/components/common/Team-Section.tsx
@@ -1,4 +1,3 @@
-import CardHoverEffect from "@/components/edil-ozi/card-hover-effect";
import { tedxsjecAssetsPrefix } from "@/lib/utils";
import TeamCard from "./TeamCard";
@@ -63,8 +62,6 @@ const team = [
const Team = () => {
return (
- {/* */}
-
);
diff --git a/src/components/common/TeamCard.tsx b/src/components/common/TeamCard.tsx
index c796990..cc14085 100644
--- a/src/components/common/TeamCard.tsx
+++ b/src/components/common/TeamCard.tsx
@@ -1,4 +1,5 @@
import React from "react";
+import Image from "next/image";
type Member = {
title: string;
@@ -14,22 +15,27 @@ type Props = {
const TeamCard: React.FC
= ({ members }) => {
return (
<>
-
+
{members.map(({ name, title, url }) => (
- (e.currentTarget.style.backgroundSize = "105%")
- }
- onMouseLeave={(e) =>
- (e.currentTarget.style.backgroundSize = "100%")
- }
+ className="relative rounded-2xl md:h-[230px] md:w-[350px] h-[250px] w-[250px] my-4 bg-cover text-center flex content-center items-end bg-center text-white sm:saturate-0 hover:saturate-100 saturate-100 group transition-all ease-in-out duration-500 overflow-hidden"
>
+ {/* Image as background */}
+
+
+
+
+ {/* Gradient overlay */}
-
+ {/* Text content */}
+
{name}
{title}
diff --git a/src/components/edil-ozi/card-hover-effect.tsx b/src/components/edil-ozi/card-hover-effect.tsx
deleted file mode 100644
index 290f896..0000000
--- a/src/components/edil-ozi/card-hover-effect.tsx
+++ /dev/null
@@ -1,79 +0,0 @@
-import { FC, useState } from "react";
-
-import { cn } from "@/lib/utils";
-import { AnimatePresence, motion } from "framer-motion";
-import Image from "next/image";
-
-interface Props {
- members: { title: string; name: string; id: number; url: string }[];
- wrapperClasses?: string;
- itemClasses?: string;
-}
-
-const Index: FC
= ({ members, itemClasses, wrapperClasses }) => {
- const [hoveredIdx, setHoveredIdx] = useState(null);
-
- return (
-
- {members.map(({ name, title, url }, idx) => (
-
setHoveredIdx(idx)}
- onMouseLeave={() => setHoveredIdx(null)}
- >
-
- {hoveredIdx === idx && (
-
- {/* */}
-
- )}
-
-
-
- ))}
-
- );
-};
-export default Index;