import { ArrowRight } from 'lucide-react' import { cn } from '@/lib/utils' import { useChatStore } from '@/lib/hooks/use-chat-store' import { ExternalLink } from '@/components/external-link' import { Button } from '@/components/ui/button' import { OpenAI } from '@/components/icons' const exampleMessages = [ { heading: 'Explain technical concepts', message: `What is a "serverless function"?` }, { heading: 'Summarize an article', message: 'Summarize the following article for a 2nd grader: \n' }, { heading: 'Draft an email', message: `Draft an email to my boss about the following: \n` } ] export function EmptyScreen({ className }: React.ComponentProps<'div'>) { const { setDefaultMessage } = useChatStore() return (

Welcome to Next.js Chatbot!

This is an open source AI chatbot app built with{' '} Next.js and{' '} Vercel KV .

You can start a conversation here or try the following examples:

{exampleMessages.map((message, index) => ( ))}
) }