File size: 693 Bytes
1bc149f
 
 
17eace8
 
1bc149f
 
 
 
 
 
 
17eace8
 
 
1bc149f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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";

@Component({
  selector: 'app-about',
  standalone: true,
  imports: [
    MatCard,
    MatCardContent,
    NgIf,
    RouterLink,
    MatButton
  ],
  templateUrl: './about.component.html',
  styleUrl: './about.component.css'
})
export class AboutComponent implements OnInit{

  @Input()
  whatAbout = 'general';

  constructor() { }

  ngOnInit() {
    if (this.whatAbout === undefined) {
      this.whatAbout = 'general';
    }
  }


}