import type { Metadata } from 'next'; import localFont from 'next/font/local'; import './globals.css'; const cormorant = localFont({ src: [ { path: '../../node_modules/@fontsource-variable/cormorant-garamond/files/cormorant-garamond-latin-wght-normal.woff2', weight: '300 700', style: 'normal' }, { path: '../../node_modules/@fontsource-variable/cormorant-garamond/files/cormorant-garamond-latin-wght-italic.woff2', weight: '300 700', style: 'italic' }, ], variable: '--font-cormorant', display: 'swap', }); const crimsonPro = localFont({ src: [ { path: '../../node_modules/@fontsource-variable/crimson-pro/files/crimson-pro-latin-wght-normal.woff2', weight: '200 600', style: 'normal' }, { path: '../../node_modules/@fontsource-variable/crimson-pro/files/crimson-pro-latin-wght-italic.woff2', weight: '200 600', style: 'italic' }, ], variable: '--font-crimson', display: 'swap', }); const BASE_URL = 'https://skillfarm.ai'; export const metadata: Metadata = { metadataBase: new URL(BASE_URL), title: { default: 'Skillfarm — Where Agent Skills Grow', template: '%s | Skillfarm', }, description: 'The marketplace for AI agent skills. Subscribe for Seeds, spend them on the skills your agents need, or earn as a creator.', keywords: ['AI agents', 'agent skills', 'skill marketplace', 'AI automation', 'OpenClaw', 'Claude Code'], authors: [{ name: 'Skillfarm', url: 'https://skillfarm.ai/' }], creator: 'Skillfarm', openGraph: { type: 'website', url: BASE_URL, siteName: 'Skillfarm', title: 'Skillfarm — Where Agent Skills Grow 🌱', description: 'The marketplace for AI agent skills. Subscribe for Seeds, spend them on the skills your agents need, or earn as a creator.', images: [ { url: '/og-image-v2.jpg', width: 1200, height: 630, alt: 'Skillfarm — Where Agent Skills Grow', }, ], }, twitter: { card: 'summary_large_image', site: '@skillfarmai', creator: '@skillfarmai', title: 'Skillfarm — Where Agent Skills Grow 🌱', description: 'The marketplace for AI agent skills. Subscribe for Seeds, spend them on the skills your agents need, or earn as a creator.', images: ['/og-image-v2.jpg'], }, icons: { icon: '/favicon.ico', shortcut: '/favicon.ico', }, robots: { index: true, follow: true, }, }; export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { return ( {children} ); }