Skip to content

Commit 1e34ab5

Browse files
committed
add join us
1 parent 23d738d commit 1e34ab5

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/pages/join-us.astro

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
---
22
import BaseLayout from "@/layouts/BaseLayout.astro";
3-
// import Hero from "@/components/home/hero.astro";
4-
// import CallToAction from "@/components/home/CallToAction.astro";
5-
// import Entice from "@/components/home/entice.astro";
3+
4+
// Method 1: Client-side redirect
5+
const redirectUrl = "https://forms.fillout.com/t/tjJdu2yq8xus";
66
---
77

88
<BaseLayout
99
title="BBSS Hack Club"
1010
description="Official website of THE Hack Club in BBSS."
1111
>
12-
13-
</BaseLayout>
12+
<meta http-equiv="refresh" content={`0;url=${redirectUrl}`} />
13+
<script define:vars={{ redirectUrl }}>
14+
window.location.href = redirectUrl;
15+
</script>
16+
<div class="flex items-center justify-center min-h-screen">
17+
<p>Redirecting to forms page...</p>
18+
</div>
19+
</BaseLayout>

0 commit comments

Comments
 (0)