+
+
Home Page
I'm not sure what to put here quite yet, maybe I'll think of something eventually. In the
@@ -20,7 +20,7 @@
Fediverse Accounts
diff --git a/src/routes/Footer.svelte b/src/routes/Footer.svelte
new file mode 100644
index 0000000..8fdccbc
--- /dev/null
+++ b/src/routes/Footer.svelte
@@ -0,0 +1,15 @@
+
+
+
\ No newline at end of file
diff --git a/src/routes/Header.svelte b/src/routes/Header.svelte
index 06b2860..e3656fe 100644
--- a/src/routes/Header.svelte
+++ b/src/routes/Header.svelte
@@ -6,9 +6,9 @@
-
+
-
+
- import { version } from '$app/environment';
-
-
About
@@ -12,13 +8,4 @@
This is just a small Website I built to organize all of the Services I am self-hosting. Maybe
I'll eventually add something actually useful to the site but until then this is all you'll get.
-
- Version:
-
- {version}
-
-
diff --git a/src/routes/servers/+page.svelte b/src/routes/servers/+page.svelte
index 143f6b6..b1a6ab6 100644
--- a/src/routes/servers/+page.svelte
+++ b/src/routes/servers/+page.svelte
@@ -22,19 +22,15 @@
let monitorList = $state($uptimeStore);
- console.log(monitorList);
-
let socket = $socketStore;
$effect(() => {
if (token) {
if (!socket.connected) {
socket.connect();
- } else {
- console.log('already connected');
}
+
socket.on('connect', () => {
- console.log('logging in');
socket.emit('loginByToken', token, () => {});
});
diff --git a/src/routes/services/+page.svelte b/src/routes/services/+page.svelte
index 54139cb..36afcdf 100644
--- a/src/routes/services/+page.svelte
+++ b/src/routes/services/+page.svelte
@@ -29,15 +29,13 @@
if (token) {
if (!socket.connected) {
socket.connect();
- } else {
- console.log('connected');
}
+
socket.on('connect', () => {
- console.log('login');
socket.emit('loginByToken', token, () => {});
});
- socket.on('heartbeatList', (_: string, data) => {
+ socket.on('heartbeatList', (_, data) => {
let recent = data[data.length - 1];
let monitor: Heartbeat = {
monitorID: recent.monitor_id,
@@ -89,7 +87,7 @@
-
+
{#each services as service}
{/each}
diff --git a/static/data/services.json b/static/data/services.json
index d6d3a0b..5cd849e 100644
--- a/static/data/services.json
+++ b/static/data/services.json
@@ -82,15 +82,6 @@
"warn": "Note: Registration only via Admin",
"id": 10
},
- {
- "name": "Gitlab",
- "icon": "/assets/icons/gitlab-logo",
- "iconType": "svg",
- "href": "https://gitlab.neshweb.net/",
- "desc": "Self-hosted Git Service",
- "warn": "Note: Registration only via Admin",
- "id": 2
- },
{
"name": "Forgejo",
"icon": "/assets/icons/forgejo-logo",