From c7e14c159bab9f8b7af8e7c2fa20b3f3cfc2766c Mon Sep 17 00:00:00 2001 From: dvelo <52332868+DeveloLongScript@users.noreply.github.com> Date: Thu, 8 Aug 2024 18:02:46 -0500 Subject: [PATCH] fix: fixing the spaced classNames --- src/app/account/favorites/page.tsx | 2 +- src/components/FavoritesView.tsx | 8 +- src/components/IconDisplay.tsx | 6 +- src/components/ServerCard.tsx | 26 +++---- src/components/ServerList.tsx | 82 ++++++++++---------- src/components/ServerView.tsx | 16 ++-- src/components/Stat.tsx | 10 +-- src/components/TextFromPathname.tsx | 18 ++--- src/components/clerk/LoggedInPopover.tsx | 14 ++-- src/components/clerk/SignInPopoverButton.tsx | 4 +- src/components/clerk/Topbar.tsx | 8 +- src/components/misc/TextCopyComp.tsx | 6 +- 12 files changed, 99 insertions(+), 101 deletions(-) diff --git a/src/app/account/favorites/page.tsx b/src/app/account/favorites/page.tsx index 995b26f..22e1fe8 100644 --- a/src/app/account/favorites/page.tsx +++ b/src/app/account/favorites/page.tsx @@ -3,7 +3,7 @@ import FavoritesView from "@/components/FavoritesView"; export default function Favorites() { return (
-
+
diff --git a/src/components/FavoritesView.tsx b/src/components/FavoritesView.tsx index cbc02bd..9f602af 100644 --- a/src/components/FavoritesView.tsx +++ b/src/components/FavoritesView.tsx @@ -40,7 +40,7 @@ export default function FavoritesView() { if (loading) { return ( <> - +
); @@ -54,7 +54,7 @@ export default function FavoritesView() { Your favorites are empty. Maybe favorite a server! )} -
+
{apiFavorites.map((server: ServerResponse) => ( @@ -63,7 +63,7 @@ export default function FavoritesView() { @@ -165,7 +165,7 @@ export default function ServerCard({ b, motd }: any) { }} > Copy server IP -
+
@@ -193,7 +193,7 @@ export default function ServerCard({ b, motd }: any) { }} > Copy server IP -
+
diff --git a/src/components/ServerList.tsx b/src/components/ServerList.tsx index abb22a0..72b05ca 100644 --- a/src/components/ServerList.tsx +++ b/src/components/ServerList.tsx @@ -108,10 +108,10 @@ export default function ServerList() { if (loading) { return ( <> - +
@@ -120,7 +120,7 @@ export default function ServerList() { return ( <> -
+
{serverList.currentServers[0] != undefined @@ -197,11 +197,11 @@ export default function ServerList() {

-
+
- - + { toast.promise( @@ -351,41 +351,41 @@ export default function ServerList() { } })()} > -
+
-
+
-

+

Server have 15-7 players, cannot be{" "} Always Online

-
+
-
+
-

+

Server has 16 players or more

-
+
-
+
@@ -394,13 +394,13 @@ export default function ServerList() {

- Tags + Tags
{allTags.map((tag) => (
{tag.docsName && tag.__filter == undefined && ( -
+
-
+
@@ -464,7 +464,7 @@ export default function ServerList() {
{allCategories.map((categorie) => (
-
+
@@ -524,7 +524,7 @@ export default function ServerList() {
diff --git a/src/components/clerk/SignInPopoverButton.tsx b/src/components/clerk/SignInPopoverButton.tsx index 526282f..890c145 100644 --- a/src/components/clerk/SignInPopoverButton.tsx +++ b/src/components/clerk/SignInPopoverButton.tsx @@ -32,8 +32,8 @@ export default function SignInPopoverButton({
- Login - + Login + Make comments about servers and favorite servers. Secured by Clerk
diff --git a/src/components/clerk/Topbar.tsx b/src/components/clerk/Topbar.tsx index 4ca8508..492ebca 100644 --- a/src/components/clerk/Topbar.tsx +++ b/src/components/clerk/Topbar.tsx @@ -17,7 +17,7 @@ export default function TopBar({ inter }: { inter: string }) { return ( <> -
+
@@ -32,7 +32,7 @@ export default function TopBar({ inter }: { inter: string }) {