diff --git a/src/components/common/HorizontalScrollCarousel.tsx b/src/components/common/HorizontalScrollCarousel.tsx
deleted file mode 100644
index cc6cd25..0000000
--- a/src/components/common/HorizontalScrollCarousel.tsx
+++ /dev/null
@@ -1,113 +0,0 @@
-import { tedxsjecAssetsPrefix } from "@/lib/utils";
-import { motion, useTransform, useScroll } from "framer-motion";
-import { useRef } from "react";
-
-const HorizontalScroll = () => {
- return (
-
-
-
- );
-};
-
-const HorizontalScrollCarousel = () => {
- const targetRef = useRef(null);
- const { scrollYProgress } = useScroll({
- target: targetRef,
- });
-
- const x = useTransform(scrollYProgress, [0, 1], ["5%", "-50%"]);
-
- return (
-
-
-
-
- The Team
-
- {cards.map((card) => {
- return ;
- })}
-
-
-
- );
-};
-
-const Card = ({ card }: { card: CardType }) => {
- return (
-
-
-
-
-
{card.name}
-
{card.title}
-
-
-
- );
-};
-
-export default HorizontalScroll;
-
-type CardType = {
- url: string;
- title: string;
- id: number;
- name: string;
-};
-
-const cards: CardType[] = [
- // {
- // url: "https://tedx-sjec.github.io/website-assets/team/dr-binu-k-g.avif",
- // title: "Faculty Co-Ordinator",
- // name: "Binu K G",
- // id: 1,
- // },
- {
- url: `${tedxsjecAssetsPrefix}/team/sharon.avif`,
- title: "Licensee & Organizer",
- id: 2,
- name: "Sharon Tyana Menezes",
- },
- {
- url: "/imgs/abstract/3.jpg",
- title: "Co-Organizer",
- id: 3,
- name: "Sasha Sajith",
- },
- {
- url: "/imgs/abstract/4.jpg",
- title: "Curation Head",
- id: 4,
- name: "Vyasa M Nayak",
- },
- {
- url: "/imgs/abstract/5.jpg",
- title: "Technical Head",
- id: 5,
- name: "Hanniel Andrede",
- },
- {
- url: "/imgs/abstract/6.jpg",
- title: "Design Head",
- id: 6,
- name: "Lawrence Robert D'Souza",
- },
- // {
- // url: "/imgs/abstract/7.jpg",
- // title: "Title 7",
- // id: 7,
- // name: "Binu K G",
- // },
-];
diff --git a/src/components/ui/text-reveal.tsx b/src/components/ui/text-reveal.tsx
deleted file mode 100644
index 15b723f..0000000
--- a/src/components/ui/text-reveal.tsx
+++ /dev/null
@@ -1,92 +0,0 @@
-"use client";
-
-import { FC, ReactNode, useRef } from "react";
-import { motion, useScroll, useTransform, useInView } from "framer-motion";
-
-import { cn } from "@/lib/utils";
-
-interface TextRevealByWordProps {
- text: string;
- className?: string;
-}
-
-export const TextRevealByWord: FC = ({
- text,
- className,
-}) => {
- const targetRef = useRef(null);
-
- const { scrollYProgress } = useScroll({
- target: targetRef,
- });
- const words = text.split(" ");
-
- // const ref = useRef(null); // Create a reference for the element
- // const isInView = useInView(ref, { once: true }); // Trigger animation once when in view
-
- // Adjust the transform to make it exit only as it reaches the top of the viewport
- const y = useTransform(scrollYProgress, [0, 0.25], [0, -350]); // Exit moves the heading further up (150px)
- const opacity = useTransform(scrollYProgress, [0.1, 0.25], [2, 0]); // Fade out starts later and ends as it scrolls up
-
- return (
-
-
-
- About
-
-
-
- {words.map((word, i) => {
- const start = i / words.length;
- const end = start + 1 / words.length;
- return (
-
- {word}
-
- );
- })}
-
-
-
- );
-};
-
-interface WordProps {
- children: ReactNode;
- progress: any;
- range: [number, number];
-}
-
-const Word: FC = ({ children, progress, range }) => {
- const opacity = useTransform(progress, range, [0, 1]);
- return (
-
- {children}
-
- {children}
-
-
- );
-};
-
-export default TextRevealByWord;