Phase3
Some checks failed
CI / Node — lint, typecheck, test, build (push) Failing after 9s
CI / Go — node-agent tests (push) Failing after 9s
CI / Go — edge-gateway build (push) Successful in 13s

This commit is contained in:
smueller
2026-06-26 12:17:26 +02:00
parent c4077d4673
commit 9b061c3ee7
92 changed files with 4128 additions and 146 deletions

View File

@@ -0,0 +1,13 @@
import { setRequestLocale } from "next-intl/server";
import { ServerConsole } from "@/components/servers/server-console";
interface ServerConsolePageProps {
params: Promise<{ locale: string; id: string }>;
}
export default async function ServerConsolePage({ params }: ServerConsolePageProps) {
const { locale, id } = await params;
setRequestLocale(locale);
return <ServerConsole serverId={id} />;
}

View File

@@ -0,0 +1,13 @@
import { setRequestLocale } from "next-intl/server";
import { ServerFiles } from "@/components/servers/server-files";
interface ServerFilesPageProps {
params: Promise<{ locale: string; id: string }>;
}
export default async function ServerFilesPage({ params }: ServerFilesPageProps) {
const { locale, id } = await params;
setRequestLocale(locale);
return <ServerFiles serverId={id} />;
}

View File

@@ -0,0 +1,15 @@
import { setRequestLocale } from "next-intl/server";
import type { ReactNode } from "react";
import { ServerDetailShell } from "@/components/servers/server-detail-shell";
interface ServerDetailLayoutProps {
children: ReactNode;
params: Promise<{ locale: string; id: string }>;
}
export default async function ServerDetailLayout({ children, params }: ServerDetailLayoutProps) {
const { locale, id } = await params;
setRequestLocale(locale);
return <ServerDetailShell serverId={id}>{children}</ServerDetailShell>;
}

View File

@@ -0,0 +1,13 @@
import { setRequestLocale } from "next-intl/server";
import { ServerPlayers } from "@/components/servers/server-players";
interface ServerPlayersPageProps {
params: Promise<{ locale: string; id: string }>;
}
export default async function ServerPlayersPage({ params }: ServerPlayersPageProps) {
const { locale, id } = await params;
setRequestLocale(locale);
return <ServerPlayers serverId={id} />;
}

View File

@@ -0,0 +1,13 @@
import { setRequestLocale } from "next-intl/server";
import { ServerPropertiesForm } from "@/components/servers/server-properties-form";
interface ServerPropertiesPageProps {
params: Promise<{ locale: string; id: string }>;
}
export default async function ServerPropertiesPage({ params }: ServerPropertiesPageProps) {
const { locale, id } = await params;
setRequestLocale(locale);
return <ServerPropertiesForm serverId={id} />;
}