feat: add basic webui

This commit is contained in:
2024-12-30 06:39:09 +08:00
parent 608a7fb9c6
commit a4c549e7c3
462 changed files with 35900 additions and 2491 deletions

30
apps/web/app/layout.tsx Normal file
View 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;