feat: add basic webui
This commit is contained in:
30
apps/web/app/layout.tsx
Normal file
30
apps/web/app/layout.tsx
Normal file
@@ -0,0 +1,30 @@
|
||||
import '@konobangu/design-system/styles/globals.css';
|
||||
import './styles/web.css';
|
||||
import { DesignSystemProvider } from '@konobangu/design-system';
|
||||
import { fonts } from '@konobangu/design-system/lib/fonts';
|
||||
import { cn } from '@konobangu/design-system/lib/utils';
|
||||
import type { ReactNode } from 'react';
|
||||
import { Footer } from './components/footer';
|
||||
import { Header } from './components/header';
|
||||
|
||||
type RootLayoutProperties = {
|
||||
readonly children: ReactNode;
|
||||
};
|
||||
|
||||
const RootLayout = ({ children }: RootLayoutProperties) => (
|
||||
<html
|
||||
lang="en"
|
||||
className={cn(fonts, 'scroll-smooth')}
|
||||
suppressHydrationWarning
|
||||
>
|
||||
<body>
|
||||
<DesignSystemProvider>
|
||||
<Header />
|
||||
{children}
|
||||
<Footer />
|
||||
</DesignSystemProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
export default RootLayout;
|
||||
Reference in New Issue
Block a user