diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest index 2aaf080..6d10fb7 100644 --- a/public/manifest.webmanifest +++ b/public/manifest.webmanifest @@ -1,7 +1,7 @@ { "name": "Городар", "short_name": "Городар", - "description": "Коллекция городских объектов. Приезжайте на место, снимайте — объект попадёт в вашу коллекцию.", + "description": "Открывайте города с Городаром: находите достопримечательности на карте, посещайте их и фотографируйте, чтобы пополнять личную коллекцию.", "lang": "ru", "dir": "ltr", "display": "standalone", diff --git a/src/app/app.scss b/src/app/app.scss index d7030cd..ffd07d5 100644 --- a/src/app/app.scss +++ b/src/app/app.scss @@ -11,6 +11,12 @@ background: var(--color-bg); } +@media (display-mode: standalone) { + .app { + padding-top: env(safe-area-inset-top); + } +} + .app__main { flex: 1; min-height: 0; diff --git a/src/app/claim/photo-fail/photo-fail.ts b/src/app/claim/photo-fail/photo-fail.ts index 916d7c4..c070115 100644 --- a/src/app/claim/photo-fail/photo-fail.ts +++ b/src/app/claim/photo-fail/photo-fail.ts @@ -1,4 +1,12 @@ -import { afterNextRender, ChangeDetectionStrategy, Component, computed, input, output, signal } from '@angular/core'; +import { + afterNextRender, + ChangeDetectionStrategy, + Component, + computed, + input, + output, + signal, +} from '@angular/core'; import { Icon } from '../../shared/icon/icon'; @@ -22,9 +30,9 @@ export class PhotoFail { protected readonly shownPercent = signal(0); protected readonly tips = [ - 'Встаньте так, чтобы собор попал в кадр целиком.', - 'Снимайте при хорошем свете, без пальцев в кадре.', - 'Ориентируйтесь на примеры фото в карточке объекта.', + 'Фотографируйте из точки указанной карте.', + 'Постарайтесь чтобы объект попал в кадр полностью.', + 'Снимайте при хорошем свете, без пальце в кадре.', ]; constructor() { diff --git a/src/app/pages/city-page/city-page.scss b/src/app/pages/city-page/city-page.scss index 090d2e1..69a2ed5 100644 --- a/src/app/pages/city-page/city-page.scss +++ b/src/app/pages/city-page/city-page.scss @@ -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; diff --git a/src/app/pages/collections-page/collections-page.html b/src/app/pages/collections-page/collections-page.html index d82c830..bd765e6 100644 --- a/src/app/pages/collections-page/collections-page.html +++ b/src/app/pages/collections-page/collections-page.html @@ -3,7 +3,12 @@

{{ accountEmail() }}

-