Skip to content

Commit 4224853

Browse files
committed
Fix Ultra components page scroll spy on GitHub Pages
- Replace hardcoded path check with flexible path detection - Use currentPath.includes('/ultra') instead of exact path match - This fixes the sidebar auto-highlighting behavior on GitHub Pages - Scroll spy now works correctly in both local and production environments
1 parent cf43865 commit 4224853

50 files changed

Lines changed: 175 additions & 172 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/404.html‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
})();
2929
</script>
3030

31-
<link rel="modulepreload" href="/basecoat-ultra/_app/immutable/entry/start.MWrgPwKy.js">
32-
<link rel="modulepreload" href="/basecoat-ultra/_app/immutable/chunks/CeNbpSsp.js">
31+
<link rel="modulepreload" href="/basecoat-ultra/_app/immutable/entry/start.DJQ1fFcO.js">
32+
<link rel="modulepreload" href="/basecoat-ultra/_app/immutable/chunks/CAHpiByC.js">
3333
<link rel="modulepreload" href="/basecoat-ultra/_app/immutable/chunks/CcB7mu8M.js">
34-
<link rel="modulepreload" href="/basecoat-ultra/_app/immutable/chunks/DWr4R2xT.js">
34+
<link rel="modulepreload" href="/basecoat-ultra/_app/immutable/chunks/BV0ojOEu.js">
3535
<link rel="modulepreload" href="/basecoat-ultra/_app/immutable/chunks/3YNn07iF.js">
36-
<link rel="modulepreload" href="/basecoat-ultra/_app/immutable/entry/app.DAmwk2I1.js">
36+
<link rel="modulepreload" href="/basecoat-ultra/_app/immutable/entry/app.Cqjtl_92.js">
3737
<link rel="modulepreload" href="/basecoat-ultra/_app/immutable/chunks/PPVm8Dsz.js">
3838
<link rel="modulepreload" href="/basecoat-ultra/_app/immutable/chunks/BJ5oJuY2.js">
3939
<link rel="modulepreload" href="/basecoat-ultra/_app/immutable/chunks/LLbtFBfO.js">
@@ -48,16 +48,16 @@
4848
<div style="display: contents">
4949
<script>
5050
{
51-
__sveltekit_17jb0j8 = {
51+
__sveltekit_7g5bug = {
5252
base: "/basecoat-ultra",
5353
assets: "/basecoat-ultra"
5454
};
5555

5656
const element = document.currentScript.parentElement;
5757

5858
Promise.all([
59-
import("/basecoat-ultra/_app/immutable/entry/start.MWrgPwKy.js"),
60-
import("/basecoat-ultra/_app/immutable/entry/app.DAmwk2I1.js")
59+
import("/basecoat-ultra/_app/immutable/entry/start.DJQ1fFcO.js"),
60+
import("/basecoat-ultra/_app/immutable/entry/app.Cqjtl_92.js")
6161
]).then(([kit, app]) => {
6262
kit.start(app, element);
6363
});
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
const s=globalThis.__sveltekit_7g5bug?.base??"/basecoat-ultra",a=globalThis.__sveltekit_7g5bug?.assets??s??"";export{a,s as b};

‎docs/_app/immutable/chunks/CAHpiByC.js‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/_app/immutable/chunks/CeNbpSsp.js‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎docs/_app/immutable/chunks/DWr4R2xT.js‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/docs/.svelte-kit/output/client/_app/immutable/entry/app.DAmwk2I1.js renamed to docs/_app/immutable/entry/app.Cqjtl_92.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import{l as o,a as r}from"../chunks/CAHpiByC.js";export{o as load_css,r as start};

‎docs/_app/immutable/entry/start.MWrgPwKy.js‎

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)