diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 39ae885..01b4423 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -1,4 +1,5 @@
+
+
Hi, my name is Alex!
I am a software engineer, Linux enthusiast and a friend of automation.
diff --git a/src/routes/blog/+page.svelte b/src/routes/blog/+page.svelte
index 50dadd1..a74ba41 100644
--- a/src/routes/blog/+page.svelte
+++ b/src/routes/blog/+page.svelte
@@ -1,12 +1,15 @@
+
+
Blog Posts
Sometimes I document some of the things I do.
diff --git a/src/routes/blog/+page.ts b/src/routes/blog/+page.ts
index 05dc5e6..d4ee1b4 100644
--- a/src/routes/blog/+page.ts
+++ b/src/routes/blog/+page.ts
@@ -1,7 +1,6 @@
-import type { LoadEvent } from '@sveltejs/kit';
import type { PageLoad } from './$types';
-export async function load({ data }: LoadEvent): PageLoad {
+export const load: PageLoad = ({ data }) => {
return {
posts: data.posts,
seo: {
@@ -10,4 +9,4 @@ export async function load({ data }: LoadEvent): PageLoad {
'My blogposts, where I occasionally document things, that I think are not accessible or badly documented.',
},
};
-}
+};
diff --git a/src/routes/cat/+page.svelte b/src/routes/cat/+page.svelte
index ee36089..c93f8d5 100644
--- a/src/routes/cat/+page.svelte
+++ b/src/routes/cat/+page.svelte
@@ -1,13 +1,16 @@
+
+
{#each cats as cat}
diff --git a/src/routes/cat/+page.ts b/src/routes/cat/+page.ts
index f8dd021..286f65d 100644
--- a/src/routes/cat/+page.ts
+++ b/src/routes/cat/+page.ts
@@ -1,13 +1,9 @@
-import type { LoadEvent, LoadOutput } from '@sveltejs/kit';
+import type { PageLoad } from './$types';
-export async function load({ fetch }: LoadEvent): PageLoadOutput {
+export const load: PageLoad = async ({ fetch }) => {
const response = await fetch('https://cats.daichendt.one/list');
const asJson = await response.json();
- throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
- status: response.status,
- props: {
- cats: response.ok && asJson,
- },
+ cats: response.ok && asJson,
};
-}
+};
diff --git a/src/routes/contact/+page.svelte b/src/routes/contact/+page.svelte
index eb56cfb..e741d1e 100644
--- a/src/routes/contact/+page.svelte
+++ b/src/routes/contact/+page.svelte
@@ -1,4 +1,5 @@
+
+
Contact Information
diff --git a/src/routes/contact/+page.ts b/src/routes/contact/+page.ts
index 5ed74bc..f0a6803 100644
--- a/src/routes/contact/+page.ts
+++ b/src/routes/contact/+page.ts
@@ -1,7 +1,6 @@
export async function load() {
- throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
- stuff: {
+ seo: {
title: 'Contact',
description: 'All the communication channels for contacting Alex Daichendt ',
},
diff --git a/src/routes/impressum/+page.svelte b/src/routes/impressum/+page.svelte
index 4072502..ca86484 100644
--- a/src/routes/impressum/+page.svelte
+++ b/src/routes/impressum/+page.svelte
@@ -1,3 +1,9 @@
+
+
+
+
Impressum
Information according to ยง5 TMG:
diff --git a/src/routes/impressum/+page.ts b/src/routes/impressum/+page.ts
index 99a2fe6..1370548 100644
--- a/src/routes/impressum/+page.ts
+++ b/src/routes/impressum/+page.ts
@@ -1,7 +1,6 @@
export async function load() {
- throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
- stuff: {
+ seo: {
title: 'Impressum',
description: 'The impressum I have to include for Germany.',
},
diff --git a/src/routes/privacy/+page.svelte b/src/routes/privacy/+page.svelte
index 241a541..d50a6f7 100644
--- a/src/routes/privacy/+page.svelte
+++ b/src/routes/privacy/+page.svelte
@@ -1,3 +1,9 @@
+
+
+
+
Privacy Policy for AlexDaichendt
diff --git a/src/routes/privacy/+page.ts b/src/routes/privacy/+page.ts
index 69fd595..e9fbfb4 100644
--- a/src/routes/privacy/+page.ts
+++ b/src/routes/privacy/+page.ts
@@ -1,10 +1,9 @@
export async function load() {
- throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
- stuff: {
+ seo: {
title: 'Privacy',
description:
- 'The privacy policy I have to include even though I don"t collect any data or use shady services.',
+ 'The privacy policy I have to include even though I do not collect any data or use shady services.',
},
};
}
diff --git a/yarn.lock b/yarn.lock
index 4dba984..7a1a8aa 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -159,13 +159,12 @@
"@vercel/nft" "^0.20.0"
esbuild "^0.14.48"
-"@sveltejs/kit@1.0.0-next.413":
- version "1.0.0-next.413"
- resolved "https://registry.yarnpkg.com/@sveltejs/kit/-/kit-1.0.0-next.413.tgz#f79e4a0d582621aaf9016e37826b180f9f3be0aa"
- integrity sha512-6rboaf0LuMEOmW+wyyAmBJ7q8/TyRxJ3ESc8t/k9l0NGXoQ2l61IzHKuHxcxjriKczZFdGFuB97j8wQ/PlLyHA==
+"@sveltejs/kit@^1.0.0-next.428":
+ version "1.0.0-next.428"
+ resolved "https://registry.yarnpkg.com/@sveltejs/kit/-/kit-1.0.0-next.428.tgz#8ca0c4a96d67763e9b2d2e27a2c6eada41d62b6b"
+ integrity sha512-CVp7zltQ+3VOII1s7KuvgvGEFwD0PSqts9R3q4eaj0CNoC3gpdzcbEZayyQwXX/3lI1HdSNSF8gxbX0TRUoFuA==
dependencies:
"@sveltejs/vite-plugin-svelte" "^1.0.1"
- chokidar "^3.5.3"
cookie "^0.5.0"
devalue "^2.0.1"
kleur "^4.1.4"
@@ -528,7 +527,7 @@ character-entities@^2.0.0:
resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-2.0.2.tgz#2d09c2e72cd9523076ccb21157dff66ad43fcc22"
integrity sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==
-chokidar@^3.4.1, chokidar@^3.5.3:
+chokidar@^3.4.1:
version "3.5.3"
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd"
integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==