Skip to content

Commit 3f59f2a

Browse files
committed
feat: update sitename in writeable
Signed-off-by: Matt Gleich <git@mattglei.ch>
1 parent bf153a3 commit 3f59f2a

File tree

10 files changed

+14
-28
lines changed

10 files changed

+14
-28
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"devDependencies": {
1818
"@eslint/compat": "^1.2.9",
1919
"@eslint/js": "^9.27.0",
20-
"@gleich/ui": "^1.2.7",
20+
"@gleich/ui": "^1.2.8",
2121
"@sveltejs/adapter-cloudflare": "^7.0.3",
2222
"@sveltejs/kit": "^2.21.1",
2323
"@sveltejs/vite-plugin-svelte": "^5.0.3",

pnpm-lock.yaml

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

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

2318
<div class="container">
2419
<h2>{writing.title}</h2>

src/routes/+error.svelte

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

1211
<main>

src/routes/+layout.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
66
import Nav from '$lib/nav.svelte';
77
import Fonts from '$lib/fonts.svelte';
8-
import { Layout } from '@gleich/ui';
8+
import { Layout, siteName } from '@gleich/ui';
99
import type { Snippet } from 'svelte';
1010
11+
siteName.set('mattglei.ch');
12+
1113
const { children }: { children: Snippet } = $props();
1214
</script>
1315

src/routes/+page.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<DynamicHead
1616
title="Matt Gleich"
1717
description="Rising 4th year computer science student at the Rochester Institute of Technology (RIT). Incoming DevOps intern for KCF Technologies."
18-
siteName="mattglei.ch"
1918
/>
2019

2120
<Intro />

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@
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"
1918
/>
2019
{:else}
21-
<DynamicHead title="404 Not found" description="Playlist not found" siteName="mattglei.ch" />
20+
<DynamicHead title="404 Not found" description="Playlist not found" />
2221
{/if}
2322

2423
{#if data.playlist}

src/routes/photos/+page.svelte

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

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

1410
<main>
1511
<h2>Photo Gallery</h2>

src/routes/workouts/+page.svelte

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

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

1814
{#if data.workouts}
1915
<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" siteName="mattglei.ch" />
6+
<DynamicHead title="Writing" description="Matt Gleich's writings" />
77

88
<h2>Writing</h2>
99

0 commit comments

Comments
 (0)