First implementation of Tauri
This commit is contained in:
parent
9db004472a
commit
4ab83071bc
58 changed files with 16247 additions and 46 deletions
20
caesar-tauri-angular/src/app/home/home.component.ts
Normal file
20
caesar-tauri-angular/src/app/home/home.component.ts
Normal file
|
|
@ -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