Merge pull request #8 from EerierGosling/main

adding flagship redirect
This commit is contained in:
Sofia Egan 2026-01-12 22:13:51 -03:00 committed by GitHub
commit 6edb75c592
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,6 +56,11 @@ function App() {
const emailRef = useRef<HTMLInputElement>(null);
useEffect(() => {
if (window.location.pathname === '/flagship') {
window.location.href = 'https://flagship.campfire.hackclub.com';
return;
}
document.addEventListener("scroll", () => {
setScrollY(window.scrollY);
});