Skip to content

Commit

Permalink
fix: warn banners
Browse files Browse the repository at this point in the history
  • Loading branch information
thewander02 committed Oct 16, 2024
1 parent 6af8547 commit cf8aabf
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
13 changes: 11 additions & 2 deletions apps/frontend/src/pages/servers/manage/[id]/content.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
<template>
<UiServersServerSidebar :route="route" :nav-links="navLinks" :server="props.server" />
<div class="flex h-full w-full flex-col gap-4">
<div
class="flex h-full w-full items-center gap-2 rounded-xl border border-solid border-blue bg-bg-blue p-4 text-contrast"
>
<UnknownIcon class="h-8 w-8 text-blue" />
This page is under construction some features may not be available yet, or are subject to
change.
</div>
<UiServersServerSidebar :route="route" :nav-links="navLinks" :server="props.server" />
</div>
</template>

<script setup lang="ts">
import { BookIcon, BoxIcon } from "@modrinth/assets";
import { BookIcon, BoxIcon, UnknownIcon } from "@modrinth/assets";
import type { Server } from "~/composables/pyroServers";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
@edit="showEditModModal"
/>
</div>
<div v-else>You haven't added any mods yet, time to add some!</div>
<div v-else class="card">You haven't added any mods yet, time to add some!</div>
</div>
</div>
<UiServersPyroLoading v-else />
Expand Down
7 changes: 7 additions & 0 deletions apps/frontend/src/pages/servers/manage/[id]/options/info.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<template>
<div class="h-full w-full gap-2 overflow-y-auto">
<div
class="mb-4 flex h-full w-full items-center gap-2 rounded-xl border border-solid border-blue bg-bg-blue p-4 text-contrast"
>
<UnknownIcon class="h-8 w-8 text-blue" />
SFTP is currently unavailable. This feature is under construction and will be available soon.
</div>
<div class="card">
<div class="flex flex-col gap-4">
<div class="flex justify-between">
Expand Down Expand Up @@ -51,6 +57,7 @@

<script setup lang="ts">
import { Button } from "@modrinth/ui";
import { UnknownIcon } from "@modrinth/assets";
import type { Server } from "~/composables/pyroServers";
const route = useNativeRoute();
const serverId = route.params.id as string;
Expand Down

0 comments on commit cf8aabf

Please sign in to comment.