Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
[docs] OpenGraph
Browse files Browse the repository at this point in the history
  • Loading branch information
maxijonson committed Aug 15, 2023
1 parent e6e64a7 commit 06afda3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
Binary file added packages/docs/public/assets/images/og/og.psd
Binary file not shown.
17 changes: 14 additions & 3 deletions packages/docs/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ import DocsSpotlight from "./components/DocsSpotlight/DocsSpotlight";
import { Metadata } from "next";
import Providers from "./components/Providers/Providers";

const title = "GPT Turbo";
const description =
"JavaScript library for OpenAI's Chat Completion API. Features conversation history management, parameter configuration, callable functions and plugin support!";
export const metadata: Metadata = {
title: "GPT Turbo",
description:
"JavaScript library for OpenAI's Chat Completion API. Comes with conversation history management, parameter configuration, callable functions and plugin support!",
title,
description,
keywords: [
"openai",
"chatgpt",
Expand All @@ -31,6 +33,15 @@ export const metadata: Metadata = {
"bot",
"chatbot",
],

openGraph: {
type: "website",
title,
description,
locale: "en_US",
url: "https://gpt-turbo.chintristan.io/",
siteName: "GPT Turbo",
},
};

interface AppLayoutProps {
Expand Down
Binary file added packages/docs/src/app/opengraph-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 06afda3

Please sign in to comment.