Hide the homepage hero photo on mobile so only the banner text remains.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alexey Novikov
2026-09-16 18:11:12 +03:00
co-authored by Cursor
parent dc13a68c25
commit 76b6e323dc
6 changed files with 13 additions and 6 deletions
+7
View File
@@ -2,6 +2,12 @@
Формат основан на [Keep a Changelog](https://keepachangelog.com/ru/1.1.0/), версии — [SemVer](https://semver.org/lang/ru/). Формат основан на [Keep a Changelog](https://keepachangelog.com/ru/1.1.0/), версии — [SemVer](https://semver.org/lang/ru/).
## [1.0.2] — 2026-09-16
### Сайт
- На мобильной версии скрыт фото-/видеоблок главного баннера, текст и переключение слайдов остаются
## [1.0.1] — 2026-09-16 ## [1.0.1] — 2026-09-16
### Сайт ### Сайт
@@ -31,5 +37,6 @@
- Docker Compose для локальной БД - Docker Compose для локальной БД
- Секреты и логины в git не входят - Секреты и логины в git не входят
[1.0.2]: https://git.myunion.pro/Alex/Moniki_uslugi/src/tag/v1.0.2
[1.0.1]: https://git.myunion.pro/Alex/Moniki_uslugi/src/tag/v1.0.1 [1.0.1]: https://git.myunion.pro/Alex/Moniki_uslugi/src/tag/v1.0.1
[1.0.0]: https://git.myunion.pro/Alex/Moniki_uslugi/src/tag/v1.0.0 [1.0.0]: https://git.myunion.pro/Alex/Moniki_uslugi/src/tag/v1.0.0
+1 -1
View File
@@ -4,7 +4,7 @@
Репозиторий: [Moniki_uslugi](https://git.myunion.pro/Alex/Moniki_uslugi) на [git.myunion.pro](https://git.myunion.pro/). Репозиторий: [Moniki_uslugi](https://git.myunion.pro/Alex/Moniki_uslugi) на [git.myunion.pro](https://git.myunion.pro/).
Текущая версия: **v1.0.1** (см. [CHANGELOG.md](CHANGELOG.md)). Текущая версия: **v1.0.2** (см. [CHANGELOG.md](CHANGELOG.md)).
## Что внутри ## Что внутри
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@moniki/cms", "name": "@moniki/cms",
"version": "1.0.1", "version": "1.0.2",
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@moniki/web", "name": "@moniki/web",
"version": "1.0.1", "version": "1.0.2",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev -p 3000", "dev": "next dev -p 3000",
@@ -121,7 +121,7 @@ export function HeroCarousel({ banners }: { banners: HeroBanner[] }) {
))} ))}
<div data-decorative className="hero-scrim pointer-events-none absolute inset-0" aria-hidden /> <div data-decorative className="hero-scrim pointer-events-none absolute inset-0" aria-hidden />
<div className="relative mx-auto grid min-h-[calc(100vh-var(--header-h))] max-w-6xl items-center gap-10 px-4 py-16 sm:px-6 lg:grid-cols-2 lg:gap-14 lg:py-20"> <div className="relative mx-auto grid max-w-6xl items-center gap-6 px-4 py-12 sm:px-6 lg:min-h-[calc(100vh-var(--header-h))] lg:grid-cols-2 lg:gap-14 lg:py-20">
<div className="hero-copy max-w-xl rounded-[28px] p-6 sm:p-8"> <div className="hero-copy max-w-xl rounded-[28px] p-6 sm:p-8">
<p className="text-4xl font-extrabold tracking-tight text-[var(--brand-700)] sm:text-5xl lg:text-6xl"> <p className="text-4xl font-extrabold tracking-tight text-[var(--brand-700)] sm:text-5xl lg:text-6xl">
{current.eyebrow || t("brand")} {current.eyebrow || t("brand")}
@@ -171,7 +171,7 @@ export function HeroCarousel({ banners }: { banners: HeroBanner[] }) {
</div> </div>
<div className="relative"> <div className="relative">
<div className="relative aspect-[4/5] overflow-hidden rounded-[28px] shadow-[0_24px_80px_-32px_rgba(15,118,110,0.45)] sm:aspect-[5/6]"> <div className="relative hidden aspect-[4/5] overflow-hidden rounded-[28px] shadow-[0_24px_80px_-32px_rgba(15,118,110,0.45)] sm:aspect-[5/6] lg:block">
{slides.map((slide, i) => { {slides.map((slide, i) => {
const active = i === index; const active = i === index;
const playing = playingId === slide.id && active; const playing = playingId === slide.id && active;
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "moniki-platnye-uslugi", "name": "moniki-platnye-uslugi",
"version": "1.0.1", "version": "1.0.2",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "pnpm -r --parallel dev", "dev": "pnpm -r --parallel dev",