initial commit: rocket.new export of broadcastbeat
This commit is contained in:
50
src/app/forum/layout.tsx
Normal file
50
src/app/forum/layout.tsx
Normal file
@@ -0,0 +1,50 @@
|
||||
import type { Metadata } from 'next';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Community Forum — BroadcastBeat',
|
||||
description: 'Connect with broadcast engineering professionals. Discuss live production, IP workflows, streaming, audio, cameras, AI automation, and more.',
|
||||
alternates: { canonical: '/forum' },
|
||||
openGraph: {
|
||||
title: 'Community Forum — BroadcastBeat',
|
||||
description: 'Connect with broadcast engineering professionals. Ask questions, share expertise, and discuss broadcast technology.',
|
||||
url: '/forum',
|
||||
type: 'website',
|
||||
},
|
||||
twitter: {
|
||||
card: 'summary',
|
||||
title: 'Community Forum — BroadcastBeat',
|
||||
description: 'Connect with broadcast engineering professionals on BroadcastBeat.',
|
||||
},
|
||||
};
|
||||
|
||||
export default function ForumLayout({ children }: { children: React.ReactNode }) {
|
||||
const schema = {
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'WebPage',
|
||||
name: 'BroadcastBeat Community Forum',
|
||||
description: 'Community forum for broadcast engineering professionals.',
|
||||
url: 'https://broadcastb5322.builtwithrocket.new/forum',
|
||||
isPartOf: {
|
||||
'@type': 'WebSite',
|
||||
name: 'BroadcastBeat',
|
||||
url: 'https://broadcastb5322.builtwithrocket.new',
|
||||
},
|
||||
breadcrumb: {
|
||||
'@type': 'BreadcrumbList',
|
||||
itemListElement: [
|
||||
{ '@type': 'ListItem', position: 1, name: 'Home', item: 'https://broadcastb5322.builtwithrocket.new' },
|
||||
{ '@type': 'ListItem', position: 2, name: 'Forum', item: 'https://broadcastb5322.builtwithrocket.new/forum' },
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<script
|
||||
type="application/ld+json"
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(schema) }}
|
||||
/>
|
||||
{children}
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user