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();
+ }
}