svrjs-nextjs-website/app/(root)/privacy-policy/page.tsx

58 lines
2.2 KiB
TypeScript
Raw Normal View History

2024-07-01 09:56:01 +02:00
import { PRIVACY_POLICY } from "@/constants/guidelines";
2024-06-15 19:24:54 +02:00
import React from "react";
2024-07-01 09:56:01 +02:00
import ReactMarkdown from "react-markdown";
2024-06-15 19:24:54 +02:00
2024-07-01 11:24:24 +02:00
import { Metadata } from "next";
2024-08-01 16:32:57 +02:00
// baseURL [ENV]
2024-07-01 11:24:24 +02:00
export const metadata: Metadata = {
title: "Privacy Policy - SVRJS",
2024-08-01 16:32:57 +02:00
description:
"Experience unparalleled flexibility with SVR.JS - the ultimate web server for Node.js. Host web pages, run server-side JavaScript, utilize mods for extended functionality, and more. Integrated log viewer and user management tools included. Also supports Bun (experimental).",
openGraph: {
title: "SVRJS - A Web Server running on Node.js",
description:
"Experience unparalleled flexibility with SVR.JS - the ultimate web server for Node.js. Host web pages, run server-side JavaScript, utilize mods for extended functionality, and more. Integrated log viewer and user management tools included. Also supports Bun (experimental).",
url: "https://svrjs.org",
type: "website",
images: [
{
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
width: 800,
height: 600,
alt: "SVRJS - A Web Server running on Node.js",
},
],
},
twitter: {
card: "summary_large_image",
site: "@SVR_JS",
title: "SVRJS - A Web Server running on Node.js",
description:
"Experience unparalleled flexibility with SVR.JS - the ultimate web server for Node.js. Host web pages, run server-side JavaScript, utilize mods for extended functionality, and more. Integrated log viewer and user management tools included. Also supports Bun (experimental).",
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],
creator: "@SVR_JS",
},
2024-07-01 11:24:24 +02:00
};
2024-06-15 19:24:54 +02:00
const PrivacyPolicy = () => {
2024-06-30 20:42:13 +02:00
return (
<section
id="privacy-policy"
className="wrapper container py-24 md:py-28 gap-2 flex flex-col"
2024-06-30 20:42:13 +02:00
>
<h1 className="text-3xl md:text-5xl pb-1 md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400">
Privacy Policy
</h1>
<p className="md:text-lg text-muted-foreground text-start mb-6">
2024-07-10 08:10:55 +02:00
Effective date: 26.05.2024
</p>
<div className="prose max-w-full md:prose-lg dark:prose-invert">
2024-07-01 09:56:01 +02:00
<ReactMarkdown>{PRIVACY_POLICY}</ReactMarkdown>
</div>
2024-06-30 20:42:13 +02:00
</section>
);
2024-06-15 19:24:54 +02:00
};
export default PrivacyPolicy;