-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
769235b
commit 7d688ef
Showing
4 changed files
with
77 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ( | ||
<> | ||
<div | ||
className="externalpage" | ||
style={{ | ||
textAlign: "center", | ||
display: "flex", | ||
flexDirection: "column", | ||
alignItems: "center", | ||
justifyContent: "center", | ||
margin: "auto", | ||
justifyItems: "center", | ||
fontWeight: "600", | ||
fontFamily: "sans-serif", | ||
fontSize: "3rem", | ||
height: "100vh", | ||
}} | ||
> | ||
<p>Certificates Incoming 🚀</p> | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
export default Certificate; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ( | ||
<> | ||
<div | ||
className="externalpage" | ||
style={{ | ||
textAlign: "center", | ||
display: "flex", | ||
flexDirection: "column", | ||
alignItems: "center", | ||
justifyContent: "center", | ||
margin: "auto", | ||
justifyItems: "center", | ||
fontWeight: "600", | ||
fontFamily: "sans-serif", | ||
fontSize: "3rem", | ||
height: "100vh", | ||
}} | ||
> | ||
<p>Verify Your Certificate ✅</p> | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
export default Verify; |
Empty file.