Update index.tsx

This commit is contained in:
Stefan Pejcic 2024-03-01 11:07:21 +01:00 committed by GitHub
parent 5f688d32b8
commit 31d92bcac0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,9 +1,13 @@
import React from "react"; // Import React and necessary components from Docusaurus and other packages
import Head from "@docusaurus/Head"; import React from 'react';
import { BlogFooter } from "@site/src/refine-theme/blog-footer"; import Head from '@docusaurus/Head';
import { CommonHeader } from "@site/src/refine-theme/common-header"; import { BlogFooter } from '@site/src/refine-theme/blog-footer';
import { CommonLayout } from "@site/src/refine-theme/common-layout"; import { CommonHeader } from '@site/src/refine-theme/common-header';
import clsx from "clsx"; import { CommonLayout } from '@site/src/refine-theme/common-layout';
import clsx from 'clsx';
// Import the Markdown file as a React component
import PrivacyContent from '@site/src/pages/privacy-policy/privacy.md';
const PrivacyPolicy: React.FC = () => { const PrivacyPolicy: React.FC = () => {
return ( return (
@ -15,42 +19,13 @@ const PrivacyPolicy: React.FC = () => {
<CommonHeader hasSticky={true} /> <CommonHeader hasSticky={true} />
<div className="flex-1 flex flex-col pt-8 lg:pt-16 pb-32 max-w-[800px] w-full mx-auto px-2"> <div className="flex-1 flex flex-col pt-8 lg:pt-16 pb-32 max-w-[800px] w-full mx-auto px-2">
<h1>Privacy Policy</h1> {/* Render the imported Markdown content as a component */}
<p>Last updated: March 01, 2024</p> <PrivacyContent />
<p>
OpenPanel is committed to protecting your privacy and any personal information you share with us. Accordingly, we have developed this privacy policy in order for you to understand how we collect, use, communicate, disclose and otherwise make use of personal information.
</p>
<p>
We have outlined our privacy policy below. It is recommended that you read this privacy policy carefully. If you have additional questions or would like further information on this topic, please feel free to contact us.
</p>
</p>
<h2 style={{ marginTop: 0 }}>ABOUT OPENPANEL</h2>
<p>
OpenPanel is the controller for the processing of your personal data, as described in this privacy policy. Our company particulars are:
</p>
<p>
We will let You know via email and/or a prominent notice
on Our Service, prior to the change becoming effective
and update the &quot;Last updated&quot; date at the top
of this Privacy Policy.
</p>
<p>
You are advised to review this Privacy Policy
periodically for any changes. Changes to this Privacy
Policy are effective when they are posted on this page.
</p>
<h1>Contact Us</h1>
<p>
If you have any questions about this Privacy Policy, You
can contact us:
</p>
<ul>
<li>By email: info@refine.dev</li>
</ul>
</div> </div>
<BlogFooter /> <BlogFooter />
</div> </div>
</CommonLayout> </CommonLayout>
); );
}; };
export default PrivacyPolicy; export default PrivacyPolicy;