From e0d96b47cd3e2130dcddfaac04fe7c2b3e002d9b Mon Sep 17 00:00:00 2001
From: dvelo <52332868+DeveloLongScript@users.noreply.github.com>
Date: Sat, 21 Dec 2024 17:22:11 -0600
Subject: [PATCH] fix: errors
---
.../auth/sign-in/[[...sign-in]]/page.tsx | 48 ---
src/app/(auth)/layout.tsx | 22 --
src/components/clerk/SignInForm.tsx | 311 ------------------
src/components/misc/ServerListNav.tsx | 99 ------
4 files changed, 480 deletions(-)
delete mode 100644 src/app/(auth)/auth/sign-in/[[...sign-in]]/page.tsx
delete mode 100644 src/app/(auth)/layout.tsx
delete mode 100644 src/components/clerk/SignInForm.tsx
delete mode 100644 src/components/misc/ServerListNav.tsx
diff --git a/src/app/(auth)/auth/sign-in/[[...sign-in]]/page.tsx b/src/app/(auth)/auth/sign-in/[[...sign-in]]/page.tsx
deleted file mode 100644
index 4cf8491..0000000
--- a/src/app/(auth)/auth/sign-in/[[...sign-in]]/page.tsx
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * MHSF, Minehut Server List
- * All external content is rather licensed under the ECA Agreement
- * located here: https://mhsf.app/docs/legal/external-content-agreement
- *
- * All code under MHSF is licensed under the MIT License
- * by open source contributors
- *
- * Copyright (c) 2024 dvelo
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to
- * deal in the Software without restriction, including without limitation the
- * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- * sell copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-import SignUpPage from "@/components/clerk/SignInForm";
-import { ServerCrash } from "lucide-react";
-
-export default function Page() {
- return (
-
- );
-}
diff --git a/src/app/(auth)/layout.tsx b/src/app/(auth)/layout.tsx
deleted file mode 100644
index 8019bf2..0000000
--- a/src/app/(auth)/layout.tsx
+++ /dev/null
@@ -1,22 +0,0 @@
-import { ClerkProvider } from "@clerk/nextjs";
-import "@/app/globals.css";
-import { GeistSans } from "geist/font/sans";
-
-export const metadata = {
- title: "Next.js",
- description: "Generated by Next.js",
-};
-
-export default function RootLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
- return (
-
-
- {children}
-
-
- );
-}
diff --git a/src/components/clerk/SignInForm.tsx b/src/components/clerk/SignInForm.tsx
deleted file mode 100644
index b8c9cfb..0000000
--- a/src/components/clerk/SignInForm.tsx
+++ /dev/null
@@ -1,311 +0,0 @@
-/*
- * MHSF, Minehut Server List
- * All external content is rather licensed under the ECA Agreement
- * located here: https://mhsf.app/docs/legal/external-content-agreement
- *
- * All code under MHSF is licensed under the MIT License
- * by open source contributors
- *
- * Copyright (c) 2024 dvelo
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to
- * deal in the Software without restriction, including without limitation the
- * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- * sell copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-"use client";
-import * as Clerk from "@clerk/elements/common";
-import * as SignUp from "@clerk/elements/sign-up";
-import { Button } from "@/components/ui/button";
-import {
- Card,
- CardContent,
- CardDescription,
- CardFooter,
- CardHeader,
- CardTitle,
-} from "@/components/ui/card";
-import { Input } from "@/components/ui/input";
-import { Label } from "@/components/ui/label";
-import { cn } from "@/lib/utils";
-import { LoadingSpinner } from "../ui/loading-spinner";
-import Discord from "../ui/discord";
-import Github from "../ui/github";
-
-export default function SignUpPage() {
- return (
-
-
-
-
- }
- >
-
- {(isGlobalLoading) => (
- <>
- {isGlobalLoading && (
-
-
-
- )}
-
-
-
- Create your account
-
- Welcome! Please fill in the details to get started.
-
-
-
-
-
-
-
-
-
-
-
-
- Verify your email
-
- Use the verification link sent to your email address
-
-
-
-
-
-
- Email address
-
-
- {
- return (
-
- {value}
- {status === "cursor" && (
-
-
-
- )}
-
- );
- }}
- />
-
-
-
- (
-
- )}
- >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- >
- )}
-
-
-
- );
-}
diff --git a/src/components/misc/ServerListNav.tsx b/src/components/misc/ServerListNav.tsx
deleted file mode 100644
index 2fcfba5..0000000
--- a/src/components/misc/ServerListNav.tsx
+++ /dev/null
@@ -1,99 +0,0 @@
-/*
- * MHSF, Minehut Server List
- * All external content is rather licensed under the ECA Agreement
- * located here: https://mhsf.app/docs/legal/external-content-agreement
- *
- * All code under MHSF is licensed under the MIT License
- * by open source contributors
- *
- * Copyright (c) 2024 dvelo
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to
- * deal in the Software without restriction, including without limitation the
- * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- * sell copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-import {
- DropdownMenu,
- DropdownMenuContent,
- DropdownMenuTrigger,
-} from "../ui/dropdown-menu";
-import { Button } from "../ui/button";
-import { ChevronDown } from "lucide-react";
-
-export function ServerListNav() {
- return (
-