Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/template.docx
Binary file not shown.
4 changes: 2 additions & 2 deletions src/Components/Assets/timeline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/Components/Assets/timelinePhone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/Components/FAQs/faq.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
margin-top: 0;
}



@media(max-width:2500px) and (min-width:1500px) {
.question {
font-size: 1.6rem;
Expand All @@ -79,6 +81,9 @@
.answer {
font-size: 1.4rem;
}
.snoo{
font-size: 1.4rem;
}

.FAQ {
/* margin-bottom: 280px; */
Expand Down
1 change: 1 addition & 0 deletions src/Components/LandingPage/landingPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ body {
color: #252525;
margin-right: 1.5vw;
cursor: pointer;
display: none;
}

/* ABOUT US */
Expand Down
202 changes: 179 additions & 23 deletions src/Components/LandingPage/landingPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
Typography,
} from "@mui/material";
import { dialog0, dialog16, dialog17, dialog18, dialog19, dialog20 } from "../../Redux/step";
import {dialog6, dialog7, dialog8, dialog9, dialog10, dialog11, dialog12, dialog13, dialog14} from "../../Redux/step";
import Register from "../Register/Register";
import Member from "../Register/member";
import Team from "../Register/team";
Expand All @@ -32,7 +33,7 @@ import Navbar from "../Navbar/navbar";
// import mobTimeline from "../Assets/mob_timeline.svg"
import timelineNew from "../Assets/timeline.svg";
import timelinePhone from "../Assets/timelinePhone.svg";
import { NavLink, useNavigate } from "react-router-dom";
import { Link, NavLink, useNavigate } from "react-router-dom";
import { RegOpenThunk } from "../../Redux/registerSlice";
import { Spinner } from "react-bootstrap";
import Footer from "../footer/footer";
Expand All @@ -49,6 +50,16 @@ import imgs3 from "../Assets/image-3.png"
import imgs4 from "../Assets/image-4.jpg"
import imgs5 from "../Assets/image-5.jpg"
import imgs6 from "../Assets/image-6.jpg"
import Login1 from "../Login/login1";
import Login from "../Login/CA/login";
import LoginTeam from "../Login/TEAM/loginTeam";
import OtpTeam from "../Login/TEAM/otpTeam";
import Otp from "../Login/CA/otp";
import Forgot from "../Login/CA/fgtPwd";
import ForgotTeam from "../Login/TEAM/fgtTeam";
import Reset from "../Login/CA/reset";
import ResetTeam from "../Login/TEAM/resetTeam";


const style = {
position: 'absolute',
Expand Down Expand Up @@ -79,7 +90,7 @@ function LandingPage() {
const handleOpen = () => setOpen(true);
const handleClose = () => setOpen(false);


const [stop,handleStop]=useState(false);

const settings = {
speed: 500,
Expand Down Expand Up @@ -114,6 +125,71 @@ function LandingPage() {
window.scroll(0, 0);
}, []);

useEffect(() => {
if (step.step === 0) {
setStepDialog({
one: false,
two: false,
three: false,
four: false,
five: false,
six: false,
seven: false,
eight: false,
nine: false,
ten: false,
eleven: false,
twelve: false,
thirteen: false,
fourteen: false,
logout: false,
});
}
if (step.step === 1 && dialogg) {
setStepDialog({ one: true });
}
if (step.step === 2 && dialogg) {
setStepDialog({ two: true });
}
if (step.step === 3 && dialogg) {
setStepDialog({ three: true });
}
if (step.step === 4 && dialogg) {
setStepDialog({ four: true });
}
if (step.step === 5 && dialogg) {
setStepDialog({ five: true });
}
if (step.step === 6) {
setStepDialog({ six: true });
}
if (step.step === 7) {
setStepDialog({ seven: true });
}
if (step.step === 8) {
setStepDialog({ eight: true });
}
if (step.step === 9) {
setStepDialog({ nine: true });
}
if (step.step === 10 ) {
setStepDialog({ ten: true });
}
if (step.step === 11 ) {
setStepDialog({ eleven: true });
}
if (step.step === 12 ) {
setStepDialog({ twelve: true });
}
if (step.step === 13 ) {
setStepDialog({ thirteen: true });
}
if (step.step === 14 ) {
setStepDialog({ fourteen: true });
}

}, [step, dialogg]);

useEffect(() => {
if (step.step == 0) {
setStepDialog({
Expand Down Expand Up @@ -154,7 +230,7 @@ function LandingPage() {
}
if (title === "") {
document.getElementById("toDash").style.display = "none";
document.getElementById("toReg").style.display = "inline";
document.getElementById("toReg").style.display = "none";
}
}, [title]);

Expand Down Expand Up @@ -201,20 +277,21 @@ function LandingPage() {
setProces(false);
}



useEffect(() => {
if (!processBool) {
// dispatch(RegOpenThunk())
// .then((res) => {
// console.log(res);
// if (res?.payload?.status === 400) {
dispatch(RegOpenThunk())
.then((res) => {
console.log(res);
if (res?.payload?.status === 400) {
dispatch(setProcess());
if (!processBool) {
setProces(true);
}
}
}
// })
// }}
})
}}
, []);

const [timer, setTimer] = useState(10);
Expand Down Expand Up @@ -515,7 +592,7 @@ function LandingPage() {
},
}}
>
<Member home={true}/>

</Dialog>

<Dialog
Expand Down Expand Up @@ -587,6 +664,85 @@ function LandingPage() {
</Button>
</div>
</Dialog> */}
{!stop&&
<>
<Dialog
open={stepDialog.six}
PaperProps={{
sx: { maxHeight: 450, maxWidth: 1000 },
}}
>
<Login1 />
</Dialog>

<Dialog
open={stepDialog.seven}
PaperProps={{
sx: { maxHeight: 500, maxWidth: 1000 },
}}
>
<Login />
</Dialog>

<Dialog
open={stepDialog.eight}
PaperProps={{
sx: { maxHeight: 500, maxWidth: 1000 },
}} >
<Forgot />
</Dialog>

<Dialog
open={stepDialog.nine}
PaperProps={{
sx: { maxHeight: 500, maxWidth: 1000 },
}}>
<Otp />
</Dialog>

<Dialog
open={stepDialog.ten}
PaperProps={{
sx: { maxHeight: 500, maxWidth: 1000 },
}}>
<Reset />
</Dialog>

<Dialog
open={stepDialog.eleven}
PaperProps={{
sx: { maxHeight: 500, maxWidth: 1000 },
}}>
<LoginTeam />
</Dialog>

<Dialog
open={stepDialog.twelve}
PaperProps={{
sx: { maxHeight: 500, maxWidth: 1000 },
}}
>
<ForgotTeam />
</Dialog>

<Dialog
open={stepDialog.thirteen}
PaperProps={{
sx: { maxHeight: 500, maxWidth: 1000 },
}}
>
<OtpTeam />
</Dialog>

<Dialog
open={stepDialog.fourteen}
PaperProps={{
sx: { maxHeight: 500, maxWidth: 1000 },
}}
>
<ResetTeam />
</Dialog>
</>}

<div style={{ position: "absolute", top: "40px", right: "20px" }}>
<Dialog
Expand All @@ -601,31 +757,31 @@ function LandingPage() {
}}
keepMounted
>
<img id="crs" className="cross" src={cross1} onClick={() => handleProcess()} />
<img id="crs" className="cross" src={cross1} onClick={() => {
handleStop(true)
handleProcess() }}/>
<div id="processDialog">
<img src={UpdateOP}/>
{/* <DialogTitle
{/* <img src={UpdateOP}/> */}
<DialogTitle
sx={{
textAlign: "center",
marginBottom: 0,
paddingBottom: "8px",
}}
>
Registrations will start soon.
</DialogTitle> */}
The curtains close on SCROLLS'24. Thanks for joining the show!
</DialogTitle>
{/* <DialogTitle
sx={{ textAlign: "center", marginTop: 0, paddingTop: 0 }}
>
Click here to view the results of S
</DialogTitle> */}
{/* <Button
onClick={() => {
navigate("/process");
handleProcess();
}}
<Button
>
How to Register
</Button> */}
<Link to={"/result"}>
Results
</Link>
</Button>
</div>
</Dialog>
</div>
Expand Down
3 changes: 3 additions & 0 deletions src/Components/Navbar/Navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,9 @@
margin-left: 1vw;
gap: 1.7vw;
}
#navUpdate{
font-size: 0.88rem;
}

#navMore2 {
/* margin-left: -5vw; */
Expand Down
Loading