diff --git a/src/app/globals.css b/src/app/(pages)/globals.css similarity index 100% rename from src/app/globals.css rename to src/app/(pages)/globals.css diff --git a/src/app/layout.tsx b/src/app/(pages)/layout.tsx similarity index 88% rename from src/app/layout.tsx rename to src/app/(pages)/layout.tsx index 35c7bea..50fb6ac 100644 --- a/src/app/layout.tsx +++ b/src/app/(pages)/layout.tsx @@ -1,13 +1,13 @@ import { Fonts } from "@/common/fonts"; -import Container from "@/components/container"; -import ThemeProvider from "@/components/theme-provider"; import { Metadata, Viewport } from "next"; import { ToastContainer } from "react-toastify"; import "react-toastify/dist/ReactToastify.css"; import "./globals.css"; -import Config from "../../config.json"; +import Config from "../../../config.json"; +import Container from "../components/container"; +import ThemeProvider from "../components/theme-provider"; export const viewport: Viewport = { themeColor: "#3498DB", diff --git a/src/app/page.tsx b/src/app/(pages)/page.tsx similarity index 95% rename from src/app/page.tsx rename to src/app/(pages)/page.tsx index 93d72c5..30370ee 100644 --- a/src/app/page.tsx +++ b/src/app/(pages)/page.tsx @@ -6,7 +6,7 @@ type Button = { }; const buttons: Button[] = [ - { title: "Get Started", url: "/player" }, + { title: "Get Started", url: "/player/Notch" }, { title: "Documentation", url: "https://api.mcutils.xyz/swagger-ui.html" }, ]; diff --git a/src/app/player/[id]/page.tsx b/src/app/(pages)/player/[id]/page.tsx similarity index 93% rename from src/app/player/[id]/page.tsx rename to src/app/(pages)/player/[id]/page.tsx index fb644ff..ee1b1ac 100644 --- a/src/app/player/[id]/page.tsx +++ b/src/app/(pages)/player/[id]/page.tsx @@ -1,7 +1,7 @@ +import { NotFound } from "@/app/components/not-found"; +import { LookupPlayer } from "@/app/components/player/lookup-player"; +import { Card } from "@/app/components/ui/card"; import { generateEmbed } from "@/common/embed"; -import { LookupPlayer } from "@/components/lookup-player"; -import { NotFound } from "@/components/not-found"; -import { Card } from "@/components/ui/card"; import { getPlayer } from "mcutils-library"; import { Player } from "mcutils-library/dist/types/player/player"; import { Metadata } from "next"; diff --git a/src/app/server/[platform]/[hostname]/page.tsx b/src/app/(pages)/server/[platform]/[hostname]/page.tsx similarity index 94% rename from src/app/server/[platform]/[hostname]/page.tsx rename to src/app/(pages)/server/[platform]/[hostname]/page.tsx index 6b47401..c5f8fa3 100644 --- a/src/app/server/[platform]/[hostname]/page.tsx +++ b/src/app/(pages)/server/[platform]/[hostname]/page.tsx @@ -1,8 +1,8 @@ +import { NotFound } from "@/app/components/not-found"; +import { LookupServer } from "@/app/components/server/lookup-server"; +import { Card } from "@/app/components/ui/card"; import { generateEmbed } from "@/common/embed"; import { capitalizeFirstLetter } from "@/common/string-utils"; -import { LookupServer } from "@/components/lookup-server"; -import { NotFound } from "@/components/not-found"; -import { Card } from "@/components/ui/card"; import { getServer } from "mcutils-library"; import JavaMinecraftServer from "mcutils-library/dist/types/server/javaServer"; import { ServerPlatform } from "mcutils-library/dist/types/server/platform"; diff --git a/src/components/container.tsx b/src/app/components/container.tsx similarity index 100% rename from src/components/container.tsx rename to src/app/components/container.tsx diff --git a/src/components/logo.tsx b/src/app/components/logo.tsx similarity index 100% rename from src/components/logo.tsx rename to src/app/components/logo.tsx diff --git a/src/components/navbar.tsx b/src/app/components/navbar.tsx similarity index 94% rename from src/components/navbar.tsx rename to src/app/components/navbar.tsx index 2116912..13c49eb 100644 --- a/src/components/navbar.tsx +++ b/src/app/components/navbar.tsx @@ -16,7 +16,7 @@ export default function NavBar() {
Minecraft Utilities
Loading...
-