This commit is contained in:
2021-08-21 11:34:40 +02:00
parent 170d61dd96
commit 92a4fb9d94
11 changed files with 106 additions and 455 deletions

View File

@@ -1,7 +1,6 @@
<script lang="ts" context="module">
import type { Load } from '@sveltejs/kit'
export const prerender = true
export const load: Load = async ({ fetch }) => {
return {
props: {

View File

@@ -1,7 +1,6 @@
<script lang="ts" context="module">
import type { Load } from '@sveltejs/kit'
export const prerender = true
export const load: Load = async ({ fetch, page }) => {
return {
props: {

View File

@@ -1,7 +1,6 @@
<script lang="ts" context="module">
import type { Load } from '@sveltejs/kit'
export const prerender = true
export const load: Load = async ({ fetch }) => {
return {
props: {

View File

@@ -1,7 +1,3 @@
<script lang="ts" context="module">
export const prerender = true
</script>
<script lang="ts">
import IconList from '$lib/components/IconList.svelte'
import SimplePage from '$lib/components/SimplePage.svelte'

View File

@@ -1,8 +1,6 @@
<script lang="ts" context="module">
import type { MediaItem } from '$lib/api'
export const prerender = true
type Data = Record<'signature' | 'home', MediaItem>
export const load: Load = async ({ fetch }) => {
const signature: MediaItem = await fetch('/api/media/signature.json').then((r) => r.json())

View File

@@ -1,7 +1,6 @@
<script lang="ts" context="module">
import type { Load } from '@sveltejs/kit'
export const prerender = true
export const load: Load = async ({ fetch }) => {
return {
props: {

View File

@@ -1,7 +1,6 @@
<script lang="ts" context="module">
import type { Load } from '@sveltejs/kit'
export const prerender = true
export const load: Load = async ({ fetch }) => {
return {
props: {

View File

@@ -1,7 +1,3 @@
<script lang="ts" context="module">
export const prerender = true
</script>
<script lang="ts">
import IconList from '$lib/components/IconList.svelte'
import SimplePage from '$lib/components/SimplePage.svelte'