🔍 Added title to every page

This commit is contained in:
Mawoka
2022-04-16 11:20:57 +02:00
parent f5635a87e0
commit 1292faa518
7 changed files with 19 additions and 1 deletions
@@ -54,6 +54,9 @@
isSubmitting = false;
};
</script>
<svelte:head>
<title>ClassQuiz - Reset your Password</title>
</svelte:head>
<div class="flex items-center justify-center h-full px-4">
<div>
@@ -43,6 +43,9 @@
let email = '';
</script>
<svelte:head>
<title>ClassQuiz - Reset your Password</title>
</svelte:head>
<div class="flex items-center justify-center h-full px-4">
<div>
@@ -133,6 +133,9 @@
}
};
</script>
<svelte:head>
<title>ClassQuiz - Settings</title>
</svelte:head>
{#await getUser()}
<Spinner />
+1 -1
View File
@@ -5,7 +5,7 @@
if (!session.authenticated) {
return {
status: 302,
redirect: '/account/login?returnTO=/create'
redirect: '/account/login?returnTo=/create'
};
}
if (session.authenticated) {
+3
View File
@@ -24,6 +24,9 @@
return await response.json();
};
</script>
<svelte:head>
<title>ClassQuiz - Explore</title>
</svelte:head>
{#await getData()}
<svg class="h-8 w-8 animate-spin mx-auto my-20" viewBox="3 3 18 18">
+3
View File
@@ -36,6 +36,9 @@
}
};
</script>
<svelte:head>
<title>ClassQuiz - Search</title>
</svelte:head>
<div>
<div class="flex justify-center">
@@ -79,6 +79,9 @@
window.location.replace(`/admin?token=${data.game_id}&pin=${data.game_pin}&connect=1`);
};
</script>
<svelte:head>
<title>ClassQuiz - View {quiz.title}</title>
</svelte:head>
<div>
<h1 class="text-4xl text-center">{quiz.title}</h1>