Spaces:
Sleeping
Sleeping
| import {Component, Input, OnInit} from '@angular/core'; | |
| import {MatCard, MatCardContent} from "@angular/material/card"; | |
| import {NgIf} from "@angular/common"; | |
| import {RouterLink} from "@angular/router"; | |
| import {MatButton} from "@angular/material/button"; | |
| ({ | |
| selector: 'app-about', | |
| standalone: true, | |
| imports: [ | |
| MatCard, | |
| MatCardContent, | |
| NgIf, | |
| RouterLink, | |
| MatButton | |
| ], | |
| templateUrl: './about.component.html', | |
| styleUrl: './about.component.css' | |
| }) | |
| export class AboutComponent implements OnInit{ | |
| () | |
| whatAbout = 'general'; | |
| constructor() { } | |
| ngOnInit() { | |
| if (this.whatAbout === undefined) { | |
| this.whatAbout = 'general'; | |
| } | |
| } | |
| } | |