Fix about-page navigation and content
This commit is contained in:
1 parent
f208697859
commit
295aa978f9
1 file changed
+3
-4
@@ -1,5 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { goto } from '$app/navigation';
|
||||
import { resolve } from '$app/paths';
|
||||
import { AboutDialog } from '@gabriel20xx/web-ui';
|
||||
import { Table2 } from '@lucide/svelte';
|
||||
import TechStackSection from '$lib/features/about/TechStackSection.svelte';
|
||||
@@ -7,7 +8,7 @@
|
||||
let open = $state(true);
|
||||
|
||||
function closeAbout() {
|
||||
void goto('/');
|
||||
void goto(resolve('/'));
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -15,7 +16,5 @@
|
||||
{#snippet icon()}
|
||||
<Table2 class="size-8 text-primary" />
|
||||
{/snippet}
|
||||
{#snippet children()}
|
||||
<TechStackSection />
|
||||
{/snippet}
|
||||
<TechStackSection />
|
||||
</AboutDialog>
|
||||
Reference in new issue
Block a user