From f6bcd62c60179638c4f59a9760dbfcf0f69dadc8 Mon Sep 17 00:00:00 2001 From: ubermanu Date: Tue, 19 Sep 2023 22:29:49 +0200 Subject: [PATCH] fix: main button base path not being rendered --- sites/magefront/src/routes/+page.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sites/magefront/src/routes/+page.svelte b/sites/magefront/src/routes/+page.svelte index 6111e2d..fe85f67 100644 --- a/sites/magefront/src/routes/+page.svelte +++ b/sites/magefront/src/routes/+page.svelte @@ -2,6 +2,10 @@ import { base } from '$app/paths' import Footer from '$lib/components/Footer.svelte' import Header from '$lib/components/Header.svelte' + + // This is a hack to get around the fact that SvelteKit doesn't + // insert the base path into the href attribute of the main button ??? + const weird = base @@ -23,7 +27,7 @@ Tailwind, Svelte, TypeScript, and more.

- Get Started + Get Started