(props: PropsWithChildren)
| 15 | * 封装 user 端的 CMS 布局,供 UserLayoutShell 使用 |
| 16 | */ |
| 17 | export default function CmsLayoutShell(props: PropsWithChildren) { |
| 18 | return ( |
| 19 | <div className={cn('min-h-screen', userCmsBackground)}> |
| 20 | <div className="flex min-h-screen gap-4"> |
| 21 | <CmsSidebarNav links={USER_CMS_NAV_LINKS} brandHref={PageRoutes.User.INDEX} mode="user" /> |
| 22 | <main className="min-w-0 flex-1 py-4 pr-4"> |
| 23 | <div className="mx-auto w-full max-w-7xl">{props.children}</div> |
| 24 | </main> |
| 25 | </div> |
| 26 | </div> |
| 27 | ) |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected