import type { Metadata } from "next";
import { BreadcrumbJsonLd } from "@/components/public/JsonLd";

export const metadata: Metadata = {
  title: "Message Board — Pay with Lightning",
  description:
    "Post a public message on the Belgian Bitcoin Embassy board. Pay a small Lightning invoice via LNbits to publish.",
  openGraph: {
    title: "Message Board — Belgian Bitcoin Embassy",
    description: "Pay with Lightning to post a message.",
  },
  alternates: { canonical: "/board" },
};

export default function BoardLayout({ children }: { children: React.ReactNode }) {
  return (
    <>
      <BreadcrumbJsonLd
        items={[
          { name: "Home", href: "/" },
          { name: "Board", href: "/board" },
        ]}
      />
      {children}
    </>
  );
}
