Skip to content

Commit

Permalink
More redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
holybaechu committed Feb 22, 2024
1 parent 673b0b7 commit 3928271
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="flex h-56 bg-[#00000025] justify-between">
<div class="flex flex-col p-10 h-full space-y-16 text-gray-400">
<a href="https://rappytv.com/">
<a href="/contact">
<div class="text-2xl font-semibold">RappyTV</div>
<div class="text-md">© 2024 RappyTV</div>
</a>
Expand Down
13 changes: 13 additions & 0 deletions src/components/RedirectPage.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<script>
export let url = "";
import { onMount } from 'svelte';
onMount(() => {
window.location.href = url;
});
</script>

<div class="flex h-screen justify-center items-center text-4xl font-black">
Redirecting...
</div>
10 changes: 2 additions & 8 deletions src/routes/contact/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<script>
import { onMount } from 'svelte';
onMount(() => {
window.location.href = "https://rappytv.com/";
});
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<div class="flex h-screen justify-center items-center text-4xl font-black">
Redirecting...
</div>
<RedirectPage url="https://rappytv.com/" />
5 changes: 5 additions & 0 deletions src/routes/feedback/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<script>
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<RedirectPage url="https://boost-feedback.rappytv.com/" />
10 changes: 2 additions & 8 deletions src/routes/invite/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<script>
import { onMount } from 'svelte';
onMount(() => {
window.location.href = "https://discord.com/api/oauth2/authorize?client_id=1067880912538304583&permissions=8&scope=applications.commands%20bot";
});
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<div class="flex h-screen justify-center items-center text-4xl font-black">
Redirecting...
</div>
<RedirectPage url="https://discord.com/api/oauth2/authorize?client_id=1067880912538304583&permissions=8&scope=applications.commands%20bot" />
5 changes: 5 additions & 0 deletions src/routes/review/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<script>
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<RedirectPage url="https://top.gg/bot/1067880912538304583#reviews" />
10 changes: 2 additions & 8 deletions src/routes/support/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<script>
import { onMount } from 'svelte';
onMount(() => {
window.location.href = "https://discord.gg/HaddzQrCbG";
});
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<div class="flex h-screen justify-center items-center text-4xl font-black">
Redirecting...
</div>
<RedirectPage url="https://discord.gg/HaddzQrCbG" />
5 changes: 5 additions & 0 deletions src/routes/vote/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<script>
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<RedirectPage url="https://top.gg/bot/1067880912538304583/vote" />

0 comments on commit 3928271

Please sign in to comment.