From ef675c242ddfa0b8d4b01905845132fb8b524297 Mon Sep 17 00:00:00 2001 From: serafettin Date: Tue, 2 Jul 2024 20:00:50 -0400 Subject: [PATCH] Update TestimonialSlider.tsx --- .../Testimonials/TestimonialSlider.tsx | 109 ------------------ 1 file changed, 109 deletions(-) diff --git a/web-app/src/components/sections/landing/Testimonials/TestimonialSlider.tsx b/web-app/src/components/sections/landing/Testimonials/TestimonialSlider.tsx index 5f9f4a18..e06b2a28 100644 --- a/web-app/src/components/sections/landing/Testimonials/TestimonialSlider.tsx +++ b/web-app/src/components/sections/landing/Testimonials/TestimonialSlider.tsx @@ -1,111 +1,2 @@ import Image from "next/image"; import React, { useState } from "react"; - -const testimonials = [ - { - name: "David Sneider", - title: "Lit Protocol, Co-founder", - image: "/images/testimonials/sneider.jpg", - text: "Index Network is a foundational base layer for the user owned web. We're so glad to be collaborators on privacy at Lit Protocol!", - twitter: "https://x.com/davidlsneider", - }, - { - name: "Danny Zuckerman", - title: "3Box Labs, Co-founder", - image: "/images/testimonials/zuckerman.jpg", - text: "Apps need to deliver better information and experiences faster. Index's semantic index does that. Index can make better discovery a primitive all apps rely on.", - twitter: "https://x.com/dazuck", - }, - { - name: "Simon Brown", - title: "Consensys, Researcher & Advisor", - image: "/images/testimonials/brown.jpg", - text: "Index Network is going to change the way we think about discovering information and interacting with the web. The ability to use autonomous AI agents to index and interpret data from multiple sources through an intuitive natural language interface is a total game changer!", - twitter: "https://x.com/orbmis", - }, - { - name: "Billy Luedtke", - title: "Intuition Systems, Founder", - image: "/images/testimonials/billy.jpg", - text: "The future is AI. And in this future, the efficacy of AI will only be as good as the data our agents are ingesting. Index plays a pivotal role in this future, enabling our AI counterparts to return increasingly relevant, contextual, and accurate results and information.", - twitter: "https://x.com/0xbilly", - }, - { - name: "Oak", - title: "Autonolas, Co-founder", - image: "/images/testimonials/oak.jpg", - text: "Index is attempting to create a totally novel discovery and social experience. They aim to deploy autonomous agents in a way that can uniquely benefit from web3 technology and I'm really excited to see their progress.", - twitter: "https://x.com/tannedoaksprout", - }, -]; - -const TestimonialSlider = () => { - const [currentIndex, setCurrentIndex] = useState(0); - - const goToNextSlide = () => { - setCurrentIndex((prevIndex) => (prevIndex + 1) % testimonials.length); - }; - - const goToPrevSlide = () => { - setCurrentIndex( - (prevIndex) => - (prevIndex - 1 + testimonials.length) % testimonials.length, - ); - }; - - return ( -
-
-
- {testimonials.map((testimonial, index) => ( -
- - twitter - -
- {testimonial.name} -
-

{testimonial.name}

-

{testimonial.title}

-
-
-

{testimonial.text}

-
- ))} -
-
- {/* - */} -
- ); -}; - -export default TestimonialSlider;