diff --git a/package-lock.json b/package-lock.json index 330f64e..599afce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3540,6 +3540,7 @@ "version": "1.7.2", "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "license": "MIT", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", diff --git a/src/components/AboutUs.css b/src/components/AboutUs.css index c659652..93a4168 100644 --- a/src/components/AboutUs.css +++ b/src/components/AboutUs.css @@ -224,3 +224,22 @@ h1::before { } +.marquee { + overflow: hidden; + white-space: nowrap; + } + + .marquee-content { + display: flex; + animation: marquee 15s linear infinite; + } + + @keyframes marquee { + from { + transform: translateX(100%); + } + to { + transform: translateX(-100%); + } + } + \ No newline at end of file diff --git a/src/components/AboutUs.jsx b/src/components/AboutUs.jsx index 565c2ad..9bc605a 100644 --- a/src/components/AboutUs.jsx +++ b/src/components/AboutUs.jsx @@ -1,4 +1,5 @@ -import React, { useEffect, useMemo } from "react"; +import React, { useEffect, useState, useMemo } from "react"; +import axios from "axios"; import Particles, { initParticlesEngine } from "@tsparticles/react"; import { loadFull } from "tsparticles"; import Tilty from "react-tilty"; @@ -17,6 +18,7 @@ import { particles } from "./Particles.jsx"; import BackToTop from "./BottomToTop"; const AboutUs = () => { + const [contributors, setContributors] = useState([]); useEffect(() => { initParticlesEngine(async (engine) => { @@ -24,6 +26,19 @@ const AboutUs = () => { }); }, []); + useEffect(() => { + const fetchContributors = async () => { + try { + const response = await axios.get('https://api.github.com/repos/Akshatchaube01/TimeWarp/contributors'); + setContributors(response.data); + } catch (error) { + console.error("Error fetching contributors:", error); + } + }; + + fetchContributors(); + }, []); + const teamMembers = [ { memberName: "Akshat Chaube", @@ -67,14 +82,24 @@ const AboutUs = () => { e.currentTarget.querySelector(".hovereffect").style.transform="scale(0)"; } return ( -
+
particles, [])} /> -
+
+ + + About us + +

About Us

+

{about.topTxt}

@@ -82,26 +107,21 @@ const AboutUs = () => { {about.bottomTxt}

-
- About us - -
+
-
-
- About us +
+
+ + About us +
-

+

Our Vision

@@ -145,6 +165,43 @@ const AboutUs = () => {

+ {/* OUR CONTRIBUTORS */} +
+
+
+

+ Our Contributors +

+
+
+
+ {contributors.map((contributor, index) => ( + +
+ {contributor.login} +
+
+

+ {contributor.login} +

+
+
+ ))} +
+
+
+
+
); diff --git a/src/components/ContactUs.jsx b/src/components/ContactUs.jsx index 09a2c19..a9366c9 100644 --- a/src/components/ContactUs.jsx +++ b/src/components/ContactUs.jsx @@ -93,7 +93,7 @@ const Contact = () => {

{ return ( @@ -32,20 +33,24 @@ const Privacy = () => {

+ Privacy +
+ Data Protection + /> +

@@ -121,20 +126,24 @@ const Privacy = () => {

+ Information Sharing +
+ User Rights +

diff --git a/src/components/Terms.jsx b/src/components/Terms.jsx index fd4adf7..0f630dc 100644 --- a/src/components/Terms.jsx +++ b/src/components/Terms.jsx @@ -1,5 +1,6 @@ import React from "react"; import './terms.css'; +import Tilty from "react-tilty"; import termsImage from '../assets/terms.png' @@ -22,20 +23,25 @@ const Terms = () => {

- Terms + + +
+ Usage +

Usage of Service

@@ -67,20 +73,24 @@ const Terms = () => {
+ User Responsibilities +
+ Changes to Policy +

Changes to Terms