diff --git a/app/favicon.ico b/app/favicon.ico index 718d6fe..869186a 100644 Binary files a/app/favicon.ico and b/app/favicon.ico differ diff --git a/app/layout.tsx b/app/layout.tsx index f7fa87e..2b637a9 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -3,32 +3,32 @@ import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; const geistSans = Geist({ - variable: "--font-geist-sans", - subsets: ["latin"], + variable: "--font-geist-sans", + subsets: ["latin"], }); const geistMono = Geist_Mono({ - variable: "--font-geist-mono", - subsets: ["latin"], + variable: "--font-geist-mono", + subsets: ["latin"], }); export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: "Next-AI-Drawio", + description: "An AI-powered drawing tool that integrates with draw.io", }; export default function RootLayout({ - children, + children, }: Readonly<{ - children: React.ReactNode; + children: React.ReactNode; }>) { - return ( - -
- {children} - - - ); + return ( + + + {children} + + + ); } diff --git a/components/chatPanel.tsx b/components/chatPanel.tsx index 1388de0..e2795a4 100644 --- a/components/chatPanel.tsx +++ b/components/chatPanel.tsx @@ -1,28 +1,47 @@ -"use client" +"use client"; -import type React from "react" -import { useRef, useEffect, useState } from "react" -import Image from "next/image" +import type React from "react"; +import { useRef, useEffect, useState } from "react"; +import Image from "next/image"; -import { Card, CardContent, CardFooter, CardHeader, CardTitle } from "@/components/ui/card" -import { ScrollArea } from "@/components/ui/scroll-area" -import { Button } from "@/components/ui/button" -import { useChat } from '@ai-sdk/react'; -import { ChatInput } from "@/components/chat-input" -import { convertToLegalXml } from "@/lib/utils" +import { + Card, + CardContent, + CardFooter, + CardHeader, + CardTitle, +} from "@/components/ui/card"; +import { ScrollArea } from "@/components/ui/scroll-area"; +import { Button } from "@/components/ui/button"; +import { useChat } from "@ai-sdk/react"; +import { ChatInput } from "@/components/chat-input"; +import { convertToLegalXml } from "@/lib/utils"; interface ChatPanelProps { onDisplayChart: (xml: string) => void; onFetchChart: () => PromiseStart a conversation to generate or modify diagrams.
-Try: "Create a flowchart for user authentication"
++ Start a conversation to generate or modify + diagrams. +
++ Try: "Create a flowchart for user + authentication" +