Skip to content

Commit fd4eb0d

Browse files
committed
Set deadline
1 parent 0b74a12 commit fd4eb0d

File tree

3 files changed

+33
-3
lines changed

3 files changed

+33
-3
lines changed

src/App.jsx

+14-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,21 @@ import { NotificationsProvider } from "@mantine/notifications";
99
import { Route, Routes } from "react-router-dom";
1010
import Registered from "./Components/Registered";
1111
import { MantineProvider } from "@mantine/core";
12+
import Done from "./Components/Done";
1213
function App() {
13-
console.log("")
14-
console.log('Psst... so you are a hacker eh? Find out what this is and tag us on instagram (coding.studio) ;) %c>++++++++++[>+++++++>+++++++++++>++++++++++>+++++++++++>++++++++++>++++++++++>+++++++++++>++++++++++>++++++++++++>++++++++++<<<<<<<<<<-]>+++.>.>+++++.>++++++.>+++++.>---.>--.>+++++.>++.>+.', 'background: #222; color: #bada55');
14+
const date = new Date()
15+
if(date.getDate()>=13 || date.getFullYear() > 2022 || date.getMonth() >= 3){
16+
17+
return <MantineProvider theme={{colorScheme:'dark'}} >
18+
<Routes>
19+
<Route path="/getUglyTableSecretlyButOpenly" element={<AllUsers />} />
20+
<Route path="/" element={<Done />} />
21+
22+
</Routes>
23+
24+
</MantineProvider>
25+
26+
}
1527
return (
1628
<MantineProvider theme={{ colorScheme: "dark" }}>
1729
<Routes>

src/Components/Done.jsx

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import React from "react";
2+
3+
export default function Done() {
4+
return (
5+
<div className="flex w-screen h-screen px-4 flex-col items-center relative ">
6+
<span className="text-white mt-16 text-center text-[3rem]">
7+
Registration closed
8+
</span>
9+
<span className="text-white mt-2 text-[1.1rem]">
10+
Oops! You are late!!
11+
</span>
12+
13+
<span className="text-white bottom-0 text-[4rem] absolute font-bold ">
14+
c.<span className="text-[#6b21a8] font-bold ">S();</span>
15+
</span>
16+
</div>
17+
);
18+
}

src/Components/Event.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function Event() {
2323
}}
2424
/>
2525
<span className="mt-2 block text-[1.1rem] md:text-right text-center font-sans">
26-
Registration closes on 13th March 2022, 11:59 PM
26+
Registration closes on 12th March 2022, 11:59 PM
2727
</span>
2828
</span>
2929
</div>

0 commit comments

Comments
 (0)