refactor: remove "use client" directive from multiple files and update project structure to align with Vite and React Router

This commit is contained in:
HouYunFei
2026-06-26 17:24:48 +08:00
parent e635ec6908
commit 443afab7bd
88 changed files with 94 additions and 230 deletions
+12
View File
@@ -0,0 +1,12 @@
import type { ReactNode } from "react";
import { AppTopNav } from "@/components/layout/app-top-nav";
export default function UserLayout({ children }: { children: ReactNode }) {
return (
<div className="flex h-dvh flex-col overflow-hidden bg-background text-foreground">
<AppTopNav />
<div className="min-h-0 flex-1 overflow-hidden">{children}</div>
</div>
);
}