@@ -2,6 +2,8 @@ import type { Metadata, Viewport } from "next";
22import "./globals.css" ;
33import { ThemeProvider } from "@/components/theme-provider" ;
44
5+ const siteUrl = process . env . NEXT_PUBLIC_SITE_URL ?? "http://localhost:3000" ;
6+
57export const viewport : Viewport = {
68 themeColor : [
79 { media : "(prefers-color-scheme: light)" , color : "#faf2e5" } ,
@@ -12,12 +14,21 @@ export const viewport: Viewport = {
1214} ;
1315
1416export const metadata : Metadata = {
17+ metadataBase : new URL ( siteUrl ) ,
1518 title : {
1619 default : "CodexKit" ,
1720 template : "%s | CodexKit" ,
1821 } ,
1922 description :
2023 "Open-source operating kit for OpenAI Codex and ChatGPT workflows: skills, playbooks, automations, and MCP onboarding." ,
24+ icons : {
25+ icon : [
26+ { url : "/favicon.ico" , sizes : "any" } ,
27+ { url : "/icon.svg" , type : "image/svg+xml" } ,
28+ ] ,
29+ shortcut : "/favicon.ico" ,
30+ apple : "/apple-touch-icon.png" ,
31+ } ,
2132 robots : {
2233 index : true ,
2334 follow : true ,
@@ -26,6 +37,24 @@ export const metadata: Metadata = {
2637 type : "website" ,
2738 locale : "en_US" ,
2839 siteName : "CodexKit" ,
40+ title : "CodexKit" ,
41+ description :
42+ "Open-source operating kit for OpenAI Codex and ChatGPT workflows: skills, templates, workspaces, playbooks, automations, and MCP onboarding." ,
43+ images : [
44+ {
45+ url : "/images/codexkit-logo.png" ,
46+ width : 1600 ,
47+ height : 467 ,
48+ alt : "CodexKit" ,
49+ } ,
50+ ] ,
51+ } ,
52+ twitter : {
53+ card : "summary_large_image" ,
54+ title : "CodexKit" ,
55+ description :
56+ "Open-source operating kit for OpenAI Codex and ChatGPT workflows: skills, templates, workspaces, playbooks, automations, and MCP onboarding." ,
57+ images : [ "/images/codexkit-logo.png" ] ,
2958 } ,
3059} ;
3160
0 commit comments