Skip to content
Open
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
6 changes: 2 additions & 4 deletions src/app/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import Image from "next/image";



export default function Header({ className }: { className?: string }) {
export default function Header({ className, title }: { className?: string; title?: string }) {
return (
<header
className={`flex items-center justify-center text-gray-200 text-2xl ${className}`}
>
<div className="text-4xl ml-3 mr-3">+</div>
<div className="text-4xl ml-3 mr-3">+{title}</div>
</header>
);
}
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const metadata = {
title: "Pinecone - Vercel AI SDK Example",
title: "Embeddit",
description: "Pinecone - Vercel AI SDK Example",
};

Expand Down
14 changes: 7 additions & 7 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ const Page: React.FC = () => {

return (
<div className="flex flex-col justify-between h-screen bg-gray-800 p-2 mx-auto max-w-full">
<Header className="my-5" />
<a
<Header className="my-5" title="Embeddit"/>
{/* <a
className="fixed left-4 top-4 md:right-14 md:top-6 text-xl text-white"
href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fpinecone-io%2Fpinecone-vercel-starter&env=OPENAI_API_KEY,PINECONE_API_KEY,PINECONE_CLOUD,PINECONE_REGION,PINECONE_INDEX&envDescription=API%20Keys%20needed%20to%20run%20the%20application&envLink=https%3A%2F%2Fdocs.pinecone.io%2Fdocs%2Fprojects%23api-keys&project-name=my-awesome-pinecone-vercel-project&repository-name=my-awesome-pinecone-vercel-project&demo-title=Pinecone%20%2B%20Vercel%20AI%20SDK%20Starter&demo-description=A%20Next.js%20starter%20chatbot%20using%20Vercel's%20AI%20SDK%20and%20implements%20the%20Retrieval-Augmented%20Generation%20(RAG)%20pattern%20with%20Pinecone&demo-url=https%3A%2F%2Fpinecone-vercel-example.vercel.app%2F&demo-image=https%3A%2F%2Fvercel.com%2F_next%2Fimage%3Furl%3Dhttps%253A%252F%252Fimages.ctfassets.net%252Fe5382hct74si%252F1G4xSqx0bCgVVv3aY3rrX4%252Ffa27791c39ddf058995561d794a68710%252FCleanShot_2023-07-21_at_11.55.49.png%26w%3D3840%26q%3D75%26dpl%3Ddpl_5bh93Tz7wfj1PdxgzMGwNCc1nAxA"
>
<img src="https://vercel.com/button" alt="Deploy with Vercel" />
</a>
</a> */}

<button
{/* <button
onClick={() => {
window.open(
"https://github.com/pinecone-io/pinecone-vercel-starter",
Expand All @@ -68,14 +68,14 @@ const Page: React.FC = () => {
className="fixed right-12 top-4 md:right-12 md:top-6 text-xl text-white github-button"
>
<AiFillGithub />
</button>
</button> */}

<button
{/* <button
onClick={() => setModalOpen(true)}
className="fixed right-4 top-4 md:right-6 md:top-6 text-xl text-white animate-pulse-once info-button"
>
<AiOutlineInfoCircle />
</button>
</button> */}

<InstructionModal
isOpen={isModalOpen}
Expand Down