From 3ef6a595823fc1716cbd522f138a3f44f8db8637 Mon Sep 17 00:00:00 2001 From: dvelo <52332868+DeveloLongScript@users.noreply.github.com> Date: Tue, 23 Jul 2024 20:51:32 -0500 Subject: [PATCH] minor changes to readme and tags --- README.md | 12 ++++++------ src/allTags.ts | 2 +- src/lib/miniMessage2HTML.ts | 2 +- src/page/api/uuidToUser.ts | 1 - 4 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 src/page/api/uuidToUser.ts diff --git a/README.md b/README.md index 6655884..61ce617 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,12 @@ An open-source Minehut server viewer/finder made in React + Next.js. Is much bet ## Tech-stack -[React](https://react.dev): Component based syntaxing for the web -[Next.js](https://nextjs.org): Handles API, server-based metadata, and so much more. -[Clerk](https://clerk.com): Authentication for MHSF (very cool library) -[TailwindCSS](https://tailwindcss.com): Styling without CSS, simplified -[shadcn/ui](https://ui.shadcn.com): Provides the awesome UI for MHSF -And many other smaller libraries are in use to make sure MHSF is feature-packed. +[React](https://react.dev): Component based syntaxing for the web
+[Next.js](https://nextjs.org): Handles API, server-based metadata, and so much more.
+[Clerk](https://clerk.com): Authentication for MHSF (very cool library)
+[TailwindCSS](https://tailwindcss.com): Styling without CSS, simplified
+[shadcn/ui](https://ui.shadcn.com): Provides the awesome UI for MHSF
+And many other smaller libraries are in use to make sure MHSF is feature-packed.
## Contributing diff --git a/src/allTags.ts b/src/allTags.ts index 6637210..6b928db 100644 --- a/src/allTags.ts +++ b/src/allTags.ts @@ -91,7 +91,7 @@ export var allTags: Array<{ }, tooltipDesc: "Is this server not directly hosted on Minehuts servers?", htmlDocs: - "Is this server not directly hosted on Minehuts servers, most likely because the server runs on an multi-server network (like Velocity or Bungeecord)", + "This tag represents servers not directly hosted on Minehut's servers, most likely because the server runs on an multi-server network (like Velocity or Bungeecord)", docsName: "External", primary: true, role: "red", diff --git a/src/lib/miniMessage2HTML.ts b/src/lib/miniMessage2HTML.ts index f7378ac..16d5cbd 100644 --- a/src/lib/miniMessage2HTML.ts +++ b/src/lib/miniMessage2HTML.ts @@ -151,7 +151,6 @@ function createHTML( ) { if (className == undefined) className = ""; if (contents == undefined) contents = ""; - if (contents == "undefined") return "
"; if (tw == false || tw == undefined) { return ( @@ -181,6 +180,7 @@ type Element = { }; function colorConvert(className: string) { + console.log(className); const classes = className.split(" "); let result = ""; classes.forEach((classUnique) => { diff --git a/src/page/api/uuidToUser.ts b/src/page/api/uuidToUser.ts deleted file mode 100644 index 8b13789..0000000 --- a/src/page/api/uuidToUser.ts +++ /dev/null @@ -1 +0,0 @@ -