implemented receive and reset in sender
This commit is contained in:
parent
96340622d8
commit
88abc6d3de
24 changed files with 240 additions and 73 deletions
|
|
@ -0,0 +1,20 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: 'app-home',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './home.component.html',
|
||||
styleUrl: './home.component.css'
|
||||
})
|
||||
export class HomeComponent {
|
||||
constructor(private router: Router) {}
|
||||
redirectToSender() {
|
||||
this.router.navigate(['/sender'])
|
||||
}
|
||||
|
||||
redirectToReceiver() {
|
||||
this.router.navigate(['/receiver'])
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue