From 8b938f5c2cd8b4383b272f362c630b72fb2c6e21 Mon Sep 17 00:00:00 2001 From: dvelo <52332868+DeveloLongScript@users.noreply.github.com> Date: Sat, 22 Feb 2025 10:38:19 -0600 Subject: [PATCH] =?UTF-8?q?feat:=20i=20didn't=20keep=20track=20?= =?UTF-8?q?=F0=9F=92=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/www/biome.json | 18 --- apps/www/package.json | 1 + apps/www/src/app/(main)/home/page.tsx | 17 +++ apps/www/src/app/(main)/layout.tsx | 38 +++--- apps/www/src/app/globals.css | 20 ++++ apps/www/src/app/layout.tsx | 11 +- .../components/feat/home-page/home-page.tsx | 109 ++++++++++++++++++ .../components/feat/icons/branding-icons.tsx | 16 +++ .../www/src/components/feat/navbar/navbar.tsx | 104 +++++++++++++++-- .../feat/server-list/server-card.tsx | 35 +++++- .../feat/server-list/server-list.tsx | 28 ++++- .../feat/server-list/statistics.tsx | 6 +- apps/www/src/components/ui/skeleton.tsx | 8 +- .../www/src/components/util/font-boundary.tsx | 6 +- apps/www/src/lib/hooks/use-motd.tsx | 28 ----- apps/www/src/middleware.ts | 23 ++-- apps/www/tailwind-hero.config.ts | 54 +++++++++ biome.json | 18 +++ yarn.lock | 5 + 19 files changed, 440 insertions(+), 105 deletions(-) delete mode 100644 apps/www/biome.json create mode 100644 apps/www/src/app/(main)/home/page.tsx create mode 100644 apps/www/src/components/feat/home-page/home-page.tsx delete mode 100644 apps/www/src/lib/hooks/use-motd.tsx create mode 100644 apps/www/tailwind-hero.config.ts create mode 100644 biome.json diff --git a/apps/www/biome.json b/apps/www/biome.json deleted file mode 100644 index faa0495..0000000 --- a/apps/www/biome.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", - "linter": { - "rules": { - "style": { - "useTemplate": "off", - "useImportType": "warn" - }, - "suspicious": { - "noExplicitAny": "off", - "noDoubleEquals": "warn" - }, - "complexity": { - "noForEach": "off" - } - } - } -} diff --git a/apps/www/package.json b/apps/www/package.json index 3bc82a9..bdb82c8 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -47,6 +47,7 @@ "input-otp": "^1.2.4", "json-beautify": "^1.1.1", "lucide-react": "^0.454.0", + "mini-svg-data-uri": "^1.4.4", "minimessage-2-html": "1.6.0", "minimessage-js": "^1.1.3", "mongodb": "^6.8.0", diff --git a/apps/www/src/app/(main)/home/page.tsx b/apps/www/src/app/(main)/home/page.tsx new file mode 100644 index 0000000..3d07584 --- /dev/null +++ b/apps/www/src/app/(main)/home/page.tsx @@ -0,0 +1,17 @@ +import HomePageComponent from "@/components/feat/home-page/home-page"; +import type { Metadata } from "next"; + +export const metadata: Metadata = { + applicationName: "MHSF", + title: "The modern server list. ยท MHSF", + description: + "The open-source, modern and friendly server list wrapper for Minehut.", +}; + +export default function HomePage() { + return ( +