Add proper capitalization to page titles and location names.

This commit is contained in:
2026-03-24 15:44:50 +00:00
parent ec4dd5dd3b
commit 1d461780ab
3 changed files with 3 additions and 1 deletions

View File

@@ -196,6 +196,7 @@
font-size: 1.1rem; font-size: 1.1rem;
font-weight: 700; font-weight: 700;
text-align: right; text-align: right;
text-transform: capitalize;
} }
.tiploc { .tiploc {

View File

@@ -167,6 +167,7 @@
margin-left: 5px; margin-left: 5px;
padding-bottom: 2px; padding-bottom: 2px;
color: var(--color-title); color: var(--color-title);
text-transform: capitalize;
} }
header, header,
nav { nav {

View File

@@ -6,7 +6,7 @@ export const load: PageLoad = async ({ url }) => {
const locId = url.searchParams.get('loc'); const locId = url.searchParams.get('loc');
if (!LOCATIONS.loaded) { if (!LOCATIONS.loaded) {
await LOCATIONS.init(fetch); await LOCATIONS.init();
} }
let title: string = ''; let title: string = '';