From be47b3a023b56b8accdd954460b3a8c2d08e77d2 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 25 Jul 2024 19:42:33 +0530 Subject: [PATCH 1/2] about page fixed --- src/components/AboutUs.jsx | 97 +++++++++++++++++++++++++------------- 1 file changed, 63 insertions(+), 34 deletions(-) diff --git a/src/components/AboutUs.jsx b/src/components/AboutUs.jsx index 1da43ae..21e6fe4 100644 --- a/src/components/AboutUs.jsx +++ b/src/components/AboutUs.jsx @@ -1,21 +1,21 @@ -import React, { useEffect, useState, useMemo } from "react"; -import axios from "axios"; +import { faGithub, faLinkedin } from "@fortawesome/free-brands-svg-icons"; +import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import Particles, { initParticlesEngine } from "@tsparticles/react"; -import { loadFull } from "tsparticles"; +import axios from "axios"; +import React, { useEffect, useMemo, useState } from "react"; import Tilty from "react-tilty"; -import "../components/AboutUs.css"; -import aboutImage from "../assets/cartoon.png"; +import { loadFull } from "tsparticles"; import carImage from "../assets/1 1.png"; -import Himank from "../assets/Himank.jpg"; import Akshat from "../assets/Akshat.jpg"; -import Shreya from "../assets/Shreya.jpg"; +import aboutImage from "../assets/cartoon.png"; +import Himank from "../assets/Himank.jpg"; import Naman from "../assets/Naman.jpg"; -import Footer from './Footer'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faLinkedin, faGithub } from '@fortawesome/free-brands-svg-icons'; +import Shreya from "../assets/Shreya.jpg"; +import "../components/AboutUs.css"; +import Footer from "./Footer"; // import Tilty from "react-tilty"; -import { particles } from "./Particles.jsx"; import BackToTop from "./BottomToTop"; +import { particles } from "./Particles.jsx"; const AboutUs = () => { const [contributors, setContributors] = useState([]); @@ -29,7 +29,9 @@ const AboutUs = () => { useEffect(() => { const fetchContributors = async () => { try { - const response = await axios.get('https://api.github.com/repos/Akshatchaube01/TimeWarp/contributors'); + const response = await axios.get( + "https://api.github.com/repos/Akshatchaube01/TimeWarp/contributors" + ); setContributors(response.data); } catch (error) { console.error("Error fetching contributors:", error); @@ -75,18 +77,18 @@ const AboutUs = () => { bottomTxt: "Through our passion for exploration and discovery, we seek to inspire curiosity and ignite imaginations, inviting individuals to embark on a journey through time where they can uncover hidden treasures, explore diverse cultures, and witness the remarkable tapestry of human experience.", }; - const handlehover=(e)=>{ - e.currentTarget.querySelector(".hovereffect").style.transform="scale(1)"; - } - const hanleleave=(e)=>{ - e.currentTarget.querySelector(".hovereffect").style.transform="scale(0)"; - } + const handlehover = (e) => { + e.currentTarget.querySelector(".hovereffect").style.transform = "scale(1)"; + }; + const hanleleave = (e) => { + e.currentTarget.querySelector(".hovereffect").style.transform = "scale(0)"; + }; return (
particles, [])} />
- + {

About Us

- -

+ +

{about.topTxt}

-

+

{about.bottomTxt}

-
@@ -124,10 +125,10 @@ const AboutUs = () => {

Our Vision

-

+

{vision.topTxt}

-

+

{vision.bottomTxt}

@@ -142,23 +143,51 @@ const AboutUs = () => {
{teamMembers.map((member, index) => ( - +
-

{member.memberName}

+

+ {member.memberName} +

Member

-

Tech Stack

+

+ Tech Stack +

- {member.alt} -
-
+ {member.alt}
+
))}
@@ -207,4 +236,4 @@ const AboutUs = () => { ); }; -export default AboutUs; \ No newline at end of file +export default AboutUs; From 94adeb26c727b304f10c35f448d0794a24bc10c0 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 25 Jul 2024 19:50:25 +0530 Subject: [PATCH 2/2] chat bot fixed --- src/components/chatbot.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/chatbot.css b/src/components/chatbot.css index 60f0129..528efc4 100644 --- a/src/components/chatbot.css +++ b/src/components/chatbot.css @@ -30,6 +30,7 @@ border-radius: 10px; overflow: hidden; background-color: white; + color: black; display: flex; flex-direction: column; }