I'm not sure what to put here quite yet, maybe I'll think of something eventually. In the meantime I've linked some of my accounts in the sidebar to the right
+
+
+
Home Page
+
+ I'm not sure what to put here quite yet, maybe I'll think of something eventually. In the
+ meantime I've linked some of my accounts in the sidebar to the right
+
-
-
diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte
index 69608b2..d5654d3 100644
--- a/src/routes/about/+page.svelte
+++ b/src/routes/about/+page.svelte
@@ -16,4 +16,3 @@
{version}
-
diff --git a/src/routes/css/+page.svelte b/src/routes/css/+page.svelte
index 17a850a..5abf562 100644
--- a/src/routes/css/+page.svelte
+++ b/src/routes/css/+page.svelte
@@ -1,6 +1,6 @@
- CSS Test
-
+ CSS Test
+
Background
@@ -26,4 +26,4 @@
offline
online
pending
-
maintenance
\ No newline at end of file
+
maintenance
diff --git a/src/routes/servers/+page.svelte b/src/routes/servers/+page.svelte
index afea722..143f6b6 100644
--- a/src/routes/servers/+page.svelte
+++ b/src/routes/servers/+page.svelte
@@ -6,7 +6,7 @@
import type { Heartbeat } from '$lib/types/uptime-kuma-types';
import ServerCard from '$lib/components/ServerCard.svelte';
import { socketStore } from '$lib/stores/socketStore';
- import {uptimeStore} from "$lib/stores/uptimeStore";
+ import { uptimeStore } from '$lib/stores/uptimeStore';
let { data }: { data: { promise: Promise
} } = $props();
@@ -30,12 +30,11 @@
if (token) {
if (!socket.connected) {
socket.connect();
- }
- else {
- console.log("already connected");
+ } else {
+ console.log('already connected');
}
socket.on('connect', () => {
- console.log("logging in")
+ console.log('logging in');
socket.emit('loginByToken', token, () => {});
});
diff --git a/src/routes/services/+page.svelte b/src/routes/services/+page.svelte
index 9a3afc6..54139cb 100644
--- a/src/routes/services/+page.svelte
+++ b/src/routes/services/+page.svelte
@@ -5,9 +5,9 @@
import type { Service } from '$lib/types/data-types';
import { io } from 'socket.io-client';
import type { Heartbeat } from '$lib/types/uptime-kuma-types';
- import {socketStore} from "$lib/stores/socketStore";
- import {onDestroy} from "svelte";
- import {uptimeStore} from "$lib/stores/uptimeStore";
+ import { socketStore } from '$lib/stores/socketStore';
+ import { onDestroy } from 'svelte';
+ import { uptimeStore } from '$lib/stores/uptimeStore';
let { data }: { data: { promise: Promise } } = $props();
@@ -29,12 +29,11 @@
if (token) {
if (!socket.connected) {
socket.connect();
- }
- else {
- console.log("connected")
+ } else {
+ console.log('connected');
}
socket.on('connect', () => {
- console.log("login")
+ console.log('login');
socket.emit('loginByToken', token, () => {});
});