mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-30 14:58:08 +00:00
The hand-written TSX privacy/terms/cookies were a SECOND source that had drifted from the markdown stack and, worse, presented as in-force while the canonical set is draft-pending-counsel. Now one source (content/legal/*.md), one render (components/legal/document.tsx -> Prose), four routes; /privacy /terms /cookies keep their URLs (footer/SEO intact) rendering the canonical content with rel=canonical -> /legal/<slug>, all showing the draft notice. Ported the carrier-mandated SMS/10DLC disclosures verbatim into privacy.md/terms.md (dropping them was a real compliance regression). Fixed a dead #privacy-policy anchor. Repointed every consumer to /legal/<slug>. Removed all legal-surface Tailwind: 5241->4858, -438 lines. Five substantive conflicts (age 16 vs 18, research default, never-train, liability cap, price notice) are FLAGGED for counsel, not silently reconciled — canonical stands alone.
19 lines
584 B
TypeScript
19 lines
584 B
TypeScript
import { LegalDocument, legalMeta } from '@/components/legal/document'
|
|
|
|
/**
|
|
* The Cookie Notice, at the short address it has always answered on.
|
|
*
|
|
* It renders `content/legal/cookies.md` through the same component
|
|
* `/legal/cookies` uses, and its canonical points there. This file used to
|
|
* hold a SECOND notice — three categories against the markdown's four, with
|
|
* no consent posture, no retention period and no inventory.
|
|
*/
|
|
|
|
const SLUG = 'cookies'
|
|
|
|
export const metadata = legalMeta(SLUG)
|
|
|
|
export default function CookiesPage() {
|
|
return <LegalDocument slug={SLUG} />
|
|
}
|