perf(struct): perf

This commit is contained in:
2026-03-10 15:41:48 +08:00
parent 4635de6a53
commit 77542cd49e
170 changed files with 34 additions and 38354 deletions

21
app/person/layout.tsx Normal file
View File

@@ -0,0 +1,21 @@
import AppLayout from "@/components/layout/AppLayout"
import { PathnameRecorder } from "@/components/layout/PathnameRecorder"
import { componentList, showList } from "@/components/layout/common"
async function getMenu() {
return [...componentList, ...showList]
}
export default async function Layout({
children,
}: {
children: React.ReactNode
}) {
const menu = await getMenu()
return (
<AppLayout menu={menu}>
{children}
<PathnameRecorder menu={menu} />
</AppLayout>
)
}