Next.js 16 + Tailwind v4 + shadcn v4 dashboard for managing a modded Forge 1.20.1 server. Includes server controls, player management, mod manager with Modrinth search and dependency resolution, world backups, snapshots, analytics, logs, and chat bridge. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
38 lines
1.2 KiB
TypeScript
38 lines
1.2 KiB
TypeScript
import { Navbar } from "@/components/Navbar";
|
|
import { StatusCard } from "@/components/StatusCard";
|
|
import { DownloadCard } from "@/components/DownloadCard";
|
|
import { ModList } from "@/components/ModList";
|
|
import { ClientOnly } from "@/components/ClientOnly";
|
|
|
|
export default function Home() {
|
|
return (
|
|
<>
|
|
<Navbar />
|
|
|
|
{/* Header */}
|
|
<div className="border-b border-border bg-card py-8 sm:py-12 text-center px-4">
|
|
<h1 className="text-3xl sm:text-4xl md:text-5xl font-bold tracking-tight text-primary">
|
|
HurkiCorgi MC
|
|
</h1>
|
|
<p className="mt-2 text-muted-foreground text-sm sm:text-base">
|
|
Create & Engineering | Raids | Survival
|
|
</p>
|
|
</div>
|
|
|
|
{/* Content */}
|
|
<ClientOnly>
|
|
<div className="max-w-5xl mx-auto px-3 py-4 sm:p-6 space-y-4 sm:space-y-6">
|
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6">
|
|
<StatusCard />
|
|
<DownloadCard />
|
|
</div>
|
|
<ModList />
|
|
</div>
|
|
</ClientOnly>
|
|
|
|
<footer className="text-center py-6 sm:py-8 text-muted-foreground text-xs">
|
|
HurkiCorgi MC — Forge 1.20.1
|
|
</footer>
|
|
</>
|
|
);
|
|
}
|