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,13 +1,8 @@
import { type Message } from 'ai-connector'
import { Chat } from './chat'
import { Chat } from '@/components/chat'
export const runtime = 'edge'
// export const runtime = 'edge'
export const preferredRegion = 'home'
export default async function IndexPage() {
return (
<div className="h-full overflow-hidden">
<Chat />
</div>
)
return <Chat />
}