service api, page home, affiche categ,
install btsrap
This commit is contained in:
parent
4770bd2030
commit
e8a924144a
18 changed files with 166 additions and 9 deletions
|
|
@ -1 +1,7 @@
|
|||
<p>card-category works!</p>
|
||||
<div class="card" style="width: 18rem;">
|
||||
<img class="card-img-top" src="..." alt="Card image cap">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{ categoryData.libelle }}</h5>
|
||||
<a href="#" class="btn btn-primary">Go somewhere</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import { Component, OnInit } from '@angular/core';
|
||||
import { Component, Input, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-card-category',
|
||||
|
|
@ -7,6 +7,8 @@ import { Component, OnInit } from '@angular/core';
|
|||
})
|
||||
export class CardCategoryComponent implements OnInit {
|
||||
|
||||
@Input() categoryData : any;
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue