Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 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 36 37 38 39 40 41 42 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | @if (item) {
<div class="city-outer card p-2">
<div class="city-box">
<div class="city-image" style="position: relative">
<div class="box">
<img
width="264"
height="300"
class="img-fluid img-responsive"
[src]="item.img_mob"
[alt]="item.alt"
placeholder
style="height: 300px; object-fit: cover; border-radius: 12px"
/>
</div>
</div>
<div>
<div>
<p class="name">{{ item.name }}</p>
<p class="desc" [ngStyle]="{ 'max-height': showSummaryDetail ? '100%' : '100px' }" style="overflow: hidden">
{{ item.desc }}
</p>
</div>
<div class="d-flex align-items-center pointer" (click)="showSummaryDetail = !showSummaryDetail">
<img
loading="lazy"
src="/assets/images/arrow-right-circle.svg"
width="20px"
height="20px"
class="mb-3 link"
[ngStyle]="{
transform: showSummaryDetail ? 'rotate(270deg)' : 'rotate(90deg)',
transition: 'transform 0.3s ease',
}"
alt="arrow-toggle"
/>
</div>
</div>
</div>
</div>
}
|