- VIJÑĀNA 2.0
+ VIJÑ
+
A
+ NA 2.0
{/*
*/}
KBM Government College
diff --git a/src/pages/launch/launch.module.css b/src/pages/launch/launch.module.css
new file mode 100644
index 00000000..49663a9f
--- /dev/null
+++ b/src/pages/launch/launch.module.css
@@ -0,0 +1,23 @@
+@keyframes anim {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+
+.launch {
+ width: 100vw;
+ height: 100vh;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-direction: column;
+
+ .countDown {
+ font-size: 80px;
+ font-family: "Black Ops One", sans-serif;
+ animation: anim 1s linear infinite;
+ }
+}
diff --git a/src/pages/launch/launch.tsx b/src/pages/launch/launch.tsx
new file mode 100644
index 00000000..4062ec9f
--- /dev/null
+++ b/src/pages/launch/launch.tsx
@@ -0,0 +1,24 @@
+import { useNavigate } from "react-router-dom";
+import style from "./launch.module.css";
+import { useEffect, useState } from "react";
+
+interface EventsProps {}
+
+const Launch: React.FC
= ({}) => {
+ const [count, setCount] = useState(3);
+ const redirect = useNavigate();
+
+ setInterval(async () => {
+ if (count >= 1) await setCount(count - 1);
+ else redirect("/");
+ }, 1000);
+ return (
+
+ );
+};
+
+export default Launch;