feat(project): init

This commit is contained in:
2026-02-03 18:05:47 +08:00
commit f37a119eff
188 changed files with 29246 additions and 0 deletions

21
app/show/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>
)
}

12
app/show/page.tsx Normal file
View File

@@ -0,0 +1,12 @@
"use client"
import { useRouter } from "next/navigation"
import { useEffect } from "react"
export default function ComponentPage() {
const router = useRouter()
useEffect(() => {
router.push("/show/user")
}, [router])
return <></>
}

5
app/show/user/page.tsx Normal file
View File

@@ -0,0 +1,5 @@
"use client"
export default function ShowUserPage() {
return <>ShowUserPage</>
}