Fix update metadata

This commit is contained in:
Faisal Amir 2023-12-06 21:39:23 +07:00
parent 3bfe32ab11
commit 9b467cf16d
3 changed files with 5 additions and 5 deletions

View File

@ -126,7 +126,7 @@ const config = {
// Docs: https://docusaurus.io/docs/api/themes/configuration // Docs: https://docusaurus.io/docs/api/themes/configuration
themeConfig: { themeConfig: {
image: "img/jan-social-card.png", image: "img/og-image.png",
// Only for react live // Only for react live
liveCodeBlock: { liveCodeBlock: {
playgroundPosition: "bottom", playgroundPosition: "bottom",
@ -158,7 +158,7 @@ const config = {
}, },
{ {
property: "og:image", property: "og:image",
content: "https://jan.ai/img/jan-social-card.png", content: "https://jan.ai/img/og-image.png",
}, },
{ property: "og:type", content: "website" }, { property: "og:type", content: "website" },
{ property: "twitter:card", content: "summary_large_image" }, { property: "twitter:card", content: "summary_large_image" },
@ -171,7 +171,7 @@ const config = {
}, },
{ {
property: "twitter:image", property: "twitter:image",
content: "https://jan.ai/img/jan-social-card.png", content: "https://jan.ai/img/og-image.png",
}, },
], ],
headTags: [ headTags: [

View File

@ -25,8 +25,8 @@ export default function Home() {
<> <>
<Banner /> <Banner />
<Layout <Layout
title={`${siteConfig.tagline}`} title="Jan | Open-source ChatGPT Alternative"
description="Jan is a ChatGPT-alternative that runs on your own computer, with a local API server." description="Jan runs 100% offline on your computer, utilizes open-source AI models, prioritizes privacy, and is highly customizable."
> >
<main> <main>
<div className="grid grid-cols-1 lg:grid-cols-12 -mt-1 gap-8 items-center relative min-h-[calc(100vh-96px)] "> <div className="grid grid-cols-1 lg:grid-cols-12 -mt-1 gap-8 items-center relative min-h-[calc(100vh-96px)] ">

View File

Before

Width:  |  Height:  |  Size: 265 KiB

After

Width:  |  Height:  |  Size: 265 KiB