diff --git a/src/components/EventPage/EventDetails.jsx b/src/components/EventPage/EventDetails.jsx index ef83b81..b401456 100644 --- a/src/components/EventPage/EventDetails.jsx +++ b/src/components/EventPage/EventDetails.jsx @@ -4,14 +4,7 @@ import abc from "../../../public/img2.svg"; import { useState } from "react"; const EventDetails = (props) => { - const [visible, setVisible] = useState("invisible"); - const handleVisible = () => { - if (visible === "visible") { - setVisible("invisible"); - } else { - setVisible("visible"); - } - }; + return (
@@ -20,28 +13,6 @@ const EventDetails = (props) => {

{props.description}

- {props.isCTF ? ( -
- -
- Haha! April's Fool! -
Wait... It was on 1st April? -
- Then the flag must have been revealed! -
-

- QXBvb3J2Q1RGe3QzeHRfaGlnaDFpOXRpbjlfaXNfcjM0bGx5X2MwMGx9 -

-
-
- ) : ( - <> - )}
diff --git a/src/components/EventPage/OrganizerContainer.jsx b/src/components/EventPage/OrganizerContainer.jsx index ed66f9b..de3d192 100644 --- a/src/components/EventPage/OrganizerContainer.jsx +++ b/src/components/EventPage/OrganizerContainer.jsx @@ -14,7 +14,13 @@ const OrganizerContainer = ({ organiser }) => {
{organiser.map((item, index) => { return ( + <> + {item.name==="Darisi Priyatham" ?
+ QXBvb3J2Q1RGe3QzeHRfaGlnaDFpOXRpbjlfaXNfcjM0bGx5X2MwMGx9 +
:<>} + + ) })}
diff --git a/src/data/Events.jsx b/src/data/Events.jsx index de18d27..5402266 100644 --- a/src/data/Events.jsx +++ b/src/data/Events.jsx @@ -399,12 +399,12 @@ const events = [ link: "capture-the-flag", organisers: [ { - key: 1, - name: "Gouri Nair", - phoneNumber: "08606922585", - email: "gourinair20bec7@​iiitkottayam.ac.in", - image: "", - gif: "" + key: 2, + name: "Darisi Priyatham", + phoneNumber: "", + email: "darisi21bcy16@iiitkottayam.ac.in", + image: "https://res.cloudinary.com/dbarpjvas/image/upload/v1680853585/_DSC0707_wd3jjc.jpg", + gif: "https://media.tenor.com/zQtIVihPry8AAAAC/warning-cyber-attack.gif" } ], diff --git a/src/data/TimelineData.jsx b/src/data/TimelineData.jsx index 1e61593..13a16e9 100644 --- a/src/data/TimelineData.jsx +++ b/src/data/TimelineData.jsx @@ -129,7 +129,7 @@ const timelineData = [{ { id: 16, name: 'Capture The Flag', - date: '8th April 2023', + date: '7th April 2023', time: '2:00 PM', details: 'The Ultimate Capture the Flag Event', link: "capture-the-flag", @@ -191,7 +191,7 @@ const timelineData = [{ name: 'Project Aятємis', date: '8th April 2023', time: '11:30 AM', - details: "Be the next Hardy Boys!", + details: "Unleash the adventurer within you.!", link: "project-artemis", }, { diff --git a/src/pages/event/[id]/index.js b/src/pages/event/[id]/index.js index de1db68..a0665df 100644 --- a/src/pages/event/[id]/index.js +++ b/src/pages/event/[id]/index.js @@ -92,9 +92,8 @@ export default function Event({ name, poster, description, register, date, time, description={description} date={date} time={time} - isCTF= {name==="Capture The Flag"} /> - +