modif card resto

This commit is contained in:
Your Name 2022-02-16 14:05:49 +01:00
parent ce1fe995b8
commit db957edd2d
4 changed files with 6 additions and 6 deletions

View File

@ -16,8 +16,8 @@
[attr.data-bs-target]="'#restaurant'+ restaurant.id" aria-expanded="true" aria-controls="collapseOne"> [attr.data-bs-target]="'#restaurant'+ restaurant.id" aria-expanded="true" aria-controls="collapseOne">
PLUS D'INFOS</button> PLUS D'INFOS</button>
</h2> </h2>
<div id="restaurant{{restaurant.id}}" class="accordion-collapse collapse" aria-labelledby="headingOne" <div id="restaurant{{restaurant.id}}" class="accordion-collapse collapse" aria-labelledby="headingOne"
data-bs-parent="#accordionExample"> data-bs-parent="#accordionExample">
<div class=" body accordion-body"> <div class=" body accordion-body">
<strong>This is the first item's accordion body.</strong> <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 "> <div class="star-icon d-flex justify-content-flex-start d-flex align-items-center pt-2 ">

View File

@ -13,7 +13,7 @@
top: 7px; top: 7px;
left: 13px; left: 13px;
font-size: 1.5em; font-size: 1.5em;
transform: rotate(5deg);

View File

@ -16,7 +16,7 @@ export class CardRestoComponent implements OnInit {
ngOnInit(): void { ngOnInit(): void {
console.log(this.restaurant); // console.log(this.restaurant);
} }
onClickLike() { onClickLike() {

View File

@ -16,7 +16,7 @@ export class HomePageComponent implements OnInit {
ngOnInit(): void { ngOnInit(): void {
this.apiBackService.getCategories().subscribe((listCategories: any[]) => { this.apiBackService.getCategories().subscribe((listCategories: any[]) => {
console.log(listCategories); // console.log(listCategories);
// const listCategoriesLibelle = listCategories.map( // const listCategoriesLibelle = listCategories.map(
// (category) => category.libelle // (category) => category.libelle
@ -25,7 +25,7 @@ export class HomePageComponent implements OnInit {
this.listCategories = listCategories; this.listCategories = listCategories;
}); });
console.log(this.apiBackService); // console.log(this.apiBackService);