From f79a69fdf2b6eeaf8c9e0013739cf0cd1727be4c Mon Sep 17 00:00:00 2001
From: Max
Date: Sun, 18 Feb 2024 12:27:25 +0100
Subject: [PATCH 1/2] Added Privacy Policy and Terms of Use
---
frontend/src/app/home/home.component.html | 65 ++++++++++++++++++++++-
frontend/src/app/home/home.component.ts | 20 +++++--
2 files changed, 80 insertions(+), 5 deletions(-)
diff --git a/frontend/src/app/home/home.component.html b/frontend/src/app/home/home.component.html
index 79d80ec..09a41f6 100644
--- a/frontend/src/app/home/home.component.html
+++ b/frontend/src/app/home/home.component.html
@@ -24,10 +24,73 @@
Data Privacy/Security
We prioritize data security and privacy consequently.
Files uploaded by our clients are securely stored on our servers for a maximum duration of one day,
- after which they are permanently deleted to guarantee the highest level of confidentiality and data protection.
+ after which they are permanently deleted to guarantee the highest level of confidentiality and data protection. Read more in our
+ Privacy Policy note.
+ By using SharePulse, you agree to the Terms of Use.
+
+
+
+

diff --git a/frontend/src/app/home/home.component.ts b/frontend/src/app/home/home.component.ts
index 3918a5e..1bcd8b8 100644
--- a/frontend/src/app/home/home.component.ts
+++ b/frontend/src/app/home/home.component.ts
@@ -1,15 +1,27 @@
-import { Component } from '@angular/core';
+import {Component, ElementRef, ViewChild} from '@angular/core';
import {RouterLink} from "@angular/router";
+import {FormsModule} from "@angular/forms";
@Component({
selector: 'app-home',
standalone: true,
- imports: [
- RouterLink
- ],
+ imports: [
+ RouterLink,
+ FormsModule
+ ],
templateUrl: './home.component.html',
styleUrl: './home.component.scss'
})
export class HomeComponent {
+ @ViewChild('privacy_policy_modal') privacy_policy_modal: ElementRef
| undefined;
+ @ViewChild('terms_of_use_modal') terms_of_use_modal: ElementRef | undefined;
+
+ openPrivacyPolicy() {
+ this.privacy_policy_modal?.nativeElement.showModal();
+ }
+
+ openTermsOfUse() {
+ this.terms_of_use_modal?.nativeElement.showModal();
+ }
}
From 257c72d4422edc49798dce7104738cb01f97632e Mon Sep 17 00:00:00 2001
From: Max
Date: Sun, 18 Feb 2024 12:28:56 +0100
Subject: [PATCH 2/2] Update home.component.html
---
frontend/src/app/home/home.component.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frontend/src/app/home/home.component.html b/frontend/src/app/home/home.component.html
index 09a41f6..2bdf784 100644
--- a/frontend/src/app/home/home.component.html
+++ b/frontend/src/app/home/home.component.html
@@ -44,7 +44,7 @@
Personal information collected by Sharepulse is used solely for data protection and is not processed.
Sharepulse will not sell, rent, or share personal information with third parties without user consent, except as required by law.
Users have the right to request the deletion of their data from Sharepulse's servers at any time.
- Sharepulse does NOT store any cookies on your device.
+ Sharepulse does not store any cookies on your device.
Operators do not view or manipulate uploaded files.
Users are encouraged to review the privacy policy periodically for any changes or updates.