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/our-story/our-story.component.ts

23 lines
671 B

import { Component } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector: 'app-our-story',
templateUrl: './our-story.component.html',
styleUrl: './our-story.component.scss',
standalone: true,
})
export class OurStoryComponent {
constructor(private router: Router) {}
colin: string = 'assets/img/colin.png';
hugo: string = 'assets/img/hugo.png';
bastien: string = 'assets/img/bastien.png';
clement: string = 'assets/img/clement.png';
matis: string = 'assets/img/matis.png';
// Si click sur "Run", on redirige vers la page de notre histoire
onContinue(): void {
this.router.navigateByUrl('/our-story');
}
}