-
-
+
+
-
Latest News
-
-
-
-
+ Latest News
+
+
+
+
-
Upcoming Events
-
-
-
+ Upcoming Events
+
+
+
-
-
+
+
diff --git a/react-app/src/pages/PrivacyPage.tsx b/react-app/src/pages/PrivacyPage.tsx
new file mode 100644
index 0000000..da9e563
--- /dev/null
+++ b/react-app/src/pages/PrivacyPage.tsx
@@ -0,0 +1,80 @@
+import React, { ReactElement } from 'react';
+import { useMatomo } from '@jonkoops/matomo-tracker-react';
+import TextBarComponent from '../components/TextBarComponent';
+import {
+ BODY_CLASSES,
+ BUTTON_TYPE_ONE,
+ BUTTON_TYPE_TWO,
+ HEADER_ONE,
+ PAGE_DESCRIPTION_TEXT_BAR_CLASSES,
+} from '../constants';
+import { Link } from 'react-router-dom';
+import { ILink } from '../interfaces/types';
+
+export default function PrivacyPage(): ReactElement {
+ const { trackPageView,} = useMatomo()
+
+ // Track page view
+ React.useEffect(() => {
+ trackPageView()
+ }, [])
+
+ var textBarContent: string = "Transparency is one of our guiding principles. Get acquainted with how we're creating a secure space for you.";
+ var privacyDescription: string = `
+ Ut rhoncus ante in metus lobortis, eu euismod magna dignissim. Duis nec condimentum purus.
+ Quisque urna enim, placerat non fermentum sed, pharetra sit amet quam. Ut rhoncus ante in metus lobortis,
+ eu euismod magna dignissim. Duis nec condimentum purus. Quisque urna enim, placerat non fermentum sed,
+ pharetra sit amet quam. Ut rhoncus ante in metus lobortis, eu euismod magna dignissim. Duis nec condimentum purus.
+ Quisque urna enim, placerat non fermentum sed, pharetra sit amet quam. Ut rhoncus ante in metus lobortis,
+ eu euismod magna dignissim. Duis nec condimentum purus. Quisque urna enim, placerat non fermentum sed,
+ pharetra sit amet quam. Ut rhoncus ante in metus lobortis, eu euismod magna dignissim. Duis nec condimentum purus.
+ Quisque urna enim, placerat non fermentum sed, pharetra sit amet quam. Ut rhoncus ante in metus lobortis, eu euismod magna dignissim.
+ Duis nec condimentum purus. Quisque urna enim, placerat non fermentum sed, pharetra sit amet quam. Ut rhoncus ante in metus lobortis,
+ eu euismod magna dignissim. Duis nec condimentum purus. Quisque urna enim, placerat non fermentum sed, pharetra sit amet quam.
+ `;
+ var trackingMessage: string = `
+ We want to inform you that whenever you visit this website, we collect information that
+ your browser sends to us which includes: the website from which you visited us from,
+ the parts of the website you visit, the date and duration of your visit, your anonymised IP address,
+ information from the device (device type, operating system, screen resolution, language, country you are located in, and web browser type)
+ you used during your visit, and more. We process this usage data in Matomo Analytics (hosted on SciLifeLab servers and operated solely by SciLifeLab)
+ for statistical purposes, to improve the product and to recognize and stop any misuse.
+ `;
+
+ var breadcrumbs: { [id: string] : ILink; } = {
+ 'l1': { text: 'Home', classes: '', link: '/' },
+ 'l2': { text: 'Privacy', classes: '', link: '' },
+ };
+
+ var dividers: string[] = ['Default', 'Default'];
+
+ var alertMessage: string = "we use cookies for no reason.";
+
+ return (
+ <>
+
+
+
+
+ {Object.keys(breadcrumbs).map( key => (
+ - {breadcrumbs[key].link ? {breadcrumbs[key].text} : <>{breadcrumbs[key].text}>}
+ ))}
+
+
+
Privacy Policy
+
{dividers[0]}
+
{privacyDescription}
+
{dividers[1]}
+
{trackingMessage}
+
+
+
{alertMessage}
+
+
+
+
+
+
+ >
+ );
+}
\ No newline at end of file