Revert "Update kit & adapter packages"
This reverts commit 7fc9629975.
This is causing an iframe issue on navigation.
This commit is contained in:
2380
package-lock.json
generated
2380
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
let el: HTMLElement | null = null;
|
let el: HTMLElement | null = null;
|
||||||
|
|
||||||
$: isHome = $page.url.pathname.endsWith("docs");
|
$: isHome = $page.path.endsWith("docs");
|
||||||
$: base = isHome ? "docs/" : "";
|
$: base = isHome ? "docs/" : "";
|
||||||
|
|
||||||
$: pages = [
|
$: pages = [
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
{#each pages as p (p.url)}
|
{#each pages as p (p.url)}
|
||||||
<a
|
<a
|
||||||
href={p.url}
|
href={p.url}
|
||||||
class:font-bold={$page.url.pathname.includes(p.url)}
|
class:font-bold={$page.path.includes(p.url)}
|
||||||
class="py-1 hover:decoration-stone-400 hover:underline">{p.text}</a
|
class="py-1 hover:decoration-stone-400 hover:underline">{p.text}</a
|
||||||
>
|
>
|
||||||
{/each}
|
{/each}
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
{#each components as component (component.url)}
|
{#each components as component (component.url)}
|
||||||
<a
|
<a
|
||||||
href={component.url}
|
href={component.url}
|
||||||
class:font-bold={$page.url.pathname.includes(component.url)}
|
class:font-bold={$page.path.includes(component.url)}
|
||||||
class="py-1 hover:decoration-stone-400 hover:underline"
|
class="py-1 hover:decoration-stone-400 hover:underline"
|
||||||
>{component.text}</a
|
>{component.text}</a
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -26,6 +26,9 @@ const config = {
|
|||||||
return !filepath.endsWith(".test.ts");
|
return !filepath.endsWith(".test.ts");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// hydrate the <div id="svelte"> element in src/app.html
|
||||||
|
target: "#svelte",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user