Update kit & adapter packages
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;
|
||||
|
||||
$: isHome = $page.path.endsWith("docs");
|
||||
$: isHome = $page.url.pathname.endsWith("docs");
|
||||
$: base = isHome ? "docs/" : "";
|
||||
|
||||
$: pages = [
|
||||
@@ -37,7 +37,7 @@
|
||||
{#each pages as p (p.url)}
|
||||
<a
|
||||
href={p.url}
|
||||
class:font-bold={$page.path.includes(p.url)}
|
||||
class:font-bold={$page.url.pathname.includes(p.url)}
|
||||
class="py-1 hover:decoration-stone-400 hover:underline">{p.text}</a
|
||||
>
|
||||
{/each}
|
||||
@@ -45,7 +45,7 @@
|
||||
{#each components as component (component.url)}
|
||||
<a
|
||||
href={component.url}
|
||||
class:font-bold={$page.path.includes(component.url)}
|
||||
class:font-bold={$page.url.pathname.includes(component.url)}
|
||||
class="py-1 hover:decoration-stone-400 hover:underline"
|
||||
>{component.text}</a
|
||||
>
|
||||
|
||||
@@ -26,9 +26,6 @@ const config = {
|
||||
return !filepath.endsWith(".test.ts");
|
||||
},
|
||||
},
|
||||
|
||||
// hydrate the <div id="svelte"> element in src/app.html
|
||||
target: "#svelte",
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user