From 26ef11ca4f1e4632dc2e163fbf56198acef44a72 Mon Sep 17 00:00:00 2001
From: rzmk <30333942+rzmk@users.noreply.github.com>
Date: Tue, 8 Jul 2025 00:53:40 -0400
Subject: [PATCH] feat: add privacy policy, remove Umami analytics, add mdx
---
apps/web/Dockerfile | 2 +-
apps/web/app/auth/signup/OpenSignup.tsx | 3 +
apps/web/app/privacy-policy/layout.tsx | 17 ++
apps/web/app/privacy-policy/page.mdx | 146 +++++++++++++++
apps/web/bun.lock | 229 ++++++++++++++++++++++++
apps/web/mdx-components.tsx | 7 +
apps/web/middleware.ts | 12 +-
apps/web/next.config.js | 19 --
apps/web/next.config.mjs | 19 ++
apps/web/package.json | 3 +
apps/web/styles/globals.css | 2 +
11 files changed, 433 insertions(+), 26 deletions(-)
create mode 100644 apps/web/app/privacy-policy/layout.tsx
create mode 100644 apps/web/app/privacy-policy/page.mdx
create mode 100644 apps/web/mdx-components.tsx
delete mode 100644 apps/web/next.config.js
create mode 100644 apps/web/next.config.mjs
diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile
index fd405ea2..62d48a18 100644
--- a/apps/web/Dockerfile
+++ b/apps/web/Dockerfile
@@ -23,7 +23,7 @@ COPY . .
# Next.js collects completely anonymous telemetry data about general usage.
# Learn more here: https://nextjs.org/telemetry
# Uncomment the following line in case you want to disable telemetry during the build.
-# ENV NEXT_TELEMETRY_DISABLED 1
+ENV NEXT_TELEMETRY_DISABLED 1
# Remove .env files from the final image
# This is a good practice to avoid leaking sensitive data
diff --git a/apps/web/app/auth/signup/OpenSignup.tsx b/apps/web/app/auth/signup/OpenSignup.tsx
index 9d897feb..7d3aa8db 100644
--- a/apps/web/app/auth/signup/OpenSignup.tsx
+++ b/apps/web/app/auth/signup/OpenSignup.tsx
@@ -156,6 +156,8 @@ function OpenSignUpComponent() {
+ {/* TODO: Add Cloudflare Turnstile CAPTCHA */}
+
{/* for bio */}
{/*
@@ -169,6 +171,7 @@ function OpenSignUpComponent() {
*/}
+ By clicking “Create an account” you agree to Learn with Mueez’s Privacy Policy.