You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sandkasten-web/src/app/components/privacy-policy/privacy-policy.component.ts

20 lines
580 B

import { Component } from '@angular/core';
import { Router } from '@angular/router';
import { TranslateModule } from '@ngx-translate/core';
@Component({
selector: 'app-privacy-policy',
templateUrl: './privacy-policy.component.html',
styleUrl: './privacy-policy.component.scss',
standalone: true,
imports: [TranslateModule],
})
export class PrivacyPolicyComponent {
constructor(private router: Router) {}
// Si click sur "Run", on redirige vers la page de politique de confidentialité
onContinue(): void {
this.router.navigateByUrl('/privacy-policy');
}
}