ShipNext

Legal Pages

Replace terms, privacy, refund, and cookie policies, then connect them to routes, footer links, and SEO.

ShipNext includes legal MDX pages to demonstrate routing and layout. They are not legal advice. Replace them with text that matches your company, product, jurisdiction, and purchase flow before launch.

Current implementation

CapabilityFile
Legal contentcontent/legal/*.mdx or localized legal content where present
Enabled pagesconfig/website.ts legal.pages
Dynamic routeMarketing legal slug route
Page componentcomponents/legal/legal-document-page.tsx
Footer linksLanding footer components

Default legal pages usually include:

PageSlugDefault path
Privacy Policyprivacy/privacy
Terms of Serviceterms/terms
Cookie Policycookie/cookie
Refund Policyrefund/refund

MDX frontmatter

Legal pages use the schema from source.config.ts:

---
title: Privacy Policy
description: How Your Product collects, uses, and protects personal information.
lastUpdated: "2026-06-01"
---

title and description are used by metadata and page headers.

config/website.ts:

const legalConfig = {
  pages: [
    {
      slug: "privacy",
      href: "/privacy",
      labelKey: "privacy",
      title: "Privacy Policy",
    },
  ],
};
FieldDescription
slugContent slug
hrefFooter link path
labelKeyFooter translation key
titleDefault title for config use; MDX frontmatter controls page display

Slugs not listed in legal.pages should return 404.

For an Acceptable Use Policy:

  1. Create content/legal/acceptable-use.mdx or the localized equivalent.
  2. Add an entry to websiteConfig.legal.pages:
{
  slug: "acceptable-use",
  href: "/acceptable-use",
  labelKey: "acceptableUse",
  title: "Acceptable Use Policy",
}
  1. Add links.acceptableUse to each footer translation file if your footer uses i18n keys.
  2. Visit the new route and confirm the page, footer link, and metadata work.

Content recommendations

PageShould cover
TermsService scope, account responsibilities, subscriptions, IP, liability limits, disputes
PrivacyData collected, purposes, processors, retention, user rights, contact
RefundRefund window, subscription cancellation, non-refundable cases, request process
CookieNecessary cookies, analytics/support scripts, user controls

AI, UGC, or upload-heavy products should consider an Acceptable Use Policy. Platforms hosting user content may also need DMCA pages.

  • Registration and checkout should link to Terms and Privacy.
  • Stripe, Paddle, and Lemon Squeezy reviews often require public Terms, Privacy, and Refund pages.
  • Cookie Policy should disclose Crisp and similar third-party scripts.
  • Footer and email support/contact details should match.

Checklist

  • Placeholder legal text is replaced.
  • Every enabled slug has MDX content.
  • Footer legal links do not 404.
  • Effective or updated dates are accurate.
  • Payment, registration, cookies, and privacy disclosures agree.
  • websiteConfig.metadata.url is the production HTTPS domain.

On this page