From bddf5f15287da9f6c358e3d5caf721d9cbfb65cc Mon Sep 17 00:00:00 2001
From: dvelo <52332868+DeveloLongScript@users.noreply.github.com>
Date: Wed, 26 Mar 2025 23:58:46 -0500
Subject: [PATCH] fix: biome, test mode selection
---
.../server/v2/minehut/[server]/page.tsx | 2 +-
.../sl-modification-frame/files/page.tsx | 5 +-
apps/www/src/app/globals.css | 28 +++++++++
.../modification/modification-button.tsx | 4 +-
.../feat/server-list/server-list.tsx | 14 ++++-
.../server-list/server-test-mode-selector.tsx | 36 ++++++++++++
apps/www/src/components/ui/animated-text.tsx | 7 ++-
apps/www/src/lib/hooks/use-filters.tsx | 57 +++++++++++++------
biome.json | 12 ++++
9 files changed, 138 insertions(+), 27 deletions(-)
create mode 100644 apps/www/src/components/feat/server-list/server-test-mode-selector.tsx
create mode 100644 biome.json
diff --git a/apps/www/src/app/(main)/server/v2/minehut/[server]/page.tsx b/apps/www/src/app/(main)/server/v2/minehut/[server]/page.tsx
index 954e707..2cda2db 100644
--- a/apps/www/src/app/(main)/server/v2/minehut/[server]/page.tsx
+++ b/apps/www/src/app/(main)/server/v2/minehut/[server]/page.tsx
@@ -1,5 +1,5 @@
import { ServerProvider } from "@/components/feat/server-page/server-provider";
-import { ServerResponse } from "@/lib/types/mh-server";
+import type { ServerResponse } from "@/lib/types/mh-server";
import type { Metadata } from "next";
import { notFound } from "next/navigation";
diff --git a/apps/www/src/app/(sl-modification-frame)/servers/embedded/sl-modification-frame/files/page.tsx b/apps/www/src/app/(sl-modification-frame)/servers/embedded/sl-modification-frame/files/page.tsx
index b5a7af6..93e83cf 100644
--- a/apps/www/src/app/(sl-modification-frame)/servers/embedded/sl-modification-frame/files/page.tsx
+++ b/apps/www/src/app/(sl-modification-frame)/servers/embedded/sl-modification-frame/files/page.tsx
@@ -46,7 +46,6 @@ import {
ArrowLeft,
Braces,
EllipsisVertical,
- File,
FileCode,
Pencil,
Trash,
@@ -76,7 +75,7 @@ export default function ServerListModificationFrame() {
{files.map((c, i) => (
@@ -88,7 +87,7 @@ export default function ServerListModificationFrame() {