Skip to content

Commit 797da4a

Browse files
authored
Merge pull request #23 from pattern-tech/feat/overview
feat: overview page
2 parents 241d977 + 4fa82b0 commit 797da4a

3 files changed

Lines changed: 23 additions & 30 deletions

File tree

components/overview.tsx

Lines changed: 13 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { motion } from 'framer-motion';
2-
import Link from 'next/link';
2+
import Image from 'next/image';
33

4-
import { MessageIcon, VercelIcon } from './icons';
4+
import { MessageIcon } from './icons';
55

66
export const Overview = () => {
77
return (
@@ -15,37 +15,20 @@ export const Overview = () => {
1515
>
1616
<div className="rounded-xl p-6 flex flex-col gap-8 leading-relaxed text-center max-w-xl">
1717
<p className="flex flex-row justify-center gap-4 items-center">
18-
<VercelIcon size={32} />
18+
<Image
19+
/**
20+
* FIXME: Handle light mode
21+
* https://github.com/pattern-tech/pattern-app/issues/22
22+
*/
23+
src="/images/logo-white.svg"
24+
alt="Pattern"
25+
width={32}
26+
height={32}
27+
/>
1928
<span>+</span>
2029
<MessageIcon size={32} />
2130
</p>
22-
<p>
23-
This is an{' '}
24-
<Link
25-
className="font-medium underline underline-offset-4"
26-
href="https://github.com/vercel/ai-chatbot"
27-
target="_blank"
28-
>
29-
open source
30-
</Link>{' '}
31-
chatbot template built with Next.js and the AI SDK by Vercel. It uses
32-
the{' '}
33-
<code className="rounded-md bg-muted px-1 py-0.5">streamText</code>{' '}
34-
function in the server and the{' '}
35-
<code className="rounded-md bg-muted px-1 py-0.5">useChat</code> hook
36-
on the client to create a seamless chat experience.
37-
</p>
38-
<p>
39-
You can learn more about the AI SDK by visiting the{' '}
40-
<Link
41-
className="font-medium underline underline-offset-4"
42-
href="https://sdk.vercel.ai/docs"
43-
target="_blank"
44-
>
45-
docs
46-
</Link>
47-
.
48-
</p>
31+
<h1 className="text-xl">How can I help you?</h1>
4932
</div>
5033
</motion.div>
5134
);

public/images/logo-black.svg

Lines changed: 5 additions & 0 deletions
Loading

public/images/logo-white.svg

Lines changed: 5 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)