accounts/dashboard-fresh/cms/extensions/appShell.tsx
Haitao Pan 9c877ceb3c feat(dashboard-fresh): migrate and integrate dashboard source
- Add fresh app structure (auth, tenant, mail, insight, docs, panel)
- Include CMS content, API routes, scripts, and config
- Migrate UI components, themes, and extensions to fresh runtime
2025-11-04 18:06:21 +08:00

26 lines
564 B
TypeScript

import type { ReactNode } from 'react'
import Footer from '@components/Footer'
import Navbar from '@components/Navbar'
import { AskAIButton } from '@components/AskAIButton'
import type { CmsExtension } from '../types'
function AppShellLayout({ children }: { children: ReactNode }) {
return (
<>
<Navbar />
<div className="pt-[var(--app-shell-nav-offset)]">
{children}
<Footer />
</div>
<AskAIButton />
</>
)
}
export const appShellExtension: CmsExtension = {
name: 'app-shell',
Layout: AppShellLayout,
}