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