Update sidebar unit grouping and apply layout/page updates

This commit is contained in:
Codex Agent
2026-03-08 19:29:26 +00:00
parent 6a0347fd22
commit 51a26ad120
2 changed files with 21 additions and 13 deletions

View File

@@ -1,8 +1,5 @@
<script lang="ts">
import Calculator from '$lib/components/Calculator.svelte';
import { afterNavigate } from '$app/navigation';
import { browser } from '$app/environment';
import { onMount } from 'svelte';
import type { PageData } from './$types';
import { buildSeoMeta, canonicalUrl, SITE_NAME, SITE_URL, toJsonLd } from '$lib/seo';
@@ -56,15 +53,6 @@
},
});
afterNavigate(() => {
if (!browser) return;
window.scrollTo({ top: 0 });
});
onMount(() => {
if (!browser) return;
window.scrollTo({ top: 0 });
});
</script>
<svelte:head>