diff --git a/src/assets/data/HeaderContent.js b/src/assets/data/HeaderContent.js index 73c2b6b..679718f 100644 --- a/src/assets/data/HeaderContent.js +++ b/src/assets/data/HeaderContent.js @@ -18,7 +18,7 @@ const HeaderData = { backWordMobile: "Plan", backWordSize_mobile: "93px", backWordSpacing_mobile: "0.5rem", - frontWord: "Hackathon Timeline", + frontWord: "Timeline", frontWordMobile: "Timeline", }, theme: { diff --git a/src/assets/data/Timeline.js b/src/assets/data/Timeline.js index d675d28..a28cc0d 100644 --- a/src/assets/data/Timeline.js +++ b/src/assets/data/Timeline.js @@ -1,43 +1,47 @@ -import Ring_1 from "../images/timeline/Ring_1.png" -import Ring_2 from "../images/timeline/Ring_2.png" -import Ring_3 from "../images/timeline/Ring_3.png" -import Ring_4 from "../images/timeline/Ring_4.png" +import Ring_1 from "../images/timeline/Ring_1.png"; +import Ring_2 from "../images/timeline/Ring_2.png"; +import Ring_3 from "../images/timeline/Ring_3.png"; +import Ring_4 from "../images/timeline/Ring_4.png"; export const EventTimeline = [ { - date: new Date('2024-06-02'), - number:1, - circleText:"Registration begins", - modelText:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.", + date: new Date("2024-06-02"), + number: 1, + circleText: "Registration Begins", + modelText: + "Lorem Ipsum is simply dummy text of the printing and typesetting industry.", alt: "Registration Start Date", displayDate: "2nd June", - ringImg:Ring_1 + ringImg: Ring_1, }, { - date: new Date('2024-06-28'), - number:2, - circleText:"Hackathon Starts", - modelText:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.", + date: new Date("2024-06-28"), + number: 2, + circleText: "Hackathon Starts", + modelText: + "Lorem Ipsum is simply dummy text of the printing and typesetting industry.", alt: "Hackathon Start Date", displayDate: "28th June", - ringImg:Ring_2 + ringImg: Ring_2, }, { - date: new Date('2024-06-30'), - number:3, - circleText:"Hackathon In Progress", + date: new Date("2024-06-30"), + number: 3, + circleText: "Hackathon In Progress", alt: "Hackathon Progress Date", - modelText:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.", + modelText: + "Lorem Ipsum is simply dummy text of the printing and typesetting industry.", displayDate: "28-30th June", - ringImg:Ring_3 + ringImg: Ring_3, }, { - date: new Date('2024-07-01'), - number:4, - circleText:"Hackathon Ends", - modelText:"Lorem Ipsum is simply dummy text of the printing and typesetting industry.", + date: new Date("2024-07-01"), + number: 4, + circleText: "Hackathon Ends", + modelText: + "Lorem Ipsum is simply dummy text of the printing and typesetting industry.", alt: "Hackathon End Date", displayDate: "30th June", - ringImg:Ring_4 + ringImg: Ring_4, }, ]; diff --git a/src/components/private/timeline/Modal.scss b/src/components/private/timeline/Modal.scss index a83b480..79febb7 100644 --- a/src/components/private/timeline/Modal.scss +++ b/src/components/private/timeline/Modal.scss @@ -11,22 +11,26 @@ z-index: 1000; animation: fadeIn 0.3s ease-in-out; - &__content { - background: #393939; - padding: 10px 10px 10px 30px; + .modal__content { + background: #303030; + border: 3px solid var(--h4bred); + padding: 35px 35px 35px 55px; border-radius: 10px; position: relative; - height: 480px; - width: 480px; + min-height: 350px; + width: 500px; transform: scale(0.7); animation: scaleIn 0.3s ease-in-out forwards; + @media screen and (max-width: 549px) { - height: 400px; - width: 400px; + min-height: 350px; + width: 350px; + padding: 27px 27px 27px 50px; } @media screen and (max-width: 400px) { height: 400px; width: 350px; + padding: 30px 30px 30px 52.5px; } @media screen and (max-width: 370px) { height: 400px; @@ -38,10 +42,9 @@ } } - &__close { + .modal__close { display: flex; justify-content: flex-end; - padding: 20px 20px 5px 20px; button { background: transparent; border: none; diff --git a/src/components/private/timeline/Modal.tsx b/src/components/private/timeline/Modal.tsx index 189fb57..51cf4c3 100644 --- a/src/components/private/timeline/Modal.tsx +++ b/src/components/private/timeline/Modal.tsx @@ -1,7 +1,7 @@ import React from "react"; import "./Modal.scss"; -const Modal = ({ closeModal }) => { +const Modal = ({closeModal}) => { return (