Files
openwork/ee/apps/landing/components/site-footer.tsx
Jan Carbonell 6cfe7fd2b9 docs(landing): add privacy policy and terms of use pages (#1359)
* docs(landing): add privacy policy and terms of use pages

- Add comprehensive privacy policy covering Desktop App (no tracking),
  Cloud Service (operational telemetry only), and Website (PostHog analytics)
- Add terms of use with AI output disclaimer, export controls, beta features,
  feedback, publicity rights, and JAMS arbitration
- Create reusable LegalPage component and shared parser for .txt legal docs
- Add Privacy and Terms links to site footer
- Both pages render with consistent styling, bold definition terms,
  subheadings for tracking technology categories, and clickable email links

* chore: add .turbo to .gitignore

* fix(landing): improve legal page parser for terms readability

- Detect definition blocks ("Term" means ...) and render as bulleted
  list with bold terms
- Bold ALL CAPS text (warranty disclaimers, arbitration notices, etc.)
- Make URLs clickable links alongside emails
- Distinguish h2 headings (questions, longer titles) from h3 subheadings
  (short section names like "Our IP", "Billing", "Usage Data")

* fix(landing): improve subscription termination wording and URL parsing

- Clarify recurring billing cancellation: users can cancel via account
  settings first, contact email as fallback at our discretion
- Fix URL regex to avoid capturing trailing periods/punctuation

* fix(landing): clarify subscription cancellation — email always accepted, late refunds at our discretion

* docs(landing): convert privacy policy and terms of use to markdown

- Add proper heading hierarchy (# h1, ## h2, ### h3)
- Bold definition terms, ALL CAPS legal clauses, and sub-processor names
- Convert restriction items into bullet points
- Make all URLs and emails clickable markdown links
- Use blockquote for the API key disclaimer note
- Structure tracking technologies as proper subheadings

* refactor(landing): use markdown for legal pages, no new dependencies

- Rename .txt to .md with proper markdown formatting
- Replace txt parser with lean render-markdown.tsx (zero deps, ~120 lines)
- LegalPage handles full page shell — page.tsx files are now 8 lines each
- Add legal-prose CSS for consistent typography
- Delete parse-legal-doc.tsx
2026-04-05 01:15:17 -06:00

48 lines
1.7 KiB
TypeScript

import Link from "next/link";
import { OpenCodeLogo } from "./opencode-logo";
export function SiteFooter() {
return (
<footer className="pt-10 text-sm text-gray-500">
<div className="flex flex-col items-start justify-between gap-6 border-t border-gray-200 pt-10 md:flex-row md:items-center">
<div className="flex flex-col gap-2">
<div className="font-medium text-gray-800">Powered by</div>
<a
href="https://opencode.ai"
target="_blank"
rel="noreferrer"
className="inline-flex items-center gap-3 text-gray-500 transition-colors hover:text-gray-800"
>
<OpenCodeLogo className="h-3 w-auto" />
</a>
</div>
<div className="flex flex-wrap items-center gap-4 md:gap-8">
<Link href="/docs" target="_blank" className="transition-colors hover:text-gray-800">
Docs
</Link>
<Link href="/pricing" className="transition-colors hover:text-gray-800">
Pricing
</Link>
<Link href="/download" className="transition-colors hover:text-gray-800">
Desktop
</Link>
<Link href="/den" className="transition-colors hover:text-gray-800">
Cloud
</Link>
<Link href="/enterprise" className="transition-colors hover:text-gray-800">
Enterprise
</Link>
<Link href="/privacy" className="transition-colors hover:text-gray-800">
Privacy
</Link>
<Link href="/terms" className="transition-colors hover:text-gray-800">
Terms
</Link>
<div>© 2026 OpenWork Project.</div>
</div>
</div>
</footer>
);
}