• Blog
  • Documentation
  • Courses
  • Changelog
  • AI Starters
  • UI Kit
  • FAQ
  • Supamode
    New
  • Pricing

Launch your next SaaS in record time with Makerkit, a React SaaS Boilerplate for Next.js and Supabase.

Makerkit is a product of Makerkit Pte Ltd (registered in the Republic of Singapore)Company Registration No: 202407149CFor support or inquiries, please contact us

About
  • FAQ
  • Contact
  • Verify your Discord
  • Consultation
  • Open Source
  • Become an Affiliate
Product
  • Documentation
  • Blog
  • Changelog
  • UI Blocks
  • Figma UI Kit
  • AI SaaS Starters
License
  • Activate License
  • Upgrade License
  • Invite Member
Legal
  • Terms of License
    • Getting Started with Development
    • Database Architecture
    • Migrations
    • Extending the DB Schema
    • Database Functions
    • Loading data from the DB
    • Writing data to Database
    • Database Webhooks
    • RBAC: Roles and Permissions
    • Marketing Pages
    • Legal Pages
    • External Marketing Website
    • SEO
    • Adding a Turborepo package
    • Adding a Turborepo app

Legal Pages in the Next.js Supabase Turbo Starter Kit

Learn how to create and update legal pages in the Next.js Supabase Turbo Starter Kit.

Legal pages in the Starter Kit

Learn how to create and update legal pages in the Next.js Supabase Turbo Starter Kit.

1

Includes pages in the Starter Kit

2

Using a CMS for legal pages

Includes pages in the Starter Kit

Legal pages are defined in the apps/web/app/(marketing)/(legal) directory.

Makerkit comes with the following legal pages:

  1. Terms and Conditions: apps/web/app/(marketing)/(legal)/terms-and-conditions.mdx
  2. Privacy Policy: apps/web/app/(marketing)/(legal)/privacy-policy.mdx
  3. Cookie Policy: apps/web/app/(marketing)/(legal)/cookie-policy.mdx

For obvious reasons, these pages are empty and you need to fill in the content.

Do yourself a favor and do not use ChatGPT to generate these pages.

Using a CMS for legal pages

You can use a CMS to manage the content of the legal pages. To do this, use the CMS Client:

tsx
import { createCmsClient } from '@kit/cms';
export async function MyPage() {
const cms = await createCmsClient();
const { title, content } = await cms.getContentBySlug({
slug: `slug`,
collection: `pages`
});
return (
<div>
<h1>{title}</h1>
<div dangerouslySetInnerHTML={{ __html: content }} />
</div>
);
}
On this page
  1. Includes pages in the Starter Kit
    1. Using a CMS for legal pages