⬆️ Upgraded SvelteKit

This commit is contained in:
Mawoka
2022-08-18 15:35:01 +02:00
parent 12ec2ebf94
commit 9b79358db3
31 changed files with 198 additions and 324 deletions
@@ -4,14 +4,18 @@
- file, You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<script lang="ts" context="module">
import { signedIn } from '$lib/stores';
throw new Error(
'@migration task: Check code was safely removed (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292722)'
);
export async function load({ session }) {
if (session.authenticated) {
signedIn.set(true);
}
return {};
}
// import { signedIn } from '$lib/stores';
// export async function load({ session }) {
// if (session.authenticated) {
// signedIn.set(true);
// }
// return {};
// }
</script>
<script lang="ts">
@@ -3,10 +3,6 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<script context="module">
export const prerender = true;
</script>
<svelte:head>
<title>ClassQuiz/docs - Index</title>
<meta
@@ -3,10 +3,6 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<script context="module">
export const prerender = true;
</script>
<svelte:head>
<title>ClassQuiz/docs - Attribution</title>
<meta name="description" content="People who helped make with ClassQuiz." />
@@ -3,10 +3,6 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<script context="module">
export const prerender = true;
</script>
<script lang="ts">
import { onMount } from 'svelte';
import '$lib/hljs.css';
@@ -3,10 +3,6 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<script context="module">
export const prerender = true;
</script>
<svelte:head>
<title>ClassQuiz/docs - Import from Kahoot</title>
<meta
@@ -3,10 +3,6 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<script context="module">
export const prerender = true;
</script>
<svelte:head>
<title>ClassQuiz/docs - PoW</title>
<meta
@@ -3,10 +3,6 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<script context="module">
export const prerender = true;
</script>
<script lang="ts">
import { onMount } from 'svelte';
import '$lib/hljs.css';
@@ -3,10 +3,6 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<script context="module">
export const prerender = true;
</script>
<svelte:head>
<title>ClassQuiz/docs - Roadmap</title>
<meta
@@ -3,10 +3,6 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<script context="module">
export const prerender = true;
</script>
<script lang="ts">
import { onMount } from 'svelte';
import '$lib/hljs.css';
@@ -7,10 +7,6 @@
hljs.highlightAll();
});
</script>-->
<script context="module">
export const prerender = true;
</script>
<!--
- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this