Rewrite page in Svelte 5 #49
3 changed files with 4 additions and 6 deletions
|
@ -67,7 +67,7 @@
|
|||
: status == 3
|
||||
? 'border-maintenance'
|
||||
: 'border-maintenance'}
|
||||
bg-black/55 p-4 backdrop-blur-sm z-0"
|
||||
z-0 bg-black/55 p-4 backdrop-blur-sm"
|
||||
>
|
||||
<div class="flex flex-row justify-between pb-4">
|
||||
<div
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
</script>
|
||||
|
||||
<ul
|
||||
class="absolute flex h-16 w-full flex-row items-center justify-center gap-3 border-b bg-black/40 backdrop-blur-sm z-50"
|
||||
class="absolute z-50 flex h-16 w-full flex-row items-center justify-center gap-3 border-b bg-black/40 backdrop-blur-sm"
|
||||
>
|
||||
<li>
|
||||
<Button
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
data.promise.then((jwt) => {
|
||||
token = jwt;
|
||||
})
|
||||
});
|
||||
|
||||
let services: readonly Service[] = $state.frozen([]);
|
||||
|
||||
|
@ -27,9 +27,7 @@
|
|||
const socket = io('https://status.neshweb.net/');
|
||||
|
||||
socket.on('connect', () => {
|
||||
socket.emit('loginByToken', token, () => {
|
||||
|
||||
});
|
||||
socket.emit('loginByToken', token, () => {});
|
||||
});
|
||||
|
||||
socket.on('heartbeatList', (idString: string, data) => {
|
||||
|
|
Loading…
Reference in a new issue