File size: 878 Bytes
1904e4c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

import React from "react";
import { Bot } from "lucide-react";
import { Button } from "@/components/ui/button";

interface WelcomeScreenProps {
  onCreateNewChat: () => void;
}

export const WelcomeScreen: React.FC<WelcomeScreenProps> = ({ onCreateNewChat }) => {
  return (
    <div className="h-full flex flex-col items-center justify-center">
      <div className="text-center max-w-md p-8 bg-card/40 backdrop-blur-sm rounded-2xl border border-border/50">
        <Bot className="h-10 w-10 mx-auto mb-4 text-primary" />
        <h2 className="text-2xl font-bold mb-2">Welcome to Insight AI</h2>
        <p className="text-muted-foreground mb-6">
          Ask me anything, and I'll do my best to help you
        </p>
        <Button onClick={onCreateNewChat} className="animate-fade-in">
          Start a new conversation
        </Button>
      </div>
    </div>
  );
};