From b19e1c118640e266256b3739a0a95b5f91b33324 Mon Sep 17 00:00:00 2001 From: Evan Song Date: Fri, 18 Oct 2024 11:04:03 -0700 Subject: [PATCH] refactor: manage servers page Signed-off-by: Evan Song --- .../ui/servers/ServerListingSkeleton.vue | 18 +++ .../ui/servers/ServerManageEmptyState.vue | 19 +++ .../src/pages/servers/manage/index.vue | 125 ++++++++---------- 3 files changed, 93 insertions(+), 69 deletions(-) create mode 100644 apps/frontend/src/components/ui/servers/ServerListingSkeleton.vue create mode 100644 apps/frontend/src/components/ui/servers/ServerManageEmptyState.vue diff --git a/apps/frontend/src/components/ui/servers/ServerListingSkeleton.vue b/apps/frontend/src/components/ui/servers/ServerListingSkeleton.vue new file mode 100644 index 000000000..1428252fd --- /dev/null +++ b/apps/frontend/src/components/ui/servers/ServerListingSkeleton.vue @@ -0,0 +1,18 @@ + diff --git a/apps/frontend/src/components/ui/servers/ServerManageEmptyState.vue b/apps/frontend/src/components/ui/servers/ServerManageEmptyState.vue new file mode 100644 index 000000000..f6dc7e1da --- /dev/null +++ b/apps/frontend/src/components/ui/servers/ServerManageEmptyState.vue @@ -0,0 +1,19 @@ + + + diff --git a/apps/frontend/src/pages/servers/manage/index.vue b/apps/frontend/src/pages/servers/manage/index.vue index 1cba5af37..ad15aa431 100644 --- a/apps/frontend/src/pages/servers/manage/index.vue +++ b/apps/frontend/src/pages/servers/manage/index.vue @@ -3,11 +3,12 @@ data-pyro-server-list-root class="experimental-styles-within relative mx-auto flex min-h-screen w-full max-w-[1280px] flex-col px-3" > -
-

- Servers -

-
+
+

Servers

+
-
-
- -
- -
-

Unable to load servers

-

- Your servers are safe, but could not be loaded due to a technical issue on our end. - Please try again later. If this issue persists, please contact - - Modrinth support. - -

-
-
- -
-
-
-
- -
- -

You don't have any servers yet!

-

Modrinth Servers is a new way to play modded Minecraft with your friends.

- - Create a Server - -
+