import type { Metadata } from "next";
import "./globals.css";
import {SiteHeader,SiteFooter} from "@/components/site-brand";
import {BRAND,DESCRIPTION,social,twitter} from "@/lib/brand";

export const metadata: Metadata = {
  metadataBase: new URL("https://opentaskrelay.com"),
  title: BRAND,
  description: DESCRIPTION,
  openGraph:social,
  twitter,
  other: {
    "codex-preview": "development",
  },
  icons: {
    icon: "/brand/relay-mark.png",
    shortcut: "/brand/relay-mark.png",
  },
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <body className="antialiased"><a className="skip-link" href="#site-content">Skip to content</a><SiteHeader/><div id="site-content">{children}</div><SiteFooter/></body>
    </html>
  );
}
