🔍 Added title to every page
This commit is contained in:
@@ -54,6 +54,9 @@
|
|||||||
isSubmitting = false;
|
isSubmitting = false;
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
<svelte:head>
|
||||||
|
<title>ClassQuiz - Reset your Password</title>
|
||||||
|
</svelte:head>
|
||||||
|
|
||||||
<div class="flex items-center justify-center h-full px-4">
|
<div class="flex items-center justify-center h-full px-4">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -43,6 +43,9 @@
|
|||||||
|
|
||||||
let email = '';
|
let email = '';
|
||||||
</script>
|
</script>
|
||||||
|
<svelte:head>
|
||||||
|
<title>ClassQuiz - Reset your Password</title>
|
||||||
|
</svelte:head>
|
||||||
|
|
||||||
<div class="flex items-center justify-center h-full px-4">
|
<div class="flex items-center justify-center h-full px-4">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -133,6 +133,9 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
<svelte:head>
|
||||||
|
<title>ClassQuiz - Settings</title>
|
||||||
|
</svelte:head>
|
||||||
|
|
||||||
{#await getUser()}
|
{#await getUser()}
|
||||||
<Spinner />
|
<Spinner />
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
if (!session.authenticated) {
|
if (!session.authenticated) {
|
||||||
return {
|
return {
|
||||||
status: 302,
|
status: 302,
|
||||||
redirect: '/account/login?returnTO=/create'
|
redirect: '/account/login?returnTo=/create'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (session.authenticated) {
|
if (session.authenticated) {
|
||||||
|
|||||||
@@ -24,6 +24,9 @@
|
|||||||
return await response.json();
|
return await response.json();
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
<svelte:head>
|
||||||
|
<title>ClassQuiz - Explore</title>
|
||||||
|
</svelte:head>
|
||||||
|
|
||||||
{#await getData()}
|
{#await getData()}
|
||||||
<svg class="h-8 w-8 animate-spin mx-auto my-20" viewBox="3 3 18 18">
|
<svg class="h-8 w-8 animate-spin mx-auto my-20" viewBox="3 3 18 18">
|
||||||
|
|||||||
@@ -36,6 +36,9 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
<svelte:head>
|
||||||
|
<title>ClassQuiz - Search</title>
|
||||||
|
</svelte:head>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div class="flex justify-center">
|
<div class="flex justify-center">
|
||||||
|
|||||||
@@ -79,6 +79,9 @@
|
|||||||
window.location.replace(`/admin?token=${data.game_id}&pin=${data.game_pin}&connect=1`);
|
window.location.replace(`/admin?token=${data.game_id}&pin=${data.game_pin}&connect=1`);
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
<svelte:head>
|
||||||
|
<title>ClassQuiz - View {quiz.title}</title>
|
||||||
|
</svelte:head>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h1 class="text-4xl text-center">{quiz.title}</h1>
|
<h1 class="text-4xl text-center">{quiz.title}</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user