+ This is an open source AI chatbot app built with{" "}
+ Next.js and{" "}
+
+ Vercel Postgres
+
+ . You can start a conversation here or try the following examples:
+
+
+
+
+ Explain technical concepts
+ Summarize article
+ Get assistance
+ Draft an email
+
+
+
+ );
+}
diff --git a/app/external-link.tsx b/app/external-link.tsx
new file mode 100644
index 0000000..7025ee5
--- /dev/null
+++ b/app/external-link.tsx
@@ -0,0 +1,29 @@
+export function ExternalLink({
+ href,
+ children,
+}: {
+ href: string;
+ children: React.ReactNode;
+}) {
+ return (
+
+ {children}
+
+
+ );
+}
diff --git a/app/sidebar.tsx b/app/sidebar.tsx
index d43cd82..834c180 100644
--- a/app/sidebar.tsx
+++ b/app/sidebar.tsx
@@ -8,6 +8,7 @@ import { Plus } from "lucide-react";
import Link from "next/link";
import { unstable_cache } from "next/cache";
import { SidebarItem } from "./sidebar-item";
+import { ExternalLink } from "./external-link";
export interface SidebarProps {
session?: Session;
@@ -48,6 +49,33 @@ export function Sidebar({ session, newChat }: SidebarProps) {
+
+