Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 13 additions & 30 deletions components/overview.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { motion } from 'framer-motion';
import Link from 'next/link';
import Image from 'next/image';

import { MessageIcon, VercelIcon } from './icons';
import { MessageIcon } from './icons';

export const Overview = () => {
return (
Expand All @@ -15,37 +15,20 @@ export const Overview = () => {
>
<div className="rounded-xl p-6 flex flex-col gap-8 leading-relaxed text-center max-w-xl">
<p className="flex flex-row justify-center gap-4 items-center">
<VercelIcon size={32} />
<Image
/**
* FIXME: Handle light mode
* https://github.com/pattern-tech/pattern-app/issues/22
*/
src="/images/logo-white.svg"
alt="Pattern"
width={32}
height={32}
/>
<span>+</span>
<MessageIcon size={32} />
</p>
<p>
This is an{' '}
<Link
className="font-medium underline underline-offset-4"
href="https://github.com/vercel/ai-chatbot"
target="_blank"
>
open source
</Link>{' '}
chatbot template built with Next.js and the AI SDK by Vercel. It uses
the{' '}
<code className="rounded-md bg-muted px-1 py-0.5">streamText</code>{' '}
function in the server and the{' '}
<code className="rounded-md bg-muted px-1 py-0.5">useChat</code> hook
on the client to create a seamless chat experience.
</p>
<p>
You can learn more about the AI SDK by visiting the{' '}
<Link
className="font-medium underline underline-offset-4"
href="https://sdk.vercel.ai/docs"
target="_blank"
>
docs
</Link>
.
</p>
<h1 className="text-xl">How can I help you?</h1>
</div>
</motion.div>
);
Expand Down
5 changes: 5 additions & 0 deletions public/images/logo-black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/images/logo-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.