photos
This commit is contained in:
parent
0bb889bc40
commit
1b51cb5787
@ -1,5 +1,5 @@
|
|||||||
<div class="container position-relative shadow p-0 mb-5 bg-body rounded rounded m-5 rounded-top "
|
<div class="container position-relative shadow p-0 mb-5 bg-body rounded rounded m-5 rounded-top "
|
||||||
style="width: 21rem;">
|
style="width: 22rem;">
|
||||||
<img class="card-img-top " src="assets/ImagesRestos/photo.jpg" alt="Card image cap">
|
<img class="card-img-top " src="assets/ImagesRestos/photo.jpg" alt="Card image cap">
|
||||||
<div class="rond position-absolute">
|
<div class="rond position-absolute">
|
||||||
<app-icon class="heart"
|
<app-icon class="heart"
|
||||||
@ -21,7 +21,7 @@
|
|||||||
<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 ">
|
||||||
<ul class="avis-star d-flex flex-row ps-1 pt-3 pe-0 pb-0 mb-0 ">
|
<ul class="avis-star d-flex flex-row ps-1 pt-3 pe-0 pb-2 mb-0 ">
|
||||||
<li class="star pe-2"><i class="bi bi-star-fill"></i></li>
|
<li class="star pe-2"><i class="bi bi-star-fill"></i></li>
|
||||||
<li class="star pe-2"><i class="bi bi-star-fill"></i></li>
|
<li class="star pe-2"><i class="bi bi-star-fill"></i></li>
|
||||||
<li class="star pe-2"><i class="bi bi-star-fill"></i></li>
|
<li class="star pe-2"><i class="bi bi-star-fill"></i></li>
|
||||||
@ -30,35 +30,34 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<span class="ps-3 mt-3 " style="font-size: 1.1em; color:#545454">5/5</span>
|
<span class="ps-3 mt-3 " style="font-size: 1.1em; color:#545454">5/5</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="infos ps-1 pt-2" style="color:#545454">
|
|
||||||
<div>
|
<div>
|
||||||
<span class="categorie pe-4" style="font-style: italic;" *ngFor="let categorie of restaurant.typerestaus">{{ categorie.libelle }}</span>
|
<span class="categorie ps-1 pe-4" style="font-style: italic;" *ngFor="let categorie of restaurant.typerestaus">{{ categorie.libelle }}</span>
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<i class="fas fa-walking ps-2 pe-1" style="color:#a8a8a8"></i>
|
|
||||||
<span class="categorie pe-4" style="font-weight: bold;">{{distance}} mètres</span>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<i class="fas fa-euro-sign ps-2 pe-1" style="color:#a8a8a8"></i>
|
|
||||||
<span class="prix" style="font-weight: bold;">5-10€</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="trait-rouge pt-3"></div>
|
<div class="trait-rouge pt-3"></div>
|
||||||
|
<div class="infos pt-2" style="color:#545454">
|
||||||
|
|
||||||
<div *ngIf="restaurant.website; else noWebsite">
|
<i class="fas fa-walking ps-2 pe-2" style="color:#a8a8a8"></i>
|
||||||
<p class="description pt-3 ps-1 pe-1 text-justify d-block" style="font-size:0.9em; color:#545454">
|
<span class="categorie pe-2" style="font-weight: bold;">{{distance}}m</span>
|
||||||
<a href="{{restaurant.website}}" class="description pe-1" style="font-style: italic;font-weight: bold;">Site Web</a>
|
|
||||||
|
|
||||||
|
<i class="fas fa-euro-sign ps-2 pe-2" style="color:#a8a8a8"></i>
|
||||||
|
<span class="prix" style="font-weight: bold;">5-10€</span>
|
||||||
|
|
||||||
|
<div class="d-inline-flex" *ngIf="restaurant.website; else noWebsite">
|
||||||
|
<p class="description pt-3 ps-2 pe-1"><i class="bi bi-globe2 ps-2 pe-2" style="color:#a8a8a8"></i>
|
||||||
|
<a href="{{restaurant.website}}" class="description text-decoration-none pe-1" style="font-style: italic;font-weight: bold; color:#545454">Site Web</a>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- le else de notre *ngIf plus haut-->
|
<!-- le else de notre *ngIf plus haut-->
|
||||||
<ng-template #noWebsite class="description pe-1" style="font-style: italic;font-weight: bold;">
|
<ng-template #noWebsite>
|
||||||
<div>
|
<div class="d-inline-flex">
|
||||||
<p class="description pt-3 ps-1 pe-1 text-justify d-block" style="font-size:0.9em; color:#545454"> Pas de site Web </p>
|
<p class="description pt-3 ps-3 pe-1 " style="font-size:1.9vh ;color:#545454"> Pas de site Web </p>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<!-- ------------------------------------ -->
|
<!-- ------------------------------------ -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="trait-rouge pt-2 pb-0"></div>
|
<div class="trait-rouge pt-2 pb-0"></div>
|
||||||
<div class="critere ps-1 pt-3">
|
<div class="critere ps-1 pt-3">
|
||||||
|
@ -34,18 +34,19 @@
|
|||||||
}
|
}
|
||||||
.accordion-button.collapsed {
|
.accordion-button.collapsed {
|
||||||
background: #CE0000;
|
background: #CE0000;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.accordion-button.collapsed::after {
|
.accordion-button.collapsed::after {
|
||||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ps-5 {
|
.ps-5 {
|
||||||
padding-left: 6.4rem !important;
|
padding-left: 7.3rem !important;
|
||||||
}
|
}
|
||||||
.pe-5 {
|
.pe-5 {
|
||||||
padding-right: 6rem !important;
|
padding-right: 6.8rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div (mouseleave)="onMouseLeave()">
|
<div (mouseleave)="onMouseLeave()">
|
||||||
<app-icon *ngFor="let star of starStates; let starIndex = index"
|
<app-icon *ngFor="let star of starStates; let starIndex = index"
|
||||||
[iconName]="star.stateHoverUser ? 'bi-star-fill' : 'bi-star'"
|
[iconName]="star.stateHoverUser ? 'star-fill' : 'star'"
|
||||||
[iconSize]="2.5"
|
[iconSize]="2.5"
|
||||||
[iconColor]="'#ffbf00'"
|
[iconColor]="'#ffbf00'"
|
||||||
style="padding: 6px;"
|
style="padding: 6px;"
|
||||||
|
BIN
src/assets/ImagesCategory/Bistrot.png
Normal file
BIN
src/assets/ImagesCategory/Bistrot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 173 KiB |
BIN
src/assets/ImagesCategory/Poulet.png
Normal file
BIN
src/assets/ImagesCategory/Poulet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 157 KiB |
Loading…
Reference in New Issue
Block a user