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