import type { ReactNode } from "react";
import Script from "next/script";
// CrawlProof ad unit, scoped to the pages that render it (currently /blog/*).
// The loader is deduped by src, so mounting on multiple routes only
// injects one https://crawlproof.com/ad.js.
export function AdUnit({
slot,
format = "banner_300x250",
}: {
slot: string;
format?: string;
}): ReactNode {
return (
<>