diff --git a/src/App.jsx b/src/App.jsx index 9bdd66d..0078ad7 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -9,13 +9,15 @@ import Cloud from "./pages/cloud101/Cloud101"; import CodeofConduct from "./pages/coc/CodeofConduct"; import Evangelist from "./pages/evangelist/Evangelist"; import Events from "./pages/events/Events"; -import Live from './pages/live/Live' +import Live from "./pages/live/Live"; import Home from "./pages/home/Home"; import Surprise from "./pages/surprise/Surprise"; import Team from "./pages/team/Team"; import Telegram from "./pages/telegram/Telegram"; import "./styles/Globals.scss"; import Register from "./pages/registration/Register"; +import Verify from "./pages/verify/Verify"; +import Certificate from "./pages/certificate/Certificate"; const App = () => { return ( @@ -93,6 +95,8 @@ const App = () => { } /> } /> } /> + } /> + } /> } /> } /> } /> diff --git a/src/pages/certificate/Certificate.jsx b/src/pages/certificate/Certificate.jsx new file mode 100644 index 0000000..08773a4 --- /dev/null +++ b/src/pages/certificate/Certificate.jsx @@ -0,0 +1,36 @@ +import React, { useEffect } from "react"; + +const Certificate = () => { + document.title = "Hack4Bengal | Certificate"; + useEffect(() => { + if (window.location.pathname === "/certificate") { + setTimeout(() => { + window.location.href = "https://s3certificates.streamlit.app/"; + }, 800); + } + }, []); + return ( + <> +
+

Certificates Incoming 🚀

+
+ + ); +}; + +export default Certificate; diff --git a/src/pages/verify/Verify.jsx b/src/pages/verify/Verify.jsx new file mode 100644 index 0000000..9723d47 --- /dev/null +++ b/src/pages/verify/Verify.jsx @@ -0,0 +1,36 @@ +import React, { useEffect } from "react"; + +const Verify = () => { + document.title = "Hack4Bengal | Verify Certificates"; + useEffect(() => { + if (window.location.pathname === "/verify") { + setTimeout(() => { + window.location.href = "https://s3-verify.streamlit.app/"; + }, 800); + } + }, []); + return ( + <> +
+

Verify Your Certificate ✅

+
+ + ); +}; + +export default Verify; diff --git a/src/pages/verify/Verify.scss b/src/pages/verify/Verify.scss new file mode 100644 index 0000000..e69de29