import React, { Suspense } from 'react'; import type { Metadata, Viewport } from 'next'; import '../styles/tailwind.css'; import GoogleAnalytics from '@/components/GoogleAnalytics'; import CookieConsent from '@/components/CookieConsent'; export const viewport: Viewport = { width: 'device-width', initialScale: 1 }; export const metadata: Metadata = { metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000'), title: 'BroadcastBeat — Broadcast Engineering News & Insights', description: 'The digital platform for broadcast engineering professionals. Breaking news, deep-dive features, and industry spotlights from NAB to IBC and beyond.', icons: { icon: [ { url: '/favicon.ico', type: 'image/x-icon' }] }, alternates: { canonical: '/', languages: { 'en': '/en', 'es': '/es', 'pt': '/pt', 'fr': '/fr', 'de': '/de', 'zh': '/zh', 'ja': '/ja', 'ar': '/ar', 'hi': '/hi', 'x-default': '/en', }, }, openGraph: { type: 'website', locale: 'en_US', url: '/', siteName: 'BroadcastBeat', title: 'BroadcastBeat — Broadcast News', description: 'Breaking news and insights for broadcast engineering professionals.', images: [ { url: '/assets/images/og-image.png', width: 1200, height: 630, alt: 'BroadcastBeat — Broadcast Engineering News & Insights', type: 'image/png' }] }, twitter: { card: 'summary_large_image', site: '@BroadcastBeat', creator: '@BroadcastBeat', title: 'BroadcastBeat — Broadcast News', description: 'Breaking news and insights for broadcast engineering professionals.', images: ['/assets/images/og-image.png'] }, robots: { index: true, follow: true, googleBot: { index: true, follow: true, 'max-video-preview': -1, 'max-image-preview': 'large', 'max-snippet': -1 } } }; export default function RootLayout({ children }: Readonly<{children: React.ReactNode;}>) { return (
{/* hreflang tags for multilingual SEO — Section 18G */} {/* Skip to main content — WCAG 2.4.1 */} Skip to main content