-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Evan Song <theevansong@gmail.com>
- Loading branch information
1 parent
b49e80f
commit b19e1c1
Showing
3 changed files
with
93 additions
and
69 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
apps/frontend/src/components/ui/servers/ServerListingSkeleton.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<template> | ||
<div | ||
class="flex flex-row items-center overflow-x-hidden rounded-3xl bg-bg-raised p-4 transition-transform duration-100 active:scale-95" | ||
> | ||
<img | ||
no-shadow | ||
size="lg" | ||
alt="Server Icon" | ||
class="size-[96px] rounded-xl bg-bg-raised" | ||
src="~/assets/images/servers/minecraft_server_icon.png" | ||
/> | ||
<div class="ml-8 flex flex-col gap-2.5"> | ||
<div class="flex flex-col gap-2 md:flex-row md:items-center"> | ||
<h2 class="m-0 text-xl font-bold text-[var(--color-contrast)]">Loading...</h2> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
19 changes: 19 additions & 0 deletions
19
apps/frontend/src/components/ui/servers/ServerManageEmptyState.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<template> | ||
<div class="flex h-full flex-col items-center justify-center gap-8"> | ||
<img | ||
src="~/assets/images/games/excitement.png" | ||
alt="" | ||
class="max-w-[360px]" | ||
style="mask-image: radial-gradient(97% 77% at 50% 25%, #d9d9d9 0, hsla(0, 0%, 45%, 0) 100%)" | ||
/> | ||
<h1 class="m-0 text-contrast">You don't have any servers yet!</h1> | ||
<p class="m-0">Modrinth Servers is a new way to play modded Minecraft with your friends.</p> | ||
<ButtonStyled size="large" type="standard" color="brand"> | ||
<NuxtLink to="/servers#plan">Create a Server</NuxtLink> | ||
</ButtonStyled> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { ButtonStyled } from "@modrinth/ui"; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters