chore: heygermany customer project
This commit is contained in:
19
apps/website/views/[lang]/(main)/layout.tsx
Normal file
19
apps/website/views/[lang]/(main)/layout.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import TopBar from '@/components/ui/TopBar'
|
||||
import FooterBar from '@/components/ui/FooterBar'
|
||||
import { Flex } from '@pikku/mantine/core'
|
||||
|
||||
interface MainLayoutProps {
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
export default function MainLayout({ children }: MainLayoutProps) {
|
||||
return (
|
||||
<Flex direction="column" mih="100vh">
|
||||
<TopBar />
|
||||
<Flex component="main" direction="column" flex="1">
|
||||
{children}
|
||||
</Flex>
|
||||
<FooterBar />
|
||||
</Flex>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user