diff --git a/package.json b/package.json
index 4dede5b2..7c1c9ea4 100644
--- a/package.json
+++ b/package.json
@@ -25,7 +25,7 @@
"discord-markdown": "^2.5.1",
"gh-pages": "^3.2.3",
"moment": "^2.29.1",
- "sass": "^1.45.1",
+ "sass": "^1.47.0",
"svelecte": "^3.4.5",
"svelte-autosize": "^1.0.1",
"svelte-icons": "^2.1.0",
diff --git a/src/App.svelte b/src/App.svelte
index 60549103..c66320a7 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -7,6 +7,7 @@
import Footer from './lib/Footer.svelte';
import Public from "./pages/Public.svelte";
import Main from "./pages/profiles/Main.svelte";
+ import Status from './pages/status.svelte';
// theme cdns (I might make some myself too)
let light = "https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css";
@@ -64,5 +65,6 @@
hey please provide a group
+
\ No newline at end of file
diff --git a/src/lib/shard.svelte b/src/lib/shard.svelte
new file mode 100644
index 00000000..6acb9f36
--- /dev/null
+++ b/src/lib/shard.svelte
@@ -0,0 +1,95 @@
+
+
+
+
hover = (hover != shard.id) ? shard.id : null}
+ class="shard" id={shard.id.toString()}
+ style={color}
+ >{ shard.id }
+ {#if hover == shard.id}
+
+
+
Shard { shard.id }
+
+ Status: { shard.status }
+ Latency: { shard.ping }ms
+ Disconnection count: { shard.disconnection_count }
+ Last connection: { shard.last_connection }
+ Last heartbeat: { shard.last_heartbeat }
+
+
+ {/if}
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/status.svelte b/src/pages/status.svelte
new file mode 100644
index 00000000..86e1f609
--- /dev/null
+++ b/src/pages/status.svelte
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+
+ Bot status
+
+
+
+ {@html currentCommitMsg}
+
+
+
+ { shards.length } shards ({ shards.filter(x => x.status == "up").length } up)
+ Average latency: { pingAverage }ms
+
+ All times in UTC. More statistics available at https://stats.pluralkit.me
+
+
+ Find my shard
+
+ Enter a server ID or a message link to find the shard currently assigned to your server:
+
+
+
+ { shardInfoMsg }
+ {#if valid}
+ Your shard is: Shard { foundShard.id }
+
+ Status: { foundShard.status }
+ Latency: { foundShard.ping }ms
+ Disconnection count: { foundShard.disconnection_count }
+ Last connection: { foundShard.last_connection }
+ Last heartbeat: { foundShard.last_heartbeat }
+ {/if}
+
+
+
+
+
+
+
+
+
+ { message }
+ {#each shards as shard}
+
+ {/each}
+
+
+
+
+
\ No newline at end of file
diff --git a/yarn.lock b/yarn.lock
index 24011399..988ec05f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -891,10 +891,10 @@ sander@^0.5.0:
mkdirp "^0.5.1"
rimraf "^2.5.2"
-sass@^1.45.1:
- version "1.45.1"
- resolved "https://registry.yarnpkg.com/sass/-/sass-1.45.1.tgz#fa03951f924d1ba5762949567eaf660e608a1ab0"
- integrity sha512-pwPRiq29UR0o4X3fiQyCtrESldXvUQAAE0QmcJTpsI4kuHHcLzZ54M1oNBVIXybQv8QF2zfkpFcTxp8ta97dUA==
+sass@^1.47.0:
+ version "1.49.0"
+ resolved "https://registry.yarnpkg.com/sass/-/sass-1.49.0.tgz#65ec1b1d9a6bc1bae8d2c9d4b392c13f5d32c078"
+ integrity sha512-TVwVdNDj6p6b4QymJtNtRS2YtLJ/CqZriGg0eIAbAKMlN8Xy6kbv33FsEZSF7FufFFM705SQviHjjThfaQ4VNw==
dependencies:
chokidar ">=3.0.0 <4.0.0"
immutable "^4.0.0"