Skip to content

Commit e8a3ebf

Browse files
committed
fix(marketing): mobile file manager card
1 parent 99970ac commit e8a3ebf

File tree

1 file changed

+23
-8
lines changed

1 file changed

+23
-8
lines changed

apps/frontend/src/pages/servers/index.vue

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
border: 1px solid rgba(27, 217, 106, 0.07);
345345
box-shadow: 0px 12px 38.1px rgba(27, 217, 106, 0.13);
346346
"
347-
class="relative flex flex-col gap-4 overflow-hidden rounded-2xl p-6 text-left backdrop-blur-xl md:p-12"
347+
class="relative flex flex-col gap-4 overflow-hidden rounded-2xl p-6 text-left sm:backdrop-blur-xl md:p-12"
348348
>
349349
<h2 class="m-0 text-lg font-bold">Easy to use file manager</h2>
350350
<h3 class="m-0 text-base font-normal">
@@ -354,13 +354,28 @@
354354
<img
355355
src="~/assets/images/games/content-hero-fixed.png"
356356
alt=""
357-
class="absolute -bottom-12 -right-[15%] max-w-2xl rounded-2xl bg-brand p-4"
357+
class="absolute -bottom-12 -right-[15%] hidden max-w-2xl rounded-2xl bg-brand p-4 sm:block"
358358
/>
359-
<div
360-
aria-hidden="true"
361-
class="absolute bottom-8 right-8 rounded-full bg-brand p-4 text-sm font-bold text-[var(--color-accent-contrast)]"
362-
>
363-
8.49 GB used
359+
<div class="flex flex-row items-center gap-3">
360+
<div
361+
aria-hidden="true"
362+
class="max-w-fit rounded-full bg-brand p-4 text-sm font-bold text-[var(--color-accent-contrast)] sm:absolute sm:bottom-8 sm:right-8"
363+
>
364+
8.49 GB used
365+
</div>
366+
<div
367+
aria-hidden="true"
368+
class="flex w-fit items-center gap-2 rounded-full bg-button-bg p-3 sm:hidden"
369+
>
370+
<SortAscendingIcon class="h-6 w-6" />
371+
Sort
372+
</div>
373+
<div
374+
aria-hidden="true"
375+
class="flex w-fit items-center rounded-full bg-button-bg p-3 sm:hidden"
376+
>
377+
<SearchIcon class="h-6 w-6" />
378+
</div>
364379
</div>
365380
</div>
366381
</div>
@@ -567,7 +582,7 @@
567582

568583
<script setup>
569584
import { ButtonStyled, PurchaseModal } from "@modrinth/ui";
570-
import { RightArrowIcon } from "@modrinth/assets";
585+
import { RightArrowIcon, SearchIcon, SortAscendingIcon } from "@modrinth/assets";
571586
import { products } from "~/generated/state.json";
572587
573588
const title = "Modrinth Servers";

0 commit comments

Comments
 (0)