MCPcopy Create free account
hub / github.com/Y80/bmm / CmsLayoutShell

Function CmsLayoutShell

src/components/CmsLayoutShell.tsx:17–28  ·  view source on GitHub ↗
(props: PropsWithChildren)

Source from the content-addressed store, hash-verified

15 * 封装 user 端的 CMS 布局,供 UserLayoutShell 使用
16 */
17export 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected