refactor: 封装请求

This commit is contained in:
2026-05-09 09:25:13 +08:00
parent 765b84e2b4
commit 7bed43ac96
19 changed files with 195 additions and 108 deletions

View File

@@ -0,0 +1,9 @@
import { PlayerAppShell } from "@/components/layout/player-app-shell";
export default function PlayerLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return <PlayerAppShell>{children}</PlayerAppShell>;
}

23
src/app/(player)/page.tsx Normal file
View File

@@ -0,0 +1,23 @@
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/components/ui/card";
export default function PlayerHomePage() {
return (
<Card>
<CardHeader>
<CardTitle></CardTitle>
<CardDescription>
layout
</CardDescription>
</CardHeader>
<CardContent className="text-sm text-muted-foreground">
PlayerAppShell
</CardContent>
</Card>
);
}