From 9c57deab144593706ca18832f57f4ca5e3914276 Mon Sep 17 00:00:00 2001 From: Ananthak Date: Wed, 11 Oct 2023 07:32:37 +0530 Subject: [PATCH] added synmun buttons --- src/components/event_card.jsx | 32 ++++++++++++++++++------- src/components/event_card.scss | 8 +++---- src/screens/Events.jsx | 43 ++++++++++++++++++++++++---------- 3 files changed, 58 insertions(+), 25 deletions(-) diff --git a/src/components/event_card.jsx b/src/components/event_card.jsx index 7f40dec..7bae773 100644 --- a/src/components/event_card.jsx +++ b/src/components/event_card.jsx @@ -2,8 +2,10 @@ import { useEffect } from "react"; import "./event_card.scss"; function EventCard(props) { useEffect(() => { - let btn1 = document.getElementById("sm1") - btn1.className="d-none" + let btn1 = document.getElementById("sm2") + btn1.className="col btn btn-purple d-flex align-items-center justify-content-center" + let btn2 = document.getElementById("secondlink") + btn2.className="accordion-content" // let btn2 = document.getElementById("sm2") // btn2.className="d-none" // let pp2 = document.getElementById("pp2") @@ -14,7 +16,7 @@ function EventCard(props) {
-
+
@@ -44,27 +46,39 @@ function EventCard(props) {
+
- {/*
diff --git a/src/components/event_card.scss b/src/components/event_card.scss index 08d4970..30d8245 100644 --- a/src/components/event_card.scss +++ b/src/components/event_card.scss @@ -32,7 +32,7 @@ } .sideimg{ /* width: 100%; */ - height: 500px; + width:110%; } // @@ -65,11 +65,11 @@ font-family: 'Poppins'; font-style: normal; font-weight: 400; - font-size: 25px; + font-size: 24px; background-color: #1d1c1c; border-radius: 25px; margin-bottom: 2vmin!important; - padding: 30px; + padding: 25px; } /* .event_text:hover { @@ -179,7 +179,7 @@ color: #BE00D7; } .imgdesktop{ - margin-top: 45px; + margin-top: 75px; } .button-link{ width: 100%; diff --git a/src/screens/Events.jsx b/src/screens/Events.jsx index a484f7d..4a1fe52 100644 --- a/src/screens/Events.jsx +++ b/src/screens/Events.jsx @@ -23,7 +23,7 @@ function Events() { image={lensflare} text2="Event Details" details={ - "https://drive.google.com/uc?export=download&id=1_yiTSTklhpdOfPQqyL6BZoJlkI_kw3yD" + "https://drive.google.com/uc?export=download&id=1j1e7J_eO2y-I-I9oWWbXFzCDQnvklk4k" } linkimg={ } - register={ + btn1_text="Register" + link1={ "https://docs.google.com/forms/d/e/1FAIpQLSfTktPQMk3OiHmR-PaO74yFyDo5LokL2HEQB1L8LygWkRHIAg/viewform" } - submit={ + link2={ "https://docs.google.com/forms/d/e/1FAIpQLScH-clXkyoGdMIlHYsp9OG3JahL-hhRa6JZV1PwrsIgB7zUQQ/viewform" } /> @@ -53,7 +54,7 @@ function Events() { text2="Event Details" hide2="pp2" details={ - "https://drive.google.com/uc?export=download&id=1b4Y8fUhUrCtSX854oi2m4FoazWKEyMHs" + "https://drive.google.com/uc?export=download&id=1SHW_25YPNsyBADpcHLFLOU5UVTYfMlW0" } linkimg={ } - register={ + btn1_text="Register" + link1={ "https://docs.google.com/forms/d/e/1FAIpQLSeuJr_17cQXBrO7boOP-BOPO_U5NGrtFBSR2swA-5O87HT9fQ/viewform?usp=sf_link" } submit={""} @@ -78,12 +80,28 @@ function Events() { "🌍 It's time to bridge the gap between tech and global diplomacy! 💻 Join us at SYNMUN 2023 as we redefine the future where technology and global affairs converge. 🌐 Delegates, prepare to debate, collaborate, and find innovative solutions to global challenges alongside world leaders, companies, and activists." } image={synmun} - text2="Registration opening shortly! Stay tuned." + linkimg={ + + + } + text2="Event Details" + text3="Matrix" + btn1_text="Individual Registration" + btn2_text="Delegation Registration" hide1="sm1" hide2="sm2" - details="" - register={""} - submit={""} + secondlink="secondlink" + details="https://drive.google.com/uc?export=download&id=1qkWCjMchYI2RSjfe-a-MjHmJT-5Gyu51" + details2="https://drive.google.com/uc?export=download&id=1sUHWxGGm7xDLLzN0DacQJZR07ToOGkTH" + link1="https://forms.gle/DDnKGSopVYjtWGLi6" + link2="https://forms.gle/FvDxYd8SteJnNGed9" /> } - register={ + btn1_text="Register" + link1={ "https://forms.gle/EaUTBP74M1L2CU6q7" } - submit={""} + link2={""} />