From 1d461780abcbe348d0b5ae26a170bc38968c4af8 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Tue, 24 Mar 2026 15:44:50 +0000 Subject: [PATCH] Add proper capitalization to page titles and location names. --- src/lib/components/ui/LocationSearchBox.svelte | 1 + src/routes/+layout.svelte | 1 + src/routes/board/+page.ts | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/components/ui/LocationSearchBox.svelte b/src/lib/components/ui/LocationSearchBox.svelte index 0a05424..9c340ae 100644 --- a/src/lib/components/ui/LocationSearchBox.svelte +++ b/src/lib/components/ui/LocationSearchBox.svelte @@ -196,6 +196,7 @@ font-size: 1.1rem; font-weight: 700; text-align: right; + text-transform: capitalize; } .tiploc { diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 441baab..79fc665 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -167,6 +167,7 @@ margin-left: 5px; padding-bottom: 2px; color: var(--color-title); + text-transform: capitalize; } header, nav { diff --git a/src/routes/board/+page.ts b/src/routes/board/+page.ts index b7b8ba2..a33ed68 100644 --- a/src/routes/board/+page.ts +++ b/src/routes/board/+page.ts @@ -6,7 +6,7 @@ export const load: PageLoad = async ({ url }) => { const locId = url.searchParams.get('loc'); if (!LOCATIONS.loaded) { - await LOCATIONS.init(fetch); + await LOCATIONS.init(); } let title: string = '';