diff --git a/frontend/src/app/(public)/layout.tsx b/frontend/src/app/(public)/layout.tsx new file mode 100644 index 0000000..6b95c8a --- /dev/null +++ b/frontend/src/app/(public)/layout.tsx @@ -0,0 +1,9 @@ +// Public pages layout - inherits from root layout +export default function PublicLayout({ + children, +}: { + children: React.ReactNode +}) { + return children +} + diff --git a/frontend/src/app/acquire/layout.tsx b/frontend/src/app/acquire/layout.tsx new file mode 100644 index 0000000..26aa3de --- /dev/null +++ b/frontend/src/app/acquire/layout.tsx @@ -0,0 +1,68 @@ +import { Metadata } from 'next' +import Script from 'next/script' +import { SEO_CONFIG, SITE_URL, generateWebPageSchema, generateBreadcrumbSchema } from '@/lib/seo' + +export const metadata: Metadata = { + title: SEO_CONFIG.acquire.title, + description: SEO_CONFIG.acquire.description, + keywords: SEO_CONFIG.acquire.keywords, + alternates: { + canonical: `${SITE_URL}/acquire`, + }, + openGraph: { + title: SEO_CONFIG.acquire.title, + description: SEO_CONFIG.acquire.description, + url: `${SITE_URL}/acquire`, + siteName: 'Pounce', + images: [ + { + url: `${SITE_URL}/og-acquire.png`, + width: 1200, + height: 630, + alt: 'Domain Auctions & Marketplace - Pounce', + }, + ], + locale: 'en_US', + type: 'website', + }, + twitter: { + card: 'summary_large_image', + title: SEO_CONFIG.acquire.title, + description: SEO_CONFIG.acquire.description, + images: [`${SITE_URL}/og-acquire.png`], + }, +} + +export default function AcquireLayout({ + children, +}: { + children: React.ReactNode +}) { + const webPageSchema = generateWebPageSchema({ + title: SEO_CONFIG.acquire.title, + description: SEO_CONFIG.acquire.description, + url: `${SITE_URL}/acquire`, + }) + + const breadcrumbSchema = generateBreadcrumbSchema([ + { name: 'Home', url: SITE_URL }, + { name: 'Domain Marketplace', url: `${SITE_URL}/acquire` }, + ]) + + return ( + <> +