feat: privacy policy

This commit is contained in:
Henry
2025-02-24 21:36:03 +00:00
parent 3608ec0e31
commit 08a736b210
7 changed files with 476 additions and 100 deletions

View File

@@ -3,6 +3,7 @@ import "~/styles/globals.css";
import type { AppType } from "next/app";
import { Plus_Jakarta_Sans } from "next/font/google";
import { env } from "~/env";
import { ModalProvider } from "~/providers/modal";
import { PopupProvider } from "~/providers/popup";
import { ThemeProvider } from "~/providers/theme";
@@ -30,6 +31,13 @@ const MyApp: AppType = ({ Component, pageProps }) => {
position: relative;
}
`}</style>
{env.NEXT_PUBLIC_UMAMI_ID && (
<script
defer
src="https://cloud.umami.is/script.js"
data-website-id={env.NEXT_PUBLIC_UMAMI_ID}
/>
)}
<main className="font-sans">
<ThemeProvider>
<ModalProvider>

View File

@@ -0,0 +1,5 @@
import PrivacyView from "~/views/privacy";
export default function Privacy() {
return <PrivacyView />;
}