web: update dependencies to svelte 5
just updating the dependencies for now, will migrate components gradually over time
This commit is contained in:
@@ -1,28 +1,31 @@
|
||||
<script lang="ts">
|
||||
import { browser } from "$app/environment";
|
||||
import SmallDialog from "$components/dialog/SmallDialog.svelte";
|
||||
</script>
|
||||
|
||||
<noscript style="display: contents">
|
||||
<div id="nojs-ack">
|
||||
<SmallDialog
|
||||
id="nojs-dialog"
|
||||
meowbalt="error"
|
||||
bodyText={
|
||||
"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={[
|
||||
{
|
||||
text: "got it",
|
||||
main: true,
|
||||
action: () => {},
|
||||
link: "#nojs-ack"
|
||||
},
|
||||
]}
|
||||
/>
|
||||
<div id="nojs-dialog-backdrop"></div>
|
||||
</div>
|
||||
</noscript>
|
||||
{#if !browser}
|
||||
<noscript style="display: contents">
|
||||
<div id="nojs-ack">
|
||||
<SmallDialog
|
||||
id="nojs-dialog"
|
||||
meowbalt="error"
|
||||
bodyText={
|
||||
"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={[
|
||||
{
|
||||
text: "got it",
|
||||
main: true,
|
||||
action: () => {},
|
||||
link: "#nojs-ack"
|
||||
},
|
||||
]}
|
||||
/>
|
||||
<div id="nojs-dialog-backdrop"></div>
|
||||
</div>
|
||||
</noscript>
|
||||
{/if}
|
||||
|
||||
<style>
|
||||
:global(#nojs-ack) {
|
||||
|
||||
Reference in New Issue
Block a user