23 lines
560 B
TypeScript
23 lines
560 B
TypeScript
import { Component, inject } from '@angular/core';
|
|
import { MatCardModule } from '@angular/material/card';
|
|
import { RouterLink } from '@angular/router';
|
|
|
|
import { environment } from '../app.environment';
|
|
import { AuthService } from '../auth/auth.service';
|
|
|
|
@Component({
|
|
selector: 'app-home',
|
|
templateUrl: './home.component.html',
|
|
styleUrls: ['./home.component.css'],
|
|
imports: [MatCardModule, RouterLink],
|
|
})
|
|
export class HomeComponent {
|
|
auth = inject(AuthService);
|
|
|
|
version: string;
|
|
|
|
constructor() {
|
|
this.version = environment.version;
|
|
}
|
|
}
|