import type { Metadata } from "next";
import "./globals.css";

export const metadata: Metadata = {
  title: { default: "CP Staff", template: "%s · CP Staff" },
  description: "Connelly Partners staff intranet",
  robots: { index: false, follow: false },
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en">
      <head>
        {/* Instrument Serif is the accent face used on connellypartners.com; falls back to Georgia if offline. */}
        <link rel="preconnect" href="https://fonts.googleapis.com" />
        <link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
        <link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap" rel="stylesheet" />
      </head>
      <body>{children}</body>
    </html>
  );
}
