update sveltekit, migrate to $app/state
This commit is contained in:
parent
80385893c7
commit
397ffc2d5e
6 changed files with 141 additions and 141 deletions
|
@ -13,7 +13,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/adapter-node": "^5.2.10",
|
||||
"@sveltejs/kit": "^2.11.1",
|
||||
"@sveltejs/kit": "^2.12.1",
|
||||
"@sveltejs/vite-plugin-svelte": "^4.0.3",
|
||||
"@sveltestrap/sveltestrap": "^6.2.7",
|
||||
"@types/eslint": "^9.6.1",
|
||||
|
@ -28,12 +28,12 @@
|
|||
"prettier": "^3.4.2",
|
||||
"prettier-plugin-svelte": "^3.3.2",
|
||||
"sass": "^1.83.0",
|
||||
"svelte": "^5.13.0",
|
||||
"svelte": "^5.14.2",
|
||||
"svelte-bootstrap-icons": "^3.1.1",
|
||||
"svelte-check": "^4.1.1",
|
||||
"sveltekit-i18n": "^2.4.2",
|
||||
"typescript": "^5.7.2",
|
||||
"typescript-eslint": "^8.18.0",
|
||||
"typescript-eslint": "^8.18.1",
|
||||
"vite": "^5.4.11"
|
||||
},
|
||||
"packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c",
|
||||
|
|
|
@ -44,16 +44,16 @@ importers:
|
|||
devDependencies:
|
||||
'@sveltejs/adapter-node':
|
||||
specifier: ^5.2.10
|
||||
version: 5.2.10(@sveltejs/kit@2.11.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.13.0)(vite@5.4.11(sass@1.83.0)))(svelte@5.13.0)(vite@5.4.11(sass@1.83.0)))
|
||||
version: 5.2.10(@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.14.2)(vite@5.4.11(sass@1.83.0)))(svelte@5.14.2)(vite@5.4.11(sass@1.83.0)))
|
||||
'@sveltejs/kit':
|
||||
specifier: ^2.11.1
|
||||
version: 2.11.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.13.0)(vite@5.4.11(sass@1.83.0)))(svelte@5.13.0)(vite@5.4.11(sass@1.83.0))
|
||||
specifier: ^2.12.1
|
||||
version: 2.12.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.14.2)(vite@5.4.11(sass@1.83.0)))(svelte@5.14.2)(vite@5.4.11(sass@1.83.0))
|
||||
'@sveltejs/vite-plugin-svelte':
|
||||
specifier: ^4.0.3
|
||||
version: 4.0.3(svelte@5.13.0)(vite@5.4.11(sass@1.83.0))
|
||||
version: 4.0.3(svelte@5.14.2)(vite@5.4.11(sass@1.83.0))
|
||||
'@sveltestrap/sveltestrap':
|
||||
specifier: ^6.2.7
|
||||
version: 6.2.7(svelte@5.13.0)
|
||||
version: 6.2.7(svelte@5.14.2)
|
||||
'@types/eslint':
|
||||
specifier: ^9.6.1
|
||||
version: 9.6.1
|
||||
|
@ -77,7 +77,7 @@ importers:
|
|||
version: 9.1.0(eslint@9.17.0)
|
||||
eslint-plugin-svelte:
|
||||
specifier: ^2.46.1
|
||||
version: 2.46.1(eslint@9.17.0)(svelte@5.13.0)
|
||||
version: 2.46.1(eslint@9.17.0)(svelte@5.14.2)
|
||||
globals:
|
||||
specifier: ^15.13.0
|
||||
version: 15.13.0
|
||||
|
@ -86,28 +86,28 @@ importers:
|
|||
version: 3.4.2
|
||||
prettier-plugin-svelte:
|
||||
specifier: ^3.3.2
|
||||
version: 3.3.2(prettier@3.4.2)(svelte@5.13.0)
|
||||
version: 3.3.2(prettier@3.4.2)(svelte@5.14.2)
|
||||
sass:
|
||||
specifier: ^1.83.0
|
||||
version: 1.83.0
|
||||
svelte:
|
||||
specifier: ^5.13.0
|
||||
version: 5.13.0
|
||||
specifier: ^5.14.2
|
||||
version: 5.14.2
|
||||
svelte-bootstrap-icons:
|
||||
specifier: ^3.1.1
|
||||
version: 3.1.1
|
||||
svelte-check:
|
||||
specifier: ^4.1.1
|
||||
version: 4.1.1(picomatch@4.0.2)(svelte@5.13.0)(typescript@5.7.2)
|
||||
version: 4.1.1(picomatch@4.0.2)(svelte@5.14.2)(typescript@5.7.2)
|
||||
sveltekit-i18n:
|
||||
specifier: ^2.4.2
|
||||
version: 2.4.2(svelte@5.13.0)
|
||||
version: 2.4.2(svelte@5.14.2)
|
||||
typescript:
|
||||
specifier: ^5.7.2
|
||||
version: 5.7.2
|
||||
typescript-eslint:
|
||||
specifier: ^8.18.0
|
||||
version: 8.18.0(eslint@9.17.0)(typescript@5.7.2)
|
||||
specifier: ^8.18.1
|
||||
version: 8.18.1(eslint@9.17.0)(typescript@5.7.2)
|
||||
vite:
|
||||
specifier: ^5.4.11
|
||||
version: 5.4.11(sass@1.83.0)
|
||||
|
@ -431,8 +431,8 @@ packages:
|
|||
'@popperjs/core@2.11.8':
|
||||
resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==}
|
||||
|
||||
'@rollup/plugin-commonjs@28.0.1':
|
||||
resolution: {integrity: sha512-+tNWdlWKbpB3WgBN7ijjYkq9X5uhjmcvyjEght4NmH5fAU++zfQzAJ6wumLS+dNcvwEZhKx2Z+skY8m7v0wGSA==}
|
||||
'@rollup/plugin-commonjs@28.0.2':
|
||||
resolution: {integrity: sha512-BEFI2EDqzl+vA1rl97IDRZ61AIwGH093d9nz8+dThxJNH8oSoB7MjWvPCX3dkaK1/RCJ/1v/R1XB15FuSs0fQw==}
|
||||
engines: {node: '>=16.0.0 || 14 >= 14.17'}
|
||||
peerDependencies:
|
||||
rollup: ^2.68.0||^3.0.0||^4.0.0
|
||||
|
@ -449,8 +449,8 @@ packages:
|
|||
rollup:
|
||||
optional: true
|
||||
|
||||
'@rollup/plugin-node-resolve@15.3.0':
|
||||
resolution: {integrity: sha512-9eO5McEICxMzJpDW9OnMYSv4Sta3hmt7VtBFz5zR9273suNOydOyq/FrGeGy+KsTRFm8w0SLVhzig2ILFT63Ag==}
|
||||
'@rollup/plugin-node-resolve@15.3.1':
|
||||
resolution: {integrity: sha512-tgg6b91pAybXHJQMAAwW9VuWBO6Thi+q7BCNARLwSqlmsHz0XYURtGvh/AuwSADXSI4h/2uHbs7s4FzlZDGSGA==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
peerDependencies:
|
||||
rollup: ^2.78.0||^3.0.0||^4.0.0
|
||||
|
@ -458,8 +458,8 @@ packages:
|
|||
rollup:
|
||||
optional: true
|
||||
|
||||
'@rollup/pluginutils@5.1.3':
|
||||
resolution: {integrity: sha512-Pnsb6f32CD2W3uCaLZIzDmeFyQ2b8UWMFI7xtwUezpcGBDVDW6y9XgAWIlARiGAo6eNF5FK5aQTr0LFyNyqq5A==}
|
||||
'@rollup/pluginutils@5.1.4':
|
||||
resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
peerDependencies:
|
||||
rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
|
||||
|
@ -567,8 +567,8 @@ packages:
|
|||
peerDependencies:
|
||||
'@sveltejs/kit': ^2.4.0
|
||||
|
||||
'@sveltejs/kit@2.11.1':
|
||||
resolution: {integrity: sha512-dAiHDEd+AOm20eYdMPV1a2eKBOc0s/7XsSs7PCoNv2kKS7BAoVRC9uzR+FQmxLtp8xuEo9z8CtrMQoszkThltQ==}
|
||||
'@sveltejs/kit@2.12.1':
|
||||
resolution: {integrity: sha512-M3rPijGImeOkI0DBJSwjqz+YFX2DyOf6NzWgHVk3mqpT06dlYCpcv5xh1q4rYEqB58yQlk4QA1Y35PUqnUiFKw==}
|
||||
engines: {node: '>=18.13'}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
|
@ -634,51 +634,51 @@ packages:
|
|||
'@types/sanitize-html@2.13.0':
|
||||
resolution: {integrity: sha512-X31WxbvW9TjIhZZNyNBZ/p5ax4ti7qsNDBDEnH4zAgmEh35YnFD1UiS6z9Cd34kKm0LslFW0KPmTQzu/oGtsqQ==}
|
||||
|
||||
'@typescript-eslint/eslint-plugin@8.18.0':
|
||||
resolution: {integrity: sha512-NR2yS7qUqCL7AIxdJUQf2MKKNDVNaig/dEB0GBLU7D+ZdHgK1NoH/3wsgO3OnPVipn51tG3MAwaODEGil70WEw==}
|
||||
'@typescript-eslint/eslint-plugin@8.18.1':
|
||||
resolution: {integrity: sha512-Ncvsq5CT3Gvh+uJG0Lwlho6suwDfUXH0HztslDf5I+F2wAFAZMRwYLEorumpKLzmO2suAXZ/td1tBg4NZIi9CQ==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
peerDependencies:
|
||||
'@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0
|
||||
eslint: ^8.57.0 || ^9.0.0
|
||||
typescript: '>=4.8.4 <5.8.0'
|
||||
|
||||
'@typescript-eslint/parser@8.18.0':
|
||||
resolution: {integrity: sha512-hgUZ3kTEpVzKaK3uNibExUYm6SKKOmTU2BOxBSvOYwtJEPdVQ70kZJpPjstlnhCHcuc2WGfSbpKlb/69ttyN5Q==}
|
||||
'@typescript-eslint/parser@8.18.1':
|
||||
resolution: {integrity: sha512-rBnTWHCdbYM2lh7hjyXqxk70wvon3p2FyaniZuey5TrcGBpfhVp0OxOa6gxr9Q9YhZFKyfbEnxc24ZnVbbUkCA==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
peerDependencies:
|
||||
eslint: ^8.57.0 || ^9.0.0
|
||||
typescript: '>=4.8.4 <5.8.0'
|
||||
|
||||
'@typescript-eslint/scope-manager@8.18.0':
|
||||
resolution: {integrity: sha512-PNGcHop0jkK2WVYGotk/hxj+UFLhXtGPiGtiaWgVBVP1jhMoMCHlTyJA+hEj4rszoSdLTK3fN4oOatrL0Cp+Xw==}
|
||||
'@typescript-eslint/scope-manager@8.18.1':
|
||||
resolution: {integrity: sha512-HxfHo2b090M5s2+/9Z3gkBhI6xBH8OJCFjH9MhQ+nnoZqxU3wNxkLT+VWXWSFWc3UF3Z+CfPAyqdCTdoXtDPCQ==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
|
||||
'@typescript-eslint/type-utils@8.18.0':
|
||||
resolution: {integrity: sha512-er224jRepVAVLnMF2Q7MZJCq5CsdH2oqjP4dT7K6ij09Kyd+R21r7UVJrF0buMVdZS5QRhDzpvzAxHxabQadow==}
|
||||
'@typescript-eslint/type-utils@8.18.1':
|
||||
resolution: {integrity: sha512-jAhTdK/Qx2NJPNOTxXpMwlOiSymtR2j283TtPqXkKBdH8OAMmhiUfP0kJjc/qSE51Xrq02Gj9NY7MwK+UxVwHQ==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
peerDependencies:
|
||||
eslint: ^8.57.0 || ^9.0.0
|
||||
typescript: '>=4.8.4 <5.8.0'
|
||||
|
||||
'@typescript-eslint/types@8.18.0':
|
||||
resolution: {integrity: sha512-FNYxgyTCAnFwTrzpBGq+zrnoTO4x0c1CKYY5MuUTzpScqmY5fmsh2o3+57lqdI3NZucBDCzDgdEbIaNfAjAHQA==}
|
||||
'@typescript-eslint/types@8.18.1':
|
||||
resolution: {integrity: sha512-7uoAUsCj66qdNQNpH2G8MyTFlgerum8ubf21s3TSM3XmKXuIn+H2Sifh/ES2nPOPiYSRJWAk0fDkW0APBWcpfw==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
|
||||
'@typescript-eslint/typescript-estree@8.18.0':
|
||||
resolution: {integrity: sha512-rqQgFRu6yPkauz+ms3nQpohwejS8bvgbPyIDq13cgEDbkXt4LH4OkDMT0/fN1RUtzG8e8AKJyDBoocuQh8qNeg==}
|
||||
'@typescript-eslint/typescript-estree@8.18.1':
|
||||
resolution: {integrity: sha512-z8U21WI5txzl2XYOW7i9hJhxoKKNG1kcU4RzyNvKrdZDmbjkmLBo8bgeiOJmA06kizLI76/CCBAAGlTlEeUfyg==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
peerDependencies:
|
||||
typescript: '>=4.8.4 <5.8.0'
|
||||
|
||||
'@typescript-eslint/utils@8.18.0':
|
||||
resolution: {integrity: sha512-p6GLdY383i7h5b0Qrfbix3Vc3+J2k6QWw6UMUeY5JGfm3C5LbZ4QIZzJNoNOfgyRe0uuYKjvVOsO/jD4SJO+xg==}
|
||||
'@typescript-eslint/utils@8.18.1':
|
||||
resolution: {integrity: sha512-8vikiIj2ebrC4WRdcAdDcmnu9Q/MXXwg+STf40BVfT8exDqBCUPdypvzcUPxEqRGKg9ALagZ0UWcYCtn+4W2iQ==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
peerDependencies:
|
||||
eslint: ^8.57.0 || ^9.0.0
|
||||
typescript: '>=4.8.4 <5.8.0'
|
||||
|
||||
'@typescript-eslint/visitor-keys@8.18.0':
|
||||
resolution: {integrity: sha512-pCh/qEA8Lb1wVIqNvBke8UaRjJ6wrAWkJO5yyIbs8Yx6TNGYyfNjOo61tLv+WwLvoLPp4BQ8B7AHKijl8NGUfw==}
|
||||
'@typescript-eslint/visitor-keys@8.18.1':
|
||||
resolution: {integrity: sha512-Vj0WLm5/ZsD013YeUKn+K0y8p1M0jPpxOkKdbD1wB0ns53a5piVY02zjf072TblEweAbcYiFiPoSMF3kp+VhhQ==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
|
||||
acorn-jsx@5.3.2:
|
||||
|
@ -747,8 +747,8 @@ packages:
|
|||
resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
|
||||
engines: {node: '>=10'}
|
||||
|
||||
chokidar@4.0.1:
|
||||
resolution: {integrity: sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==}
|
||||
chokidar@4.0.2:
|
||||
resolution: {integrity: sha512-/b57FK+bblSU+dfewfFe0rT1YjVDfOmeLQwCAuC+vwvgLkXboATqqmy+Ipux6JrF6L5joe5CBnFOw+gLWH6yKg==}
|
||||
engines: {node: '>= 14.16.0'}
|
||||
|
||||
color-convert@2.0.1:
|
||||
|
@ -890,8 +890,8 @@ packages:
|
|||
resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==}
|
||||
engines: {node: '>=0.10'}
|
||||
|
||||
esrap@1.2.3:
|
||||
resolution: {integrity: sha512-ZlQmCCK+n7SGoqo7DnfKaP1sJZa49P01/dXzmjCASSo04p72w8EksT2NMK8CEX8DhKsfJXANioIw8VyHNsBfvQ==}
|
||||
esrap@1.3.0:
|
||||
resolution: {integrity: sha512-LPT4X5Ur2sGnkQscwgWXRPVDuQrbuJbrStLmVXVXd+lGQ/HoYmcAa47t0Egzw1bYHwhF0w+6DTkxL1Xctp10XQ==}
|
||||
|
||||
esrecurse@4.3.0:
|
||||
resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==}
|
||||
|
@ -1093,8 +1093,8 @@ packages:
|
|||
resolution: {integrity: sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ==}
|
||||
engines: {node: '>=12'}
|
||||
|
||||
magic-string@0.30.15:
|
||||
resolution: {integrity: sha512-zXeaYRgZ6ldS1RJJUrMrYgNJ4fdwnyI6tVqoiIhyCyv5IVTK9BU8Ic2l253GGETQHxI4HNUwhJ3fjDhKqEoaAw==}
|
||||
magic-string@0.30.17:
|
||||
resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==}
|
||||
|
||||
markdown-it@14.1.0:
|
||||
resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==}
|
||||
|
@ -1342,8 +1342,8 @@ packages:
|
|||
svelte-tippy@1.3.2:
|
||||
resolution: {integrity: sha512-41f+85hwhKBRqX0UNYrgFsi34Kk/KDvUkIZXYANxkWoA2NTVTCZbUC2J8hRNZ4TRVxObTshoZRjK2co5+i6LMw==}
|
||||
|
||||
svelte@5.13.0:
|
||||
resolution: {integrity: sha512-ZG4VmBNze/j2KxT2GEeUm8Jr3RLYQ3P5Y9/flUDCgaAxgzx4ZRTdiyh+PCr7qRlOr5M8uidIqr+3DwUFVrdL+A==}
|
||||
svelte@5.14.2:
|
||||
resolution: {integrity: sha512-OxNh82bYjbutXNSZSPQspZzzmVzlRyNbiz0a6KrpOWvQ9LBUUZifXyeKhfl73LgyQC9UbsnVS9M55nQzqekMTA==}
|
||||
engines: {node: '>=18'}
|
||||
|
||||
sveltekit-i18n@2.4.2:
|
||||
|
@ -1379,8 +1379,8 @@ packages:
|
|||
resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
|
||||
engines: {node: '>= 0.8.0'}
|
||||
|
||||
typescript-eslint@8.18.0:
|
||||
resolution: {integrity: sha512-Xq2rRjn6tzVpAyHr3+nmSg1/9k9aIHnJ2iZeOH7cfGOWqTkXTm3kwpQglEuLGdNrYvPF+2gtAs+/KF5rjVo+WQ==}
|
||||
typescript-eslint@8.18.1:
|
||||
resolution: {integrity: sha512-Mlaw6yxuaDEPQvb/2Qwu3/TfgeBHy9iTJ3mTwe7OvpPmF6KPQjVOfGyEJpPv6Ez2C34OODChhXrzYw/9phI0MQ==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
peerDependencies:
|
||||
eslint: ^8.57.0 || ^9.0.0
|
||||
|
@ -1685,27 +1685,27 @@ snapshots:
|
|||
|
||||
'@popperjs/core@2.11.8': {}
|
||||
|
||||
'@rollup/plugin-commonjs@28.0.1(rollup@4.28.1)':
|
||||
'@rollup/plugin-commonjs@28.0.2(rollup@4.28.1)':
|
||||
dependencies:
|
||||
'@rollup/pluginutils': 5.1.3(rollup@4.28.1)
|
||||
'@rollup/pluginutils': 5.1.4(rollup@4.28.1)
|
||||
commondir: 1.0.1
|
||||
estree-walker: 2.0.2
|
||||
fdir: 6.4.2(picomatch@4.0.2)
|
||||
is-reference: 1.2.1
|
||||
magic-string: 0.30.15
|
||||
magic-string: 0.30.17
|
||||
picomatch: 4.0.2
|
||||
optionalDependencies:
|
||||
rollup: 4.28.1
|
||||
|
||||
'@rollup/plugin-json@6.1.0(rollup@4.28.1)':
|
||||
dependencies:
|
||||
'@rollup/pluginutils': 5.1.3(rollup@4.28.1)
|
||||
'@rollup/pluginutils': 5.1.4(rollup@4.28.1)
|
||||
optionalDependencies:
|
||||
rollup: 4.28.1
|
||||
|
||||
'@rollup/plugin-node-resolve@15.3.0(rollup@4.28.1)':
|
||||
'@rollup/plugin-node-resolve@15.3.1(rollup@4.28.1)':
|
||||
dependencies:
|
||||
'@rollup/pluginutils': 5.1.3(rollup@4.28.1)
|
||||
'@rollup/pluginutils': 5.1.4(rollup@4.28.1)
|
||||
'@types/resolve': 1.20.2
|
||||
deepmerge: 4.3.1
|
||||
is-module: 1.0.0
|
||||
|
@ -1713,7 +1713,7 @@ snapshots:
|
|||
optionalDependencies:
|
||||
rollup: 4.28.1
|
||||
|
||||
'@rollup/pluginutils@5.1.3(rollup@4.28.1)':
|
||||
'@rollup/pluginutils@5.1.4(rollup@4.28.1)':
|
||||
dependencies:
|
||||
'@types/estree': 1.0.6
|
||||
estree-walker: 2.0.2
|
||||
|
@ -1778,64 +1778,64 @@ snapshots:
|
|||
'@rollup/rollup-win32-x64-msvc@4.28.1':
|
||||
optional: true
|
||||
|
||||
'@sveltejs/adapter-node@5.2.10(@sveltejs/kit@2.11.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.13.0)(vite@5.4.11(sass@1.83.0)))(svelte@5.13.0)(vite@5.4.11(sass@1.83.0)))':
|
||||
'@sveltejs/adapter-node@5.2.10(@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.14.2)(vite@5.4.11(sass@1.83.0)))(svelte@5.14.2)(vite@5.4.11(sass@1.83.0)))':
|
||||
dependencies:
|
||||
'@rollup/plugin-commonjs': 28.0.1(rollup@4.28.1)
|
||||
'@rollup/plugin-commonjs': 28.0.2(rollup@4.28.1)
|
||||
'@rollup/plugin-json': 6.1.0(rollup@4.28.1)
|
||||
'@rollup/plugin-node-resolve': 15.3.0(rollup@4.28.1)
|
||||
'@sveltejs/kit': 2.11.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.13.0)(vite@5.4.11(sass@1.83.0)))(svelte@5.13.0)(vite@5.4.11(sass@1.83.0))
|
||||
'@rollup/plugin-node-resolve': 15.3.1(rollup@4.28.1)
|
||||
'@sveltejs/kit': 2.12.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.14.2)(vite@5.4.11(sass@1.83.0)))(svelte@5.14.2)(vite@5.4.11(sass@1.83.0))
|
||||
rollup: 4.28.1
|
||||
|
||||
'@sveltejs/kit@2.11.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.13.0)(vite@5.4.11(sass@1.83.0)))(svelte@5.13.0)(vite@5.4.11(sass@1.83.0))':
|
||||
'@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.14.2)(vite@5.4.11(sass@1.83.0)))(svelte@5.14.2)(vite@5.4.11(sass@1.83.0))':
|
||||
dependencies:
|
||||
'@sveltejs/vite-plugin-svelte': 4.0.3(svelte@5.13.0)(vite@5.4.11(sass@1.83.0))
|
||||
'@sveltejs/vite-plugin-svelte': 4.0.3(svelte@5.14.2)(vite@5.4.11(sass@1.83.0))
|
||||
'@types/cookie': 0.6.0
|
||||
cookie: 0.6.0
|
||||
devalue: 5.1.1
|
||||
esm-env: 1.2.1
|
||||
import-meta-resolve: 4.1.0
|
||||
kleur: 4.1.5
|
||||
magic-string: 0.30.15
|
||||
magic-string: 0.30.17
|
||||
mrmime: 2.0.0
|
||||
sade: 1.8.1
|
||||
set-cookie-parser: 2.7.1
|
||||
sirv: 3.0.0
|
||||
svelte: 5.13.0
|
||||
svelte: 5.14.2
|
||||
tiny-glob: 0.2.9
|
||||
vite: 5.4.11(sass@1.83.0)
|
||||
|
||||
'@sveltejs/vite-plugin-svelte-inspector@3.0.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.13.0)(vite@5.4.11(sass@1.83.0)))(svelte@5.13.0)(vite@5.4.11(sass@1.83.0))':
|
||||
'@sveltejs/vite-plugin-svelte-inspector@3.0.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.14.2)(vite@5.4.11(sass@1.83.0)))(svelte@5.14.2)(vite@5.4.11(sass@1.83.0))':
|
||||
dependencies:
|
||||
'@sveltejs/vite-plugin-svelte': 4.0.3(svelte@5.13.0)(vite@5.4.11(sass@1.83.0))
|
||||
'@sveltejs/vite-plugin-svelte': 4.0.3(svelte@5.14.2)(vite@5.4.11(sass@1.83.0))
|
||||
debug: 4.4.0
|
||||
svelte: 5.13.0
|
||||
svelte: 5.14.2
|
||||
vite: 5.4.11(sass@1.83.0)
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.13.0)(vite@5.4.11(sass@1.83.0))':
|
||||
'@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.14.2)(vite@5.4.11(sass@1.83.0))':
|
||||
dependencies:
|
||||
'@sveltejs/vite-plugin-svelte-inspector': 3.0.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.13.0)(vite@5.4.11(sass@1.83.0)))(svelte@5.13.0)(vite@5.4.11(sass@1.83.0))
|
||||
'@sveltejs/vite-plugin-svelte-inspector': 3.0.1(@sveltejs/vite-plugin-svelte@4.0.3(svelte@5.14.2)(vite@5.4.11(sass@1.83.0)))(svelte@5.14.2)(vite@5.4.11(sass@1.83.0))
|
||||
debug: 4.4.0
|
||||
deepmerge: 4.3.1
|
||||
kleur: 4.1.5
|
||||
magic-string: 0.30.15
|
||||
svelte: 5.13.0
|
||||
magic-string: 0.30.17
|
||||
svelte: 5.14.2
|
||||
vite: 5.4.11(sass@1.83.0)
|
||||
vitefu: 1.0.4(vite@5.4.11(sass@1.83.0))
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@sveltekit-i18n/base@1.3.7(svelte@5.13.0)':
|
||||
'@sveltekit-i18n/base@1.3.7(svelte@5.14.2)':
|
||||
dependencies:
|
||||
svelte: 5.13.0
|
||||
svelte: 5.14.2
|
||||
|
||||
'@sveltekit-i18n/parser-default@1.1.1': {}
|
||||
|
||||
'@sveltestrap/sveltestrap@6.2.7(svelte@5.13.0)':
|
||||
'@sveltestrap/sveltestrap@6.2.7(svelte@5.14.2)':
|
||||
dependencies:
|
||||
'@popperjs/core': 2.11.8
|
||||
svelte: 5.13.0
|
||||
svelte: 5.14.2
|
||||
|
||||
'@types/cookie@0.6.0': {}
|
||||
|
||||
|
@ -1865,14 +1865,14 @@ snapshots:
|
|||
dependencies:
|
||||
htmlparser2: 8.0.2
|
||||
|
||||
'@typescript-eslint/eslint-plugin@8.18.0(@typescript-eslint/parser@8.18.0(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(typescript@5.7.2)':
|
||||
'@typescript-eslint/eslint-plugin@8.18.1(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(typescript@5.7.2)':
|
||||
dependencies:
|
||||
'@eslint-community/regexpp': 4.12.1
|
||||
'@typescript-eslint/parser': 8.18.0(eslint@9.17.0)(typescript@5.7.2)
|
||||
'@typescript-eslint/scope-manager': 8.18.0
|
||||
'@typescript-eslint/type-utils': 8.18.0(eslint@9.17.0)(typescript@5.7.2)
|
||||
'@typescript-eslint/utils': 8.18.0(eslint@9.17.0)(typescript@5.7.2)
|
||||
'@typescript-eslint/visitor-keys': 8.18.0
|
||||
'@typescript-eslint/parser': 8.18.1(eslint@9.17.0)(typescript@5.7.2)
|
||||
'@typescript-eslint/scope-manager': 8.18.1
|
||||
'@typescript-eslint/type-utils': 8.18.1(eslint@9.17.0)(typescript@5.7.2)
|
||||
'@typescript-eslint/utils': 8.18.1(eslint@9.17.0)(typescript@5.7.2)
|
||||
'@typescript-eslint/visitor-keys': 8.18.1
|
||||
eslint: 9.17.0
|
||||
graphemer: 1.4.0
|
||||
ignore: 5.3.2
|
||||
|
@ -1882,27 +1882,27 @@ snapshots:
|
|||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@typescript-eslint/parser@8.18.0(eslint@9.17.0)(typescript@5.7.2)':
|
||||
'@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2)':
|
||||
dependencies:
|
||||
'@typescript-eslint/scope-manager': 8.18.0
|
||||
'@typescript-eslint/types': 8.18.0
|
||||
'@typescript-eslint/typescript-estree': 8.18.0(typescript@5.7.2)
|
||||
'@typescript-eslint/visitor-keys': 8.18.0
|
||||
'@typescript-eslint/scope-manager': 8.18.1
|
||||
'@typescript-eslint/types': 8.18.1
|
||||
'@typescript-eslint/typescript-estree': 8.18.1(typescript@5.7.2)
|
||||
'@typescript-eslint/visitor-keys': 8.18.1
|
||||
debug: 4.4.0
|
||||
eslint: 9.17.0
|
||||
typescript: 5.7.2
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@typescript-eslint/scope-manager@8.18.0':
|
||||
'@typescript-eslint/scope-manager@8.18.1':
|
||||
dependencies:
|
||||
'@typescript-eslint/types': 8.18.0
|
||||
'@typescript-eslint/visitor-keys': 8.18.0
|
||||
'@typescript-eslint/types': 8.18.1
|
||||
'@typescript-eslint/visitor-keys': 8.18.1
|
||||
|
||||
'@typescript-eslint/type-utils@8.18.0(eslint@9.17.0)(typescript@5.7.2)':
|
||||
'@typescript-eslint/type-utils@8.18.1(eslint@9.17.0)(typescript@5.7.2)':
|
||||
dependencies:
|
||||
'@typescript-eslint/typescript-estree': 8.18.0(typescript@5.7.2)
|
||||
'@typescript-eslint/utils': 8.18.0(eslint@9.17.0)(typescript@5.7.2)
|
||||
'@typescript-eslint/typescript-estree': 8.18.1(typescript@5.7.2)
|
||||
'@typescript-eslint/utils': 8.18.1(eslint@9.17.0)(typescript@5.7.2)
|
||||
debug: 4.4.0
|
||||
eslint: 9.17.0
|
||||
ts-api-utils: 1.4.3(typescript@5.7.2)
|
||||
|
@ -1910,12 +1910,12 @@ snapshots:
|
|||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@typescript-eslint/types@8.18.0': {}
|
||||
'@typescript-eslint/types@8.18.1': {}
|
||||
|
||||
'@typescript-eslint/typescript-estree@8.18.0(typescript@5.7.2)':
|
||||
'@typescript-eslint/typescript-estree@8.18.1(typescript@5.7.2)':
|
||||
dependencies:
|
||||
'@typescript-eslint/types': 8.18.0
|
||||
'@typescript-eslint/visitor-keys': 8.18.0
|
||||
'@typescript-eslint/types': 8.18.1
|
||||
'@typescript-eslint/visitor-keys': 8.18.1
|
||||
debug: 4.4.0
|
||||
fast-glob: 3.3.2
|
||||
is-glob: 4.0.3
|
||||
|
@ -1926,20 +1926,20 @@ snapshots:
|
|||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@typescript-eslint/utils@8.18.0(eslint@9.17.0)(typescript@5.7.2)':
|
||||
'@typescript-eslint/utils@8.18.1(eslint@9.17.0)(typescript@5.7.2)':
|
||||
dependencies:
|
||||
'@eslint-community/eslint-utils': 4.4.1(eslint@9.17.0)
|
||||
'@typescript-eslint/scope-manager': 8.18.0
|
||||
'@typescript-eslint/types': 8.18.0
|
||||
'@typescript-eslint/typescript-estree': 8.18.0(typescript@5.7.2)
|
||||
'@typescript-eslint/scope-manager': 8.18.1
|
||||
'@typescript-eslint/types': 8.18.1
|
||||
'@typescript-eslint/typescript-estree': 8.18.1(typescript@5.7.2)
|
||||
eslint: 9.17.0
|
||||
typescript: 5.7.2
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@typescript-eslint/visitor-keys@8.18.0':
|
||||
'@typescript-eslint/visitor-keys@8.18.1':
|
||||
dependencies:
|
||||
'@typescript-eslint/types': 8.18.0
|
||||
'@typescript-eslint/types': 8.18.1
|
||||
eslint-visitor-keys: 4.2.0
|
||||
|
||||
acorn-jsx@5.3.2(acorn@8.14.0):
|
||||
|
@ -1999,7 +1999,7 @@ snapshots:
|
|||
ansi-styles: 4.3.0
|
||||
supports-color: 7.2.0
|
||||
|
||||
chokidar@4.0.1:
|
||||
chokidar@4.0.2:
|
||||
dependencies:
|
||||
readdirp: 4.0.2
|
||||
|
||||
|
@ -2093,7 +2093,7 @@ snapshots:
|
|||
dependencies:
|
||||
eslint: 9.17.0
|
||||
|
||||
eslint-plugin-svelte@2.46.1(eslint@9.17.0)(svelte@5.13.0):
|
||||
eslint-plugin-svelte@2.46.1(eslint@9.17.0)(svelte@5.14.2):
|
||||
dependencies:
|
||||
'@eslint-community/eslint-utils': 4.4.1(eslint@9.17.0)
|
||||
'@jridgewell/sourcemap-codec': 1.5.0
|
||||
|
@ -2106,9 +2106,9 @@ snapshots:
|
|||
postcss-safe-parser: 6.0.0(postcss@8.4.49)
|
||||
postcss-selector-parser: 6.1.2
|
||||
semver: 7.6.3
|
||||
svelte-eslint-parser: 0.43.0(svelte@5.13.0)
|
||||
svelte-eslint-parser: 0.43.0(svelte@5.14.2)
|
||||
optionalDependencies:
|
||||
svelte: 5.13.0
|
||||
svelte: 5.14.2
|
||||
transitivePeerDependencies:
|
||||
- ts-node
|
||||
|
||||
|
@ -2183,10 +2183,10 @@ snapshots:
|
|||
dependencies:
|
||||
estraverse: 5.3.0
|
||||
|
||||
esrap@1.2.3:
|
||||
esrap@1.3.0:
|
||||
dependencies:
|
||||
'@jridgewell/sourcemap-codec': 1.5.0
|
||||
'@types/estree': 1.0.6
|
||||
'@typescript-eslint/types': 8.18.1
|
||||
|
||||
esrecurse@4.3.0:
|
||||
dependencies:
|
||||
|
@ -2354,7 +2354,7 @@ snapshots:
|
|||
|
||||
luxon@3.5.0: {}
|
||||
|
||||
magic-string@0.30.15:
|
||||
magic-string@0.30.17:
|
||||
dependencies:
|
||||
'@jridgewell/sourcemap-codec': 1.5.0
|
||||
|
||||
|
@ -2462,10 +2462,10 @@ snapshots:
|
|||
|
||||
prelude-ls@1.2.1: {}
|
||||
|
||||
prettier-plugin-svelte@3.3.2(prettier@3.4.2)(svelte@5.13.0):
|
||||
prettier-plugin-svelte@3.3.2(prettier@3.4.2)(svelte@5.14.2):
|
||||
dependencies:
|
||||
prettier: 3.4.2
|
||||
svelte: 5.13.0
|
||||
svelte: 5.14.2
|
||||
|
||||
prettier@3.4.2: {}
|
||||
|
||||
|
@ -2533,7 +2533,7 @@ snapshots:
|
|||
|
||||
sass@1.83.0:
|
||||
dependencies:
|
||||
chokidar: 4.0.1
|
||||
chokidar: 4.0.2
|
||||
immutable: 5.0.3
|
||||
source-map-js: 1.2.1
|
||||
optionalDependencies:
|
||||
|
@ -2567,19 +2567,19 @@ snapshots:
|
|||
|
||||
svelte-bootstrap-icons@3.1.1: {}
|
||||
|
||||
svelte-check@4.1.1(picomatch@4.0.2)(svelte@5.13.0)(typescript@5.7.2):
|
||||
svelte-check@4.1.1(picomatch@4.0.2)(svelte@5.14.2)(typescript@5.7.2):
|
||||
dependencies:
|
||||
'@jridgewell/trace-mapping': 0.3.25
|
||||
chokidar: 4.0.1
|
||||
chokidar: 4.0.2
|
||||
fdir: 6.4.2(picomatch@4.0.2)
|
||||
picocolors: 1.1.1
|
||||
sade: 1.8.1
|
||||
svelte: 5.13.0
|
||||
svelte: 5.14.2
|
||||
typescript: 5.7.2
|
||||
transitivePeerDependencies:
|
||||
- picomatch
|
||||
|
||||
svelte-eslint-parser@0.43.0(svelte@5.13.0):
|
||||
svelte-eslint-parser@0.43.0(svelte@5.14.2):
|
||||
dependencies:
|
||||
eslint-scope: 7.2.2
|
||||
eslint-visitor-keys: 3.4.3
|
||||
|
@ -2587,13 +2587,13 @@ snapshots:
|
|||
postcss: 8.4.49
|
||||
postcss-scss: 4.0.9(postcss@8.4.49)
|
||||
optionalDependencies:
|
||||
svelte: 5.13.0
|
||||
svelte: 5.14.2
|
||||
|
||||
svelte-tippy@1.3.2:
|
||||
dependencies:
|
||||
tippy.js: 6.3.7
|
||||
|
||||
svelte@5.13.0:
|
||||
svelte@5.14.2:
|
||||
dependencies:
|
||||
'@ampproject/remapping': 2.3.0
|
||||
'@jridgewell/sourcemap-codec': 1.5.0
|
||||
|
@ -2603,17 +2603,17 @@ snapshots:
|
|||
aria-query: 5.3.2
|
||||
axobject-query: 4.1.0
|
||||
esm-env: 1.2.1
|
||||
esrap: 1.2.3
|
||||
esrap: 1.3.0
|
||||
is-reference: 3.0.3
|
||||
locate-character: 3.0.0
|
||||
magic-string: 0.30.15
|
||||
magic-string: 0.30.17
|
||||
zimmerframe: 1.1.2
|
||||
|
||||
sveltekit-i18n@2.4.2(svelte@5.13.0):
|
||||
sveltekit-i18n@2.4.2(svelte@5.14.2):
|
||||
dependencies:
|
||||
'@sveltekit-i18n/base': 1.3.7(svelte@5.13.0)
|
||||
'@sveltekit-i18n/base': 1.3.7(svelte@5.14.2)
|
||||
'@sveltekit-i18n/parser-default': 1.1.1
|
||||
svelte: 5.13.0
|
||||
svelte: 5.14.2
|
||||
|
||||
tiny-glob@0.2.9:
|
||||
dependencies:
|
||||
|
@ -2640,11 +2640,11 @@ snapshots:
|
|||
dependencies:
|
||||
prelude-ls: 1.2.1
|
||||
|
||||
typescript-eslint@8.18.0(eslint@9.17.0)(typescript@5.7.2):
|
||||
typescript-eslint@8.18.1(eslint@9.17.0)(typescript@5.7.2):
|
||||
dependencies:
|
||||
'@typescript-eslint/eslint-plugin': 8.18.0(@typescript-eslint/parser@8.18.0(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(typescript@5.7.2)
|
||||
'@typescript-eslint/parser': 8.18.0(eslint@9.17.0)(typescript@5.7.2)
|
||||
'@typescript-eslint/utils': 8.18.0(eslint@9.17.0)(typescript@5.7.2)
|
||||
'@typescript-eslint/eslint-plugin': 8.18.1(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(typescript@5.7.2)
|
||||
'@typescript-eslint/parser': 8.18.1(eslint@9.17.0)(typescript@5.7.2)
|
||||
'@typescript-eslint/utils': 8.18.1(eslint@9.17.0)(typescript@5.7.2)
|
||||
eslint: 9.17.0
|
||||
typescript: 5.7.2
|
||||
transitivePeerDependencies:
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
NavLink,
|
||||
NavItem,
|
||||
} from "@sveltestrap/sveltestrap";
|
||||
import { page } from "$app/stores";
|
||||
import { page } from "$app/state";
|
||||
import type { Meta, MeUser } from "$api/models/index";
|
||||
import Logo from "$components/Logo.svelte";
|
||||
import { t } from "$lib/i18n";
|
||||
|
@ -51,19 +51,19 @@
|
|||
<NavItem>
|
||||
<NavLink
|
||||
href="/@{user.username}"
|
||||
active={$page.url.pathname.startsWith(`/@${user.username}`)}
|
||||
active={page.url.pathname.startsWith(`/@${user.username}`)}
|
||||
>
|
||||
@{user.username}
|
||||
</NavLink>
|
||||
</NavItem>
|
||||
<NavItem>
|
||||
<NavLink href="/settings" active={$page.url.pathname.startsWith("/settings")}>
|
||||
<NavLink href="/settings" active={page.url.pathname.startsWith("/settings")}>
|
||||
{$t("nav.settings")}
|
||||
</NavLink>
|
||||
</NavItem>
|
||||
{:else}
|
||||
<NavItem>
|
||||
<NavLink href="/auth/log-in" active={$page.url.pathname === "/auth/log-in"}>
|
||||
<NavLink href="/auth/log-in" active={page.url.pathname === "/auth/log-in"}>
|
||||
{$t("nav.log-in")}
|
||||
</NavLink>
|
||||
</NavItem>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import type { Snippet } from "svelte";
|
||||
import { page } from "$app/stores";
|
||||
import { page } from "$app/state";
|
||||
import { t } from "$lib/i18n";
|
||||
import { Nav, NavLink } from "@sveltestrap/sveltestrap";
|
||||
|
||||
|
@ -10,11 +10,11 @@
|
|||
const isActive = (path: string | string[], prefix: boolean = false) =>
|
||||
typeof path === "string"
|
||||
? prefix
|
||||
? $page.url.pathname.startsWith(path)
|
||||
: $page.url.pathname === path
|
||||
? page.url.pathname.startsWith(path)
|
||||
: page.url.pathname === path
|
||||
: prefix
|
||||
? path.some((p) => $page.url.pathname.startsWith(p))
|
||||
: path.some((p) => $page.url.pathname === p);
|
||||
? path.some((p) => page.url.pathname.startsWith(p))
|
||||
: path.some((p) => page.url.pathname === p);
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<script lang="ts">
|
||||
import type { Snippet } from "svelte";
|
||||
import { page } from "$app/stores";
|
||||
import { page } from "$app/state";
|
||||
import { t } from "$lib/i18n";
|
||||
import type { LayoutData } from "./$types";
|
||||
|
||||
type Props = { data: LayoutData; children: Snippet };
|
||||
let { data, children }: Props = $props();
|
||||
|
||||
const isActive = (path: string) => $page.url.pathname === path;
|
||||
const isActive = (path: string) => page.url.pathname === path;
|
||||
|
||||
let name = $derived(
|
||||
data.member.display_name === data.member.name
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<script lang="ts">
|
||||
import type { Snippet } from "svelte";
|
||||
import { page } from "$app/stores";
|
||||
import { page } from "$app/state";
|
||||
import { t } from "$lib/i18n";
|
||||
import type { LayoutData } from "./$types";
|
||||
|
||||
type Props = { data: LayoutData; children: Snippet };
|
||||
let { data, children }: Props = $props();
|
||||
|
||||
const isActive = (path: string) => $page.url.pathname === path;
|
||||
const isActive = (path: string) => page.url.pathname === path;
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
|
Loading…
Reference in a new issue