From bda3ec5d8e1aa0cab082156097dfd40e1cdf66d7 Mon Sep 17 00:00:00 2001 From: Aditya Date: Fri, 7 Apr 2023 02:53:36 +0530 Subject: [PATCH 1/3] ctf date fixed --- src/data/TimelineData.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", }, { From 210330e1fd6314b64fad0915d73de965162a4136 Mon Sep 17 00:00:00 2001 From: Aditya Date: Fri, 7 Apr 2023 13:28:53 +0530 Subject: [PATCH 2/3] changed link in ctf --- src/components/EventPage/EventDetails.jsx | 26 ++--------------------- src/data/Events.jsx | 8 +++++++ 2 files changed, 10 insertions(+), 24 deletions(-) diff --git a/src/components/EventPage/EventDetails.jsx b/src/components/EventPage/EventDetails.jsx index ef83b81..96d29fe 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 (
@@ -22,22 +15,7 @@ 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 -

-
+ Click Here
) : ( <> diff --git a/src/data/Events.jsx b/src/data/Events.jsx index de18d27..0623461 100644 --- a/src/data/Events.jsx +++ b/src/data/Events.jsx @@ -405,6 +405,14 @@ const events = [ 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" } ], From 7822ef87dd2ba155dc4ff1c80ae00d50d22462f0 Mon Sep 17 00:00:00 2001 From: Aditya Date: Fri, 7 Apr 2023 14:46:50 +0530 Subject: [PATCH 3/3] ctf issue fixed --- src/components/EventPage/EventDetails.jsx | 7 ------- src/components/EventPage/OrganizerContainer.jsx | 6 ++++++ src/data/Events.jsx | 8 -------- src/pages/event/[id]/index.js | 3 +-- 4 files changed, 7 insertions(+), 17 deletions(-) diff --git a/src/components/EventPage/EventDetails.jsx b/src/components/EventPage/EventDetails.jsx index 96d29fe..b401456 100644 --- a/src/components/EventPage/EventDetails.jsx +++ b/src/components/EventPage/EventDetails.jsx @@ -13,13 +13,6 @@ const EventDetails = (props) => {

{props.description}

- {props.isCTF ? ( -
- Click Here -
- ) : ( - <> - )}
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 0623461..5402266 100644 --- a/src/data/Events.jsx +++ b/src/data/Events.jsx @@ -398,14 +398,6 @@ const events = [ description: `To create the best lock, know what breaks the good ones around.Compete for the final flag in a labyrinth of information with 6 rounds, ranging from simple ciphers to intricate reverse engineering puzzles.`, link: "capture-the-flag", organisers: [ - { - key: 1, - name: "Gouri Nair", - phoneNumber: "08606922585", - email: "gourinair20bec7@​iiitkottayam.ac.in", - image: "", - gif: "" - }, { key: 2, name: "Darisi Priyatham", 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"} /> - +