Skip to content

Commit 8d204b2

Browse files
committed
feat: use corrected dynamic head from gleich/ui
Signed-off-by: Matt Gleich <git@mattglei.ch>
1 parent 6a140f3 commit 8d204b2

File tree

9 files changed

+213
-805
lines changed

9 files changed

+213
-805
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@
1616
},
1717
"devDependencies": {
1818
"@eslint/compat": "^1.2.9",
19-
"@eslint/js": "^9.26.0",
20-
"@gleich/ui": "^1.2.6",
19+
"@eslint/js": "^9.27.0",
20+
"@gleich/ui": "^1.2.7",
2121
"@sveltejs/adapter-cloudflare": "^7.0.3",
22-
"@sveltejs/kit": "^2.21.0",
22+
"@sveltejs/kit": "^2.21.1",
2323
"@sveltejs/vite-plugin-svelte": "^5.0.3",
2424
"dayjs": "^1.11.13",
25-
"eslint": "^9.26.0",
25+
"eslint": "^9.27.0",
2626
"eslint-config-prettier": "^10.1.5",
27-
"eslint-plugin-svelte": "^3.7.0",
27+
"eslint-plugin-svelte": "^3.8.2",
2828
"globals": "^16.1.0",
2929
"prettier": "^3.5.3",
3030
"prettier-plugin-svelte": "^3.4.0",
31-
"svelte": "^5.30.1",
31+
"svelte": "^5.32.1",
3232
"svelte-check": "^4.2.1",
3333
"typescript": "^5.8.3",
3434
"typescript-eslint": "^8.32.1",

pnpm-lock.yaml

Lines changed: 186 additions & 794 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/writing/writing.svelte

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313
const { writing, children }: { writing: WritingData; children: Snippet } = $props();
1414
</script>
1515

16-
<DynamicHead title={writing.title} description={writing.description} keywords={writing.keywords} />
16+
<DynamicHead
17+
title={writing.title}
18+
description={writing.description}
19+
keywords={writing.keywords}
20+
siteName="mattglei.ch"
21+
/>
1722

1823
<div class="container">
1924
<h2>{writing.title}</h2>

src/routes/+error.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<DynamicHead
77
title={`${page.status} ${page.error?.message}`}
88
description="Error occurred while trying to load page"
9+
siteName="mattglei.ch"
910
/>
1011

1112
<main>

src/routes/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<DynamicHead
1616
title="Matt Gleich"
1717
description="3rd year computer science at the Rochester Institute of Technology (RIT)"
18+
siteName="mattglei.ch"
1819
/>
1920

2021
<Intro />

src/routes/music/playlist/[playlistID]/+page.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
title={`${data.playlist.name} playlist`}
1616
description={`${data.playlist.tracks.length} tracks`}
1717
opengraphImage={{ url: data.playlist.tracks[0].album_art_url, height: '600', width: '600' }}
18+
siteName="mattglei.ch"
1819
/>
1920
{:else}
20-
<DynamicHead title="404 Not found" description="Playlist not found" />
21+
<DynamicHead title="404 Not found" description="Playlist not found" siteName="mattglei.ch" />
2122
{/if}
2223

2324
{#if data.playlist}

src/routes/photos/+page.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
import { DynamicHead } from '@gleich/ui';
66
</script>
77

8-
<DynamicHead title="Photos" description="Photos gallery taken with my Nikon Z7II" />
8+
<DynamicHead
9+
title="Photos"
10+
description="Photos gallery taken with my Nikon Z7II"
11+
siteName="mattglei.ch"
12+
/>
913

1014
<main>
1115
<h2>Photo Gallery</h2>

src/routes/workouts/+page.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
const { data }: { data: WorkoutData } = $props();
1010
</script>
1111

12-
<DynamicHead title="Workouts" description="Recent workouts from Hevy/Strava" />
12+
<DynamicHead
13+
title="Workouts"
14+
description="Recent workouts from Hevy/Strava"
15+
siteName="mattglei.ch"
16+
/>
1317

1418
{#if data.workouts}
1519
<h2>Workouts</h2>

src/routes/writing/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import writings from './writings';
44
</script>
55

6-
<DynamicHead title="Writing" description="Matt Gleich's writings" />
6+
<DynamicHead title="Writing" description="Matt Gleich's writings" siteName="mattglei.ch" />
77

88
<h2>Writing</h2>
99

0 commit comments

Comments
 (0)