import { JsonLd } from "@/components/seo/json-ld"; import { breadcrumbSchema, graph, webPageSchema } from "@/lib/schema"; import { toIsoDate } from "@/lib/seo"; export interface LegalSection { heading: string; paragraphs: string[]; bullets?: string[]; } /** * Shared layout for long-form legal documents (Privacy, Terms, …). * * Also emits the page's structured data: every legal page has the same shape, so * the WebPage + BreadcrumbList nodes are built here from `path`/`description` * rather than repeated in each of the six route files. */ export function LegalDoc({ title, updated, intro, sections, path, description, }: { title: string; updated: string; intro: string; sections: LegalSection[]; /** Root-relative URL of this document, e.g. "/terms". */ path: string; /** Same one-line summary used for the page's meta description. */ description: string; }) { const dateModified = toIsoDate(updated); return (

Legal

{title}

Last updated: {updated}

{intro}

{sections.map((s, i) => (

{i + 1}. {s.heading}

{s.paragraphs.map((p, j) => (

{p}

))} {s.bullets && (
    {s.bullets.map((b) => (
  • {b}
  • ))}
)}
))}

This document is provided for transparency about how Podcast Distribution AI operates. It is a general template and is not legal advice; have it reviewed by qualified counsel for your jurisdiction before relying on it.

); }