mirror of
https://github.com/katanemo/plano.git
synced 2026-06-29 15:49:40 +02:00
add metadata for keyword selection
This commit is contained in:
parent
c0877e312c
commit
cfd3842d2d
2 changed files with 55 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import Script from "next/script";
|
import Script from "next/script";
|
||||||
import localFont from "next/font/local";
|
import localFont from "next/font/local";
|
||||||
|
import { siteConfig } from "../lib/metadata";
|
||||||
import "@katanemo/shared-styles/globals.css";
|
import "@katanemo/shared-styles/globals.css";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
|
|
||||||
|
|
@ -21,13 +22,41 @@ const ibmPlexSans = localFont({
|
||||||
variable: "--font-ibm-plex-sans",
|
variable: "--font-ibm-plex-sans",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const baseUrl = new URL(siteConfig.url);
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Katanemo Labs",
|
title: `${siteConfig.name} - ${siteConfig.tagline}`,
|
||||||
description:
|
description: siteConfig.description,
|
||||||
"Forward-deployed AI infrastructure engineers delivering industry-leading research and open-source technologies,",
|
keywords: siteConfig.keywords,
|
||||||
|
metadataBase: baseUrl,
|
||||||
|
authors: siteConfig.authors,
|
||||||
|
creator: siteConfig.creator,
|
||||||
icons: {
|
icons: {
|
||||||
icon: "/KatanemoLogo.svg",
|
icon: "/KatanemoLogo.svg",
|
||||||
},
|
},
|
||||||
|
openGraph: {
|
||||||
|
type: "website",
|
||||||
|
locale: "en_US",
|
||||||
|
url: siteConfig.url,
|
||||||
|
title: `${siteConfig.name} - ${siteConfig.tagline}`,
|
||||||
|
description: siteConfig.description,
|
||||||
|
siteName: siteConfig.name,
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: siteConfig.ogImage,
|
||||||
|
width: 1200,
|
||||||
|
height: 630,
|
||||||
|
alt: `${siteConfig.name} - ${siteConfig.tagline}`,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
card: "summary_large_image",
|
||||||
|
title: `${siteConfig.name} - ${siteConfig.tagline}`,
|
||||||
|
description: siteConfig.description,
|
||||||
|
images: [siteConfig.ogImage],
|
||||||
|
creator: "@katanemo",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
|
|
|
||||||
23
apps/katanemo-www/src/lib/metadata.ts
Normal file
23
apps/katanemo-www/src/lib/metadata.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
const BASE_URL = process.env.NEXT_PUBLIC_APP_URL || "https://katanemo.com";
|
||||||
|
|
||||||
|
export const siteConfig = {
|
||||||
|
name: "Katanemo",
|
||||||
|
tagline: "Forward-deployed AI infrastructure engineers",
|
||||||
|
description:
|
||||||
|
"Forward-deployed AI infrastructure engineers delivering industry-leading research and open-source technologies for agentic AI development efforts.",
|
||||||
|
url: BASE_URL,
|
||||||
|
ogImage: `${BASE_URL}/KatanemoLogo.svg`,
|
||||||
|
links: {
|
||||||
|
docs: "https://docs.katanemo.com",
|
||||||
|
github: "https://github.com/katanemo/plano",
|
||||||
|
discord: "https://discord.gg/pGZf2gcwEc",
|
||||||
|
huggingface: "https://huggingface.co/katanemo",
|
||||||
|
},
|
||||||
|
keywords: [
|
||||||
|
"Katanemo AI",
|
||||||
|
"Katanemo",
|
||||||
|
"Katanemo Labs",
|
||||||
|
],
|
||||||
|
authors: [{ name: "Katanemo", url: "https://github.com/katanemo/plano" }],
|
||||||
|
creator: "Katanemo",
|
||||||
|
};
|
||||||
Loading…
Add table
Add a link
Reference in a new issue