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

59 lines
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 = {
2024-09-07 09:39:26 +02:00
title: "Privacy Policy - SVR.JS",
description:
2024-11-25 08:42:23 +01:00
"Discover how we collect, use, and protect your data. Our Privacy Policy details our commitment to safeguarding your information on our website.",
2024-11-25 07:11:36 +01:00
alternates: { canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/privacy` },
openGraph: {
2024-09-07 09:39:26 +02:00
title: "Privacy Policy - SVR.JS",
description:
2024-11-25 08:42:23 +01:00
"Discover how we collect, use, and protect your data. Our Privacy Policy details our commitment to safeguarding your information on our website.",
url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/privacy`,
type: "website",
images: [
{
url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/metadata/svrjs-cover.png`,
width: 800,
height: 600,
2024-09-07 09:39:26 +02:00
alt: "Privacy Policy - SVR.JS"
}
]
},
twitter: {
card: "summary_large_image",
site: "@SVR_JS",
2024-09-07 09:39:26 +02:00
title: "Privacy Policy - SVR.JS",
description:
2024-11-25 08:42:23 +01:00
"Discover how we collect, use, and protect your data. Our Privacy Policy details our commitment to safeguarding your information on our website.",
images: [`${process.env.NEXT_PUBLIC_WEBSITE_URL}/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 = () => {
return (
<section
id="privacy-policy"
className="wrapper container py-24 md:py-28 gap-2 flex flex-col"
>
<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">
Effective date: September 7, 2024
</p>
<div className="prose max-w-full md:prose-lg dark:prose-invert">
<ReactMarkdown>{PRIVACY_POLICY}</ReactMarkdown>
</div>
</section>
);
2024-06-15 19:24:54 +02:00
};
export default PrivacyPolicy;