From 53f345ab1d81921431e9863ae28ab60907490ab3 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 13 Oct 2024 22:54:02 -0600 Subject: [PATCH 01/10] feat: add privacy & terms --- apps/website/app/[locale]/layout.tsx | 4 + apps/website/app/[locale]/page.tsx | 5 - apps/website/app/[locale]/pricing/page.tsx | 9 + apps/website/app/[locale]/privacy/page.tsx | 111 ++++++++ apps/website/app/[locale]/terms/page.tsx | 205 ++++++++++++++ apps/website/components/pricing.tsx | 310 +++++++++++++++++++++ apps/website/components/ui/switch.tsx | 29 ++ apps/website/package.json | 1 + pnpm-lock.yaml | 9 +- 9 files changed, 675 insertions(+), 8 deletions(-) create mode 100644 apps/website/app/[locale]/pricing/page.tsx create mode 100644 apps/website/app/[locale]/privacy/page.tsx create mode 100644 apps/website/app/[locale]/terms/page.tsx create mode 100644 apps/website/components/pricing.tsx create mode 100644 apps/website/components/ui/switch.tsx diff --git a/apps/website/app/[locale]/layout.tsx b/apps/website/app/[locale]/layout.tsx index 89e15a9b0..65e4ba499 100644 --- a/apps/website/app/[locale]/layout.tsx +++ b/apps/website/app/[locale]/layout.tsx @@ -7,6 +7,8 @@ import { NextIntlClientProvider } from "next-intl"; import { getMessages } from "next-intl/server"; import type { Metadata } from "next"; +import { Header } from "@/components/Header"; +import { Footer } from "@/components/Footer"; export const metadata: Metadata = { title: { @@ -89,7 +91,9 @@ export default async function RootLayout({ +
{children} +