modif card resto
This commit is contained in:
parent
ce1fe995b8
commit
db957edd2d
@ -16,8 +16,8 @@
|
||||
[attr.data-bs-target]="'#restaurant'+ restaurant.id" aria-expanded="true" aria-controls="collapseOne">
|
||||
PLUS D'INFOS</button>
|
||||
</h2>
|
||||
<div id="restaurant{{restaurant.id}}" class="accordion-collapse collapse" aria-labelledby="headingOne"
|
||||
data-bs-parent="#accordionExample">
|
||||
<div id="restaurant{{restaurant.id}}" class="accordion-collapse collapse" aria-labelledby="headingOne"
|
||||
data-bs-parent="#accordionExample">
|
||||
<div class=" body accordion-body">
|
||||
<strong>This is the first item's accordion body.</strong>
|
||||
<div class="star-icon d-flex justify-content-flex-start d-flex align-items-center pt-2 ">
|
||||
|
@ -13,7 +13,7 @@
|
||||
top: 7px;
|
||||
left: 13px;
|
||||
font-size: 1.5em;
|
||||
|
||||
transform: rotate(5deg);
|
||||
|
||||
|
||||
|
||||
|
@ -16,7 +16,7 @@ export class CardRestoComponent implements OnInit {
|
||||
|
||||
ngOnInit(): void {
|
||||
|
||||
console.log(this.restaurant);
|
||||
// console.log(this.restaurant);
|
||||
|
||||
}
|
||||
onClickLike() {
|
||||
|
@ -16,7 +16,7 @@ export class HomePageComponent implements OnInit {
|
||||
|
||||
ngOnInit(): void {
|
||||
this.apiBackService.getCategories().subscribe((listCategories: any[]) => {
|
||||
console.log(listCategories);
|
||||
// console.log(listCategories);
|
||||
|
||||
// const listCategoriesLibelle = listCategories.map(
|
||||
// (category) => category.libelle
|
||||
@ -25,7 +25,7 @@ export class HomePageComponent implements OnInit {
|
||||
this.listCategories = listCategories;
|
||||
|
||||
});
|
||||
console.log(this.apiBackService);
|
||||
// console.log(this.apiBackService);
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user