Skip to content

Commit

Permalink
add form page for google ad
Browse files Browse the repository at this point in the history
Signed-off-by: William-Mou <william.mou1024@gmail.com>
  • Loading branch information
William-Mou committed Jun 23, 2024
1 parent 6cc90c1 commit 689db43
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Hero_forum.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const Hero_forum = () => {
>
<div className="flex flex-col gap-2 sm:flex-row mt-14 mb-2 sm:mb-6 justify-center">
<a
className="custom-button-colored w-48 sm:w-36 h-10 mr-0 sm:mr-2 lg:mr-4" href="https://docs.google.com/forms/d/e/1FAIpQLSd1WMKOX-AlzLaYSyGIvlI_oHfOQJixAjgvBoY2V2MQMTkUdw/viewform" target="_blank"
className="custom-button-colored w-48 sm:w-36 h-10 mr-0 sm:mr-2 lg:mr-4" href="https://scc.nthu.site/Summer_Camp_2024/form/" target="_blank"
>
立刻報名!
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Pricing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const Pricing = () => {
};

const handleButtonClick = () => {
window.open('https://docs.google.com/forms/d/e/1FAIpQLSd1WMKOX-AlzLaYSyGIvlI_oHfOQJixAjgvBoY2V2MQMTkUdw/viewform', '_blank');
window.open('https://scc.nthu.site/Summer_Camp_2024/form/', '_blank');
};

return (
Expand Down
14 changes: 14 additions & 0 deletions src/pages/form.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

<!DOCTYPE html>
<html lang="zh-tw">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>jump page</title>
<script>
document.addEventListener('DOMContentLoaded', (event) => {
window.location.href = "https://scc.nthu.site/Summer_Camp_2024/form/";
});
</script>
</head>
</html>

0 comments on commit 689db43

Please sign in to comment.