Skip to content

Commit

Permalink
Fix page title not changing until refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
holybaechu committed Feb 27, 2024
1 parent fae5644 commit 260fdaf
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions src/routes/+error.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import { page } from '$app/stores';
</script>

<head>
<svelte:head>
<meta property="og:title" content="{$page.status} {$page.error?.message || "Unknown error"}" />
<title>{$page.status} {$page.error?.message || "Unknown error"}</title>
</head>
</svelte:head>

<div class="flex flex-col h-screen justify-center items-center space-y-1">
<div class="text-6xl font-black">
Expand Down
4 changes: 2 additions & 2 deletions src/routes/contact/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Contact" />
<title>Boost Notifications - Contact</title>
</head>
</svelte:head>

<RedirectPage url="https://rappytv.com/" />
4 changes: 2 additions & 2 deletions src/routes/docs/privacy/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import Link from "$components/Link.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Privacy Policy" />
<title>Boost Notifications - Privacy Policy</title>
</head>
</svelte:head>

<div class="py-40 px-10 md:px-40 space-y-6">
<div class="text-center text-4xl font-black">
Expand Down
4 changes: 2 additions & 2 deletions src/routes/docs/terms/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import Link from "$components/Link.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Terms of Service" />
<title>Boost Notifications - Terms of Service</title>
</head>
</svelte:head>

<div class="py-40 px-10 md:px-40 space-y-6">
<div class="text-center text-4xl font-black">
Expand Down
4 changes: 2 additions & 2 deletions src/routes/feedback/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Feedback" />
<title>Boost Notifications - Feedback</title>
</head>
</svelte:head>

<RedirectPage url="https://boost-feedback.rappytv.com/" />
4 changes: 2 additions & 2 deletions src/routes/invite/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Invite" />
<title>Boost Notifications - Invite</title>
</head>
</svelte:head>

<RedirectPage url="https://discord.com/api/oauth2/authorize?client_id=1067880912538304583&permissions=8&scope=applications.commands%20bot" />
4 changes: 2 additions & 2 deletions src/routes/review/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Review" />
<title>Boost Notifications - Review</title>
</head>
</svelte:head>

<RedirectPage url="https://top.gg/bot/1067880912538304583#reviews" />
4 changes: 2 additions & 2 deletions src/routes/status/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Status" />
<title>Boost Notifications - Status</title>
</head>
</svelte:head>

<RedirectPage url="https://status.rappytv.com/status/bots" />
4 changes: 2 additions & 2 deletions src/routes/support/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Support" />
<title>Boost Notifications - Support</title>
</head>
</svelte:head>

<RedirectPage url="https://discord.gg/HaddzQrCbG" />
4 changes: 2 additions & 2 deletions src/routes/vote/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Vote" />
<title>Boost Notifications - Vote</title>
</head>
</svelte:head>

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

0 comments on commit 260fdaf

Please sign in to comment.