|
1 | 1 | import { RootProvider } from "fumadocs-ui/provider"; |
2 | 2 | import "./globals.css"; |
3 | | -import type { Metadata } from "next"; |
| 3 | +import type { Metadata, Viewport } from "next"; |
4 | 4 | import { ThemeProvider } from "next-themes"; |
5 | 5 |
|
6 | 6 | import { cn } from "../libs/utils"; |
7 | 7 | import { fonts } from "../libs/fonts"; |
| 8 | +import { siteConfig } from "../libs/site-config"; |
8 | 9 |
|
9 | 10 | export const metadata: Metadata = { |
10 | | - title: "Lightfast MCP Documentation", |
11 | | - description: "Documentation for Lightfast MCP", |
| 11 | + title: { |
| 12 | + default: siteConfig.name, |
| 13 | + template: `%s - ${siteConfig.name}`, |
| 14 | + }, |
| 15 | + metadataBase: new URL(siteConfig.url), |
| 16 | + description: siteConfig.description, |
| 17 | + keywords: [ |
| 18 | + "Lightfast", |
| 19 | + "MCP", |
| 20 | + "Model Context Protocol", |
| 21 | + "AI", |
| 22 | + "Creative Applications", |
| 23 | + "Blender", |
| 24 | + "TouchDesigner", |
| 25 | + "Unreal Engine", |
| 26 | + "Adobe Creative Suite", |
| 27 | + "Automation", |
| 28 | + "3D Modeling", |
| 29 | + "Animation", |
| 30 | + "Creative Workflows", |
| 31 | + ], |
| 32 | + authors: [ |
| 33 | + { |
| 34 | + name: siteConfig.name, |
| 35 | + url: siteConfig.url, |
| 36 | + }, |
| 37 | + ], |
| 38 | + creator: siteConfig.name, |
| 39 | + openGraph: { |
| 40 | + type: "website", |
| 41 | + locale: "en_US", |
| 42 | + url: siteConfig.url, |
| 43 | + title: siteConfig.name, |
| 44 | + description: siteConfig.description, |
| 45 | + siteName: siteConfig.name, |
| 46 | + images: [ |
| 47 | + { |
| 48 | + url: siteConfig.ogImage, |
| 49 | + width: 1200, |
| 50 | + height: 630, |
| 51 | + alt: siteConfig.name, |
| 52 | + }, |
| 53 | + ], |
| 54 | + }, |
| 55 | + twitter: { |
| 56 | + card: "summary_large_image", |
| 57 | + title: siteConfig.name, |
| 58 | + description: siteConfig.description, |
| 59 | + images: [siteConfig.ogImage], |
| 60 | + creator: "@lightfastai", |
| 61 | + }, |
| 62 | + icons: { |
| 63 | + icon: "/favicon.ico", |
| 64 | + shortcut: "/favicon-16x16.png", |
| 65 | + apple: "/apple-touch-icon.png", |
| 66 | + other: [ |
| 67 | + { |
| 68 | + rel: "icon", |
| 69 | + url: "/favicon-32x32.png", |
| 70 | + }, |
| 71 | + { |
| 72 | + rel: "icon", |
| 73 | + url: "/android-chrome-192x192.png", |
| 74 | + }, |
| 75 | + { |
| 76 | + rel: "icon", |
| 77 | + url: "/android-chrome-512x512.png", |
| 78 | + }, |
| 79 | + ], |
| 80 | + }, |
| 81 | + applicationName: siteConfig.name, |
| 82 | + appleWebApp: { |
| 83 | + capable: true, |
| 84 | + statusBarStyle: "default", |
| 85 | + title: siteConfig.name, |
| 86 | + }, |
| 87 | + formatDetection: { |
| 88 | + telephone: false, |
| 89 | + }, |
| 90 | +}; |
| 91 | + |
| 92 | +export const viewport: Viewport = { |
| 93 | + themeColor: "#121212", |
12 | 94 | }; |
13 | 95 |
|
14 | 96 | interface RootLayoutProperties { |
|
0 commit comments