add fix after review

This commit is contained in:
2026-10-11 16:30:04 +03:00
parent 41c5f81027
commit 5e266c0ebd
9 changed files with 66 additions and 33 deletions
+1 -15
View File
@@ -215,6 +215,7 @@
width: 96px;
height: 96px;
object-fit: contain;
pointer-events: none;
}
.card__rays {
@@ -273,21 +274,6 @@
}
}
@media (hover: none) {
.card:active .card__preview--open .card__rays {
opacity: 1;
animation: spin 12s linear infinite;
}
.card:active .card__preview--open img {
animation: pop 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.card:active .card__preview--open .card__spark {
opacity: 1;
}
}
.card__body {
display: flex;
flex: 1;
@@ -3,7 +3,12 @@
<header class="account">
<p class="account__email">{{ accountEmail() }}</p>
<div class="account__actions">
<button class="account__action" type="button" aria-label="Документы" (click)="openDocuments()">
<button
class="account__action"
type="button"
aria-label="Документы"
(click)="openDocuments()"
>
<app-icon name="document" [size]="22" />
</button>
<button class="account__action" type="button" aria-label="Выйти" (click)="logout()">
@@ -18,11 +23,11 @@
}
<div class="page__intro">
<h1>Вся коллекция</h1>
<p>Достопримечательности по городам и странам</p>
<h1>Моя коллекция</h1>
<p>Достопримечательности которые вы открыли</p>
</div>
<section class="summary">
<section class="summary" style="margin-bottom: 16px">
<div>
<b>{{ openedCount() }}</b>
<span>{{ objectsLabel() }}</span>
@@ -33,12 +38,14 @@
</div>
</section>
<p class="section-label">Мои города</p>
@if (packs().length > 0) {
@for (pack of packs(); track pack.area.id) {
<article class="pack">
<a class="pack__head" [routerLink]="['/city', pack.area.id]" [attr.aria-label]="'Объекты: ' + pack.area.name">
<a
class="pack__head"
[routerLink]="['/city', pack.area.id]"
[attr.aria-label]="'Объекты: ' + pack.area.name"
>
<div>
<h2>{{ pack.area.name }}</h2>
<p>Собрано {{ pack.opened }} из {{ pack.total }}</p>
@@ -71,9 +71,10 @@
<section>
<h2>Как забрать</h2>
<ol class="steps">
<li>Приезжайте на место и найдите объект</li>
<li>Нажмите «Забрать» и сфотографируйте объект</li>
<li>Получите объект в свою коллекцию</li>
<li>Приезжайте на место и найдите объект.</li>
<li>Нажмите «Забрать» и сфотографируйте объект.</li>
<li>Получите объект в свою коллекцию.</li>
<li>Встаньте на точку отмеченную на карте.</li>
</ol>
</section>
</div>