This commit is contained in:
Kirill
2026-05-25 16:28:03 +05:00
parent e4012d8133
commit 74fe39829d
4 changed files with 6 additions and 24 deletions
@@ -9,7 +9,6 @@ import Chip from '@mui/material/Chip'
import Stack from '@mui/material/Stack' import Stack from '@mui/material/Stack'
import Typography from '@mui/material/Typography' import Typography from '@mui/material/Typography'
import { useNavigate } from 'react-router-dom' import { useNavigate } from 'react-router-dom'
import { Autoplay } from 'swiper/modules'
import { Swiper, SwiperSlide } from 'swiper/react' import { Swiper, SwiperSlide } from 'swiper/react'
import 'swiper/css' import 'swiper/css'
import type { Product } from '@/entities/product/model/types' import type { Product } from '@/entities/product/model/types'
@@ -84,8 +83,6 @@ const ProductCardInner = ({ product, mediaHeight = 200, actions }: Props) => {
onSwiper={(s) => { onSwiper={(s) => {
swiperRef.current = s swiperRef.current = s
}} }}
modules={isMobile ? [Autoplay] : undefined}
autoplay={isMobile ? { delay: 3000, disableOnInteraction: false, pauseOnMouseEnter: true } : undefined}
allowTouchMove={!isMobile} allowTouchMove={!isMobile}
style={{ width: '100%', height: mediaHeight }} style={{ width: '100%', height: mediaHeight }}
> >
+2 -2
View File
@@ -42,10 +42,10 @@ export function AboutPage() {
ВКонтакте ВКонтакте
</Link> </Link>
</Typography> </Typography>
<Typography sx={{ mb: 1, mt: 2 }}>Забрать заказ можно по адресу самовывоза:</Typography> <Typography sx={{ mb: 1, mt: 2 }}>Забрать заказ можно по адресу:</Typography>
<Typography sx={{ whiteSpace: 'pre-wrap', fontWeight: 600 }}>{PICKUP_ADDRESS_FULL}</Typography> <Typography sx={{ whiteSpace: 'pre-wrap', fontWeight: 600 }}>{PICKUP_ADDRESS_FULL}</Typography>
<Typography color="text.secondary" variant="body2" sx={{ mt: 1 }}> <Typography color="text.secondary" variant="body2" sx={{ mt: 1 }}>
Перед визитом мы свяжемся с вами и согласуем время чтобы заказ точно был готов к выдаче. Перед визитом согласуйте время чтобы заказ точно был готов к выдаче.
</Typography> </Typography>
</Paper> </Paper>
@@ -1,17 +1,10 @@
import Box from '@mui/material/Box' import Box from '@mui/material/Box'
import Paper from '@mui/material/Paper' import Paper from '@mui/material/Paper'
import Typography from '@mui/material/Typography' import Typography from '@mui/material/Typography'
import { import { STORE_EMAIL, STORE_OP_NAME, STORE_OP_TYPE, STORE_OP_INN, STORE_OP_ADDR } from '@/shared/config'
STORE_EMAIL,
STORE_OP_NAME,
STORE_OP_TYPE,
STORE_OP_INN,
STORE_OP_ADDR,
STORE_PUBLIC_SITE_URL,
} from '@/shared/config'
import { usePageTitle } from '@/shared/lib/use-page-title' 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})` const OP_FULL = `${STORE_OP_NAME} (${STORE_OP_TYPE})`
+2 -10
View File
@@ -1,18 +1,10 @@
import Box from '@mui/material/Box' import Box from '@mui/material/Box'
import Paper from '@mui/material/Paper' import Paper from '@mui/material/Paper'
import Typography from '@mui/material/Typography' import Typography from '@mui/material/Typography'
import { import { STORE_EMAIL, STORE_PHONE, STORE_OP_NAME, STORE_OP_TYPE, STORE_OP_INN, STORE_OP_ADDR } from '@/shared/config'
STORE_EMAIL,
STORE_PHONE,
STORE_PUBLIC_SITE_URL,
STORE_OP_NAME,
STORE_OP_TYPE,
STORE_OP_INN,
STORE_OP_ADDR,
} from '@/shared/config'
import { usePageTitle } from '@/shared/lib/use-page-title' 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})` const OP_FULL = `${STORE_OP_NAME} (${STORE_OP_TYPE})`