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/terms-of-service/terms-of-service.component.ts

18 lines
473 B

import { Component } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector: 'app-terms-of-service',
templateUrl: './terms-of-service.component.html',
styleUrl: './terms-of-service.component.scss'
})
export class TermsOfServiceComponent {
constructor(private router: Router) { }
// Si click sur "Run", on redirige vers la page de termes de service
onContinue(): void {
this.router.navigateByUrl('/terms-of-service');
}
}