diff --git a/frontend/index.html b/frontend/index.html index 146e265..3ada7dc 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,16 +1,27 @@ - +
- + +- -
- { progress != 0 ? `${progress.toFixed(2)}%` : 'Loading...'} -
+ > + {progress != 0 ? `${progress.toFixed(2)}%` : "Loading..."} + - ) -} + ); +}; -export default CanvasLoader \ No newline at end of file +export default CanvasLoader; diff --git a/frontend/src/components/Carousel.jsx b/frontend/src/components/Carousel.jsx index b0dbe08..6ec3a82 100644 --- a/frontend/src/components/Carousel.jsx +++ b/frontend/src/components/Carousel.jsx @@ -63,16 +63,40 @@ // }; // export default Carousel; -import React, { useState, useEffect, useRef } from 'react'; -import './style/carousel2.css'; +import React, { useState, useEffect, useRef } from "react"; +import "./style/carousel2.css"; import { FaArrowLeft, FaArrowRight } from "react-icons/fa"; const Carousel = () => { const [carouselItems, setCarouselItems] = useState([ - { id: 1, image: '../image/event.JPG', author: '', title: 'devXsphere gaianet', topic: 'meetup' }, - { id: 2, image: '../image/event 2.JPG', author: 'Author 2', title: 'Title 2', topic: 'Topic 2' }, - { id: 3, image: '../image/event 3.JPG', author: 'Author 3', title: 'Title 3', topic: 'Topic 3' }, - { id: 4, image: '../image/event4.jpg', author: 'Author 4', title: 'Title 4', topic: 'Topic 4' } + { + id: 1, + image: "../image/event.JPG", + author: "", + title: "devXsphere gaianet", + topic: "meetup", + }, + { + id: 2, + image: "../image/event 2.JPG", + author: "Author 2", + title: "Title 2", + topic: "Topic 2", + }, + { + id: 3, + image: "../image/event 3.JPG", + author: "Author 3", + title: "Title 3", + topic: "Topic 3", + }, + { + id: 4, + image: "../image/event4.jpg", + author: "Author 4", + title: "Title 4", + topic: "Topic 4", + }, ]); const timeRunning = 1000; @@ -83,25 +107,28 @@ const Carousel = () => { useEffect(() => { const runNextAuto = setTimeout(() => { - showSlider('next'); + showSlider("next"); }, timeAutoNext); return () => clearTimeout(runNextAuto); }, [carouselItems]); const showSlider = (type) => { - if (type === 'next') { + if (type === "next") { setCarouselItems((prevItems) => [...prevItems.slice(1), prevItems[0]]); - carouselRef.current.classList.add('next'); + carouselRef.current.classList.add("next"); } else { - setCarouselItems((prevItems) => [prevItems[prevItems.length - 1], ...prevItems.slice(0, -1)]); - carouselRef.current.classList.add('prev'); + setCarouselItems((prevItems) => [ + prevItems[prevItems.length - 1], + ...prevItems.slice(0, -1), + ]); + carouselRef.current.classList.add("prev"); } clearTimeout(timeRef.current); timeRef.current = setTimeout(() => { - carouselRef.current.classList.remove('next'); - carouselRef.current.classList.remove('prev'); + carouselRef.current.classList.remove("next"); + carouselRef.current.classList.remove("prev"); }, timeRunning); }; @@ -132,8 +159,20 @@ const Carousel = () => { {/* Carousel Controls */}
+ + We hope you have found an answer to your question. If you need + any help, please search your query on our Support Center or + contact us via email. +
++ To change your billing information, please follow + these steps: +
++ To cancel your account, please follow these steps: +
+