Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
159 lines
4.5 KiB
TypeScript
159 lines
4.5 KiB
TypeScript
import './globals.css'
|
|
import { Inter } from 'next/font/google'
|
|
import type { Metadata, Viewport } from 'next'
|
|
import Script from 'next/script'
|
|
|
|
const inter = Inter({ subsets: ['latin'] })
|
|
|
|
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://pounce.com'
|
|
|
|
export const viewport: Viewport = {
|
|
width: 'device-width',
|
|
initialScale: 1,
|
|
themeColor: '#020202',
|
|
viewportFit: 'cover',
|
|
}
|
|
|
|
export const metadata: Metadata = {
|
|
metadataBase: new URL(siteUrl),
|
|
title: {
|
|
default: 'Pounce - Domain Intelligence for Investors',
|
|
template: '%s | Pounce',
|
|
},
|
|
description: 'The market never sleeps. You should. Scan, track, and trade domains with real-time drops, auctions, and TLD price intelligence. Spam-filtered. 0% commission.',
|
|
keywords: [
|
|
'domain marketplace',
|
|
'domain auctions',
|
|
'TLD pricing',
|
|
'domain investing',
|
|
'expired domains',
|
|
'domain intelligence',
|
|
'domain drops',
|
|
'premium domains',
|
|
'domain monitoring',
|
|
'domain valuation',
|
|
'domain market analysis',
|
|
'buy domains',
|
|
'sell domains',
|
|
'domain portfolio',
|
|
],
|
|
authors: [{ name: 'Pounce' }],
|
|
creator: 'Pounce',
|
|
publisher: 'Pounce',
|
|
formatDetection: {
|
|
email: false,
|
|
address: false,
|
|
telephone: false,
|
|
},
|
|
openGraph: {
|
|
type: 'website',
|
|
locale: 'en_US',
|
|
url: siteUrl,
|
|
siteName: 'Pounce',
|
|
title: 'Pounce - Domain Intelligence for Investors',
|
|
description: 'The market never sleeps. You should. Real-time domain drops, auctions, and TLD price intelligence.',
|
|
images: [
|
|
{
|
|
url: `${siteUrl}/og-image.png`,
|
|
width: 1200,
|
|
height: 630,
|
|
alt: 'Pounce - Domain Intelligence',
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
card: 'summary_large_image',
|
|
title: 'Pounce - Domain Intelligence for Investors',
|
|
description: 'The market never sleeps. You should. Real-time domain drops, auctions, and TLD price intelligence.',
|
|
creator: '@pouncedomains',
|
|
images: [`${siteUrl}/og-image.png`],
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
googleBot: {
|
|
index: true,
|
|
follow: true,
|
|
'max-video-preview': -1,
|
|
'max-image-preview': 'large',
|
|
'max-snippet': -1,
|
|
},
|
|
},
|
|
icons: {
|
|
icon: [
|
|
{ url: '/favicon-16x16.png', sizes: '16x16', type: 'image/png' },
|
|
{ url: '/favicon-32x32.png', sizes: '32x32', type: 'image/png' },
|
|
],
|
|
apple: [
|
|
{ url: '/apple-touch-icon.png', sizes: '180x180', type: 'image/png' },
|
|
],
|
|
},
|
|
manifest: '/site.webmanifest',
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html lang="en" className="dark">
|
|
<head>
|
|
{/* Preconnect to external domains for performance */}
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
|
|
|
|
{/* Organization Schema */}
|
|
<Script
|
|
id="organization-schema"
|
|
type="application/ld+json"
|
|
dangerouslySetInnerHTML={{
|
|
__html: JSON.stringify({
|
|
'@context': 'https://schema.org',
|
|
'@type': 'Organization',
|
|
name: 'Pounce',
|
|
url: siteUrl,
|
|
logo: `${siteUrl}/pounce-logo.png`,
|
|
description: 'Domain intelligence platform for investors and traders',
|
|
sameAs: [
|
|
'https://twitter.com/pouncedomains',
|
|
'https://github.com/pounce',
|
|
],
|
|
contactPoint: {
|
|
'@type': 'ContactPoint',
|
|
email: 'hello@pounce.com',
|
|
contactType: 'Customer Service',
|
|
},
|
|
}),
|
|
}}
|
|
/>
|
|
|
|
{/* WebSite Schema for Search Box */}
|
|
<Script
|
|
id="website-schema"
|
|
type="application/ld+json"
|
|
dangerouslySetInnerHTML={{
|
|
__html: JSON.stringify({
|
|
'@context': 'https://schema.org',
|
|
'@type': 'WebSite',
|
|
name: 'Pounce',
|
|
url: siteUrl,
|
|
potentialAction: {
|
|
'@type': 'SearchAction',
|
|
target: {
|
|
'@type': 'EntryPoint',
|
|
urlTemplate: `${siteUrl}/search?q={search_term_string}`,
|
|
},
|
|
'query-input': 'required name=search_term_string',
|
|
},
|
|
}),
|
|
}}
|
|
/>
|
|
</head>
|
|
<body className={inter.className} suppressHydrationWarning>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|