mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-29 14:04:25 +02:00
web: update dependencies to svelte 5
just updating the dependencies for now, will migrate components gradually over time
This commit is contained in:
parent
f9aaacb3ca
commit
76b04aabf0
518
pnpm-lock.yaml
generated
518
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -31,8 +31,8 @@
|
|||||||
"@imput/libav.js-remux-cli": "^6.5.7",
|
"@imput/libav.js-remux-cli": "^6.5.7",
|
||||||
"@imput/version-info": "workspace:^",
|
"@imput/version-info": "workspace:^",
|
||||||
"@sveltejs/adapter-static": "^3.0.6",
|
"@sveltejs/adapter-static": "^3.0.6",
|
||||||
"@sveltejs/kit": "^2.9.1",
|
"@sveltejs/kit": "^2.20.7",
|
||||||
"@sveltejs/vite-plugin-svelte": "^3.0.0",
|
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
||||||
"@tabler/icons-svelte": "3.6.0",
|
"@tabler/icons-svelte": "3.6.0",
|
||||||
"@types/eslint__js": "^8.42.3",
|
"@types/eslint__js": "^8.42.3",
|
||||||
"@types/fluent-ffmpeg": "^2.1.25",
|
"@types/fluent-ffmpeg": "^2.1.25",
|
||||||
@ -44,16 +44,16 @@
|
|||||||
"glob": "^11.0.0",
|
"glob": "^11.0.0",
|
||||||
"mdsvex": "^0.11.2",
|
"mdsvex": "^0.11.2",
|
||||||
"mime": "^4.0.4",
|
"mime": "^4.0.4",
|
||||||
"svelte": "^4.2.19",
|
"svelte": "^5.0.0",
|
||||||
"svelte-check": "^3.6.0",
|
"svelte-check": "^4.0.0",
|
||||||
"svelte-preprocess": "^6.0.2",
|
"svelte-preprocess": "^6.0.2",
|
||||||
"svelte-sitemap": "2.6.0",
|
"svelte-sitemap": "2.6.0",
|
||||||
"sveltekit-i18n": "^2.4.2",
|
"sveltekit-i18n": "^2.4.2",
|
||||||
"ts-deepmerge": "^7.0.1",
|
"ts-deepmerge": "^7.0.1",
|
||||||
"tslib": "^2.4.1",
|
"tslib": "^2.4.1",
|
||||||
"turnstile-types": "^1.2.2",
|
"turnstile-types": "^1.2.2",
|
||||||
"typescript": "^5.4.5",
|
"typescript": "^5.5.0",
|
||||||
"typescript-eslint": "^8.18.0",
|
"typescript-eslint": "^8.18.0",
|
||||||
"vite": "^5.3.6"
|
"vite": "^5.4.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,28 +1,31 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { browser } from "$app/environment";
|
||||||
import SmallDialog from "$components/dialog/SmallDialog.svelte";
|
import SmallDialog from "$components/dialog/SmallDialog.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<noscript style="display: contents">
|
{#if !browser}
|
||||||
<div id="nojs-ack">
|
<noscript style="display: contents">
|
||||||
<SmallDialog
|
<div id="nojs-ack">
|
||||||
id="nojs-dialog"
|
<SmallDialog
|
||||||
meowbalt="error"
|
id="nojs-dialog"
|
||||||
bodyText={
|
meowbalt="error"
|
||||||
"cobalt uses javascript for api requests and ui interactions, but it's not available in your browser. "
|
bodyText={
|
||||||
+ "you can still navigate around cobalt, but most functionality won't work."
|
"cobalt uses javascript for api requests and ui interactions, but it's not available in your browser. "
|
||||||
}
|
+ "you can still navigate around cobalt, but most functionality won't work."
|
||||||
buttons={[
|
}
|
||||||
{
|
buttons={[
|
||||||
text: "got it",
|
{
|
||||||
main: true,
|
text: "got it",
|
||||||
action: () => {},
|
main: true,
|
||||||
link: "#nojs-ack"
|
action: () => {},
|
||||||
},
|
link: "#nojs-ack"
|
||||||
]}
|
},
|
||||||
/>
|
]}
|
||||||
<div id="nojs-dialog-backdrop"></div>
|
/>
|
||||||
</div>
|
<div id="nojs-dialog-backdrop"></div>
|
||||||
</noscript>
|
</div>
|
||||||
|
</noscript>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
:global(#nojs-ack) {
|
:global(#nojs-ack) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user