Merge pull request 'Feat: scstwbox redirect' (#8) from feat/scstw-box-redirect into master
Reviewed-on: https://git.dorian.im/itsblue-development/itsblue-website/pulls/8
This commit is contained in:
commit
f9bc3224fa
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: redirect
|
||||
redirectUrl: "/scstw?ref=ScStwApp"
|
||||
redirectDelay: "0"
|
||||
---
|
|
@ -15,4 +15,16 @@ menu:
|
|||
|
||||
If you got interested and want to know more about the ScStw, feel free to contact us, and we will be happy to tell you everything you need to know about it.
|
||||
|
||||
{{% contactForm %}}
|
||||
{{% contactForm %}}
|
||||
|
||||
<script>
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const ref = urlParams.get('ref');
|
||||
if(ref) {
|
||||
switch(ref) {
|
||||
case 'ScStwCase':
|
||||
window.location.href = "https://scstw.itsblue.de";
|
||||
break;
|
||||
}
|
||||
}
|
||||
</script>
|
Loading…
Reference in New Issue