import SidebarAd from "@/components/SidebarAd"; interface ToolLayoutProps { title: string; description: string; children: React.ReactNode; showSideAds?: boolean; } export default function ToolLayout({ title, description, children, showSideAds = true }: ToolLayoutProps) { return (
{/* Left Side Ad (Ultra-wide screens) */} {showSideAds && (
)} {/* Main Tool Content */}

{title}

{description}

{children}
{/* Right Side Ad (Desktop & Laptops) */} {showSideAds && (
)}
); }