From 74fe39829d93386223a6247508f424f512b83759 Mon Sep 17 00:00:00 2001 From: Kirill Date: Mon, 25 May 2026 16:28:03 +0500 Subject: [PATCH] =?UTF-8?q?=D1=8B=D0=B2=D0=B2=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/entities/product/ui/ProductCard.tsx | 3 --- client/src/pages/about/ui/AboutPage.tsx | 4 ++-- .../pages/privacy-policy/ui/PrivacyPolicyPage.tsx | 11 ++--------- client/src/pages/terms/ui/TermsPage.tsx | 12 ++---------- 4 files changed, 6 insertions(+), 24 deletions(-) diff --git a/client/src/entities/product/ui/ProductCard.tsx b/client/src/entities/product/ui/ProductCard.tsx index ca16f09..a56766d 100644 --- a/client/src/entities/product/ui/ProductCard.tsx +++ b/client/src/entities/product/ui/ProductCard.tsx @@ -9,7 +9,6 @@ import Chip from '@mui/material/Chip' import Stack from '@mui/material/Stack' import Typography from '@mui/material/Typography' import { useNavigate } from 'react-router-dom' -import { Autoplay } from 'swiper/modules' import { Swiper, SwiperSlide } from 'swiper/react' import 'swiper/css' import type { Product } from '@/entities/product/model/types' @@ -84,8 +83,6 @@ const ProductCardInner = ({ product, mediaHeight = 200, actions }: Props) => { onSwiper={(s) => { swiperRef.current = s }} - modules={isMobile ? [Autoplay] : undefined} - autoplay={isMobile ? { delay: 3000, disableOnInteraction: false, pauseOnMouseEnter: true } : undefined} allowTouchMove={!isMobile} style={{ width: '100%', height: mediaHeight }} > diff --git a/client/src/pages/about/ui/AboutPage.tsx b/client/src/pages/about/ui/AboutPage.tsx index 7a31de1..4d7853d 100644 --- a/client/src/pages/about/ui/AboutPage.tsx +++ b/client/src/pages/about/ui/AboutPage.tsx @@ -42,10 +42,10 @@ export function AboutPage() { ВКонтакте - Забрать заказ можно по адресу самовывоза: + Забрать заказ можно по адресу: {PICKUP_ADDRESS_FULL} - Перед визитом мы свяжемся с вами и согласуем время — чтобы заказ точно был готов к выдаче. + Перед визитом согласуйте время — чтобы заказ точно был готов к выдаче. diff --git a/client/src/pages/privacy-policy/ui/PrivacyPolicyPage.tsx b/client/src/pages/privacy-policy/ui/PrivacyPolicyPage.tsx index c418bab..f194b93 100644 --- a/client/src/pages/privacy-policy/ui/PrivacyPolicyPage.tsx +++ b/client/src/pages/privacy-policy/ui/PrivacyPolicyPage.tsx @@ -1,17 +1,10 @@ import Box from '@mui/material/Box' import Paper from '@mui/material/Paper' import Typography from '@mui/material/Typography' -import { - STORE_EMAIL, - STORE_OP_NAME, - STORE_OP_TYPE, - STORE_OP_INN, - STORE_OP_ADDR, - STORE_PUBLIC_SITE_URL, -} from '@/shared/config' +import { STORE_EMAIL, STORE_OP_NAME, STORE_OP_TYPE, STORE_OP_INN, STORE_OP_ADDR } from '@/shared/config' import { usePageTitle } from '@/shared/lib/use-page-title' -const SITE_URL = STORE_PUBLIC_SITE_URL || (typeof window !== 'undefined' ? window.location.origin : '') +const SITE_URL = 'https://любимыйкреатив.рф' const OP_FULL = `${STORE_OP_NAME} (${STORE_OP_TYPE})` diff --git a/client/src/pages/terms/ui/TermsPage.tsx b/client/src/pages/terms/ui/TermsPage.tsx index 2c40c61..d19d683 100644 --- a/client/src/pages/terms/ui/TermsPage.tsx +++ b/client/src/pages/terms/ui/TermsPage.tsx @@ -1,18 +1,10 @@ import Box from '@mui/material/Box' import Paper from '@mui/material/Paper' import Typography from '@mui/material/Typography' -import { - STORE_EMAIL, - STORE_PHONE, - STORE_PUBLIC_SITE_URL, - STORE_OP_NAME, - STORE_OP_TYPE, - STORE_OP_INN, - STORE_OP_ADDR, -} from '@/shared/config' +import { STORE_EMAIL, STORE_PHONE, STORE_OP_NAME, STORE_OP_TYPE, STORE_OP_INN, STORE_OP_ADDR } from '@/shared/config' import { usePageTitle } from '@/shared/lib/use-page-title' -const SITE_URL = STORE_PUBLIC_SITE_URL || (typeof window !== 'undefined' ? window.location.origin : '') +const SITE_URL = 'https://любимыйкреатив.рф' const OP_FULL = `${STORE_OP_NAME} (${STORE_OP_TYPE})`