feat: reorganize files and implement ui and sidebar

This commit is contained in:
shadcn 2023-06-11 00:23:23 +04:00
parent 2e80864b84
commit 01dc4520d6
36 changed files with 1347 additions and 462 deletions

View file

@ -1,11 +1,11 @@
import { Metadata } from 'next'
import './globals.css'
import { TailwindIndicator } from '@/components/tailwind-indicator'
import { ThemeProvider } from '@/components/theme-provider'
import '@/app/globals.css'
import { fontMono, fontSans } from '@/lib/fonts'
import { cn } from '@/lib/utils'
import { Header } from '@/app/header'
import { TailwindIndicator } from '@/components/tailwind-indicator'
import { ThemeProvider } from '@/components/theme-provider'
import { Header } from '@/components/header'
export const metadata: Metadata = {
title: {
@ -43,7 +43,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
<div className="h-screen flex flex-col">
{/* @ts-ignore */}
<Header />
<main className="flex-1 overflow-hidden">{children}</main>
<main className="flex-1">{children}</main>
</div>
<TailwindIndicator />
</ThemeProvider>