add fix with glb view on tab
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<p>Приезжайте на место, снимайте — объект попадёт в вашу коллекцию.</p>
|
||||
</div>
|
||||
|
||||
<div class="cities">
|
||||
<a class="city-card" routerLink="/city" [attr.aria-label]="city.name">
|
||||
<div class="city-card__top">
|
||||
<div>
|
||||
@@ -41,4 +42,12 @@
|
||||
}
|
||||
</div>
|
||||
</a>
|
||||
|
||||
@for (name of upcomingCities; track name) {
|
||||
<article class="city-card city-card--soon">
|
||||
<h2>{{ name }}</h2>
|
||||
<p>Скоро появится</p>
|
||||
</article>
|
||||
}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -76,6 +76,12 @@
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.cities {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.city-card {
|
||||
display: block;
|
||||
padding: 16px;
|
||||
@@ -85,6 +91,14 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.city-card--soon {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.city-card--soon h2 {
|
||||
color: var(--color-text-soft);
|
||||
}
|
||||
|
||||
.city-card__top {
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
|
||||
@@ -18,6 +18,7 @@ export class CitiesPage {
|
||||
private readonly store = inject(Store);
|
||||
|
||||
protected readonly city = this.catalog.city;
|
||||
protected readonly upcomingCities = ['Москва', 'Санкт-Петербург'];
|
||||
protected readonly collectedIds = this.store.selectSignal(selectCollectedIdSet);
|
||||
protected readonly openedCount = this.store.selectSignal(selectOpenedCount);
|
||||
protected readonly totalCount = this.city.objects.length;
|
||||
|
||||
@@ -51,10 +51,6 @@
|
||||
</div>
|
||||
<div class="picked__body">
|
||||
<h3>{{ landmark.title }}</h3>
|
||||
<span>
|
||||
<app-icon name="check" [size]="15" />
|
||||
Получен
|
||||
</span>
|
||||
</div>
|
||||
<span class="picked__bar" aria-hidden="true"></span>
|
||||
</a>
|
||||
|
||||
@@ -145,20 +145,11 @@
|
||||
|
||||
.picked__body h3 {
|
||||
margin: 0;
|
||||
min-height: 38px;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.picked__body span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: var(--color-accent-soft);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.picked__bar {
|
||||
height: 4px;
|
||||
background: var(--color-accent);
|
||||
|
||||
@@ -278,7 +278,11 @@
|
||||
width: 100%;
|
||||
min-height: 56px;
|
||||
overflow: visible;
|
||||
--mat-button-filled-container-color: #d4143f;
|
||||
--mat-button-filled-label-text-color: #fff;
|
||||
--mat-button-filled-container-shape: 16px;
|
||||
background-color: #d4143f;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.object__bar p {
|
||||
|
||||
Reference in New Issue
Block a user