diff --git a/src/views/home/ui/license/license.tsx b/src/views/home/ui/license/license.tsx index 766b366..1dc6fc5 100644 --- a/src/views/home/ui/license/license.tsx +++ b/src/views/home/ui/license/license.tsx @@ -2,7 +2,6 @@ import s from './license.module.scss'; import { Mark } from '@shared/ui'; import { LicenseForm, LicenseSlider } from '@/widgets'; -import emptyPaper from '@public/svg/empty-paper.svg'; import mcsLicense from '@public/images/license-mcs.jpg'; import eacLicense from '@public/images/license-dtr-eac.png'; @@ -23,20 +22,24 @@ const slides = [ id: '0', name: '', image: eacLicense, + fullSizeImage: './images/license-dtr-eac.png', }, { id: '1', name: '', image: mcsLicense, + fullSizeImage: './images/license-mcs.jpg', }, // { // id: '2', // name: '', // image: emptyPaper, + // fullSizeImage: emptyPaper, // }, // { // id: '3', // name: '', // image: emptyPaper, + // fullSizeImage: emptyPaper, // }, ]; diff --git a/src/views/home/ui/main/main.module.scss b/src/views/home/ui/main/main.module.scss index 170d829..7dd067c 100644 --- a/src/views/home/ui/main/main.module.scss +++ b/src/views/home/ui/main/main.module.scss @@ -166,7 +166,6 @@ font-size: rem(24px); line-height: 120%; color: $color-white; - //max-width: rem(960px); @include iftablet { font-size: rem(28px); diff --git a/src/views/home/ui/offer/offer.tsx b/src/views/home/ui/offer/offer.tsx index 1273d22..a5109f3 100644 --- a/src/views/home/ui/offer/offer.tsx +++ b/src/views/home/ui/offer/offer.tsx @@ -1,4 +1,5 @@ import s from './offer.module.scss'; + import { Mark } from '@shared/ui'; import { OfferForm, OfferRequestForm } from '@/widgets'; import Image from 'next/image'; diff --git a/src/widgets/advanced-phone-input/advanced-phone-input.module.scss b/src/widgets/advanced-phone-input/advanced-phone-input.module.scss index 9789c8a..26dc2b4 100644 --- a/src/widgets/advanced-phone-input/advanced-phone-input.module.scss +++ b/src/widgets/advanced-phone-input/advanced-phone-input.module.scss @@ -7,8 +7,6 @@ position: relative; z-index: 2; - @include iftablet{ - } @include iflaptop{ padding-left: rem(16px); } @@ -20,22 +18,22 @@ .Button { position: absolute; z-index: 3; - right: rem(2px); - top: calc(50% - 1.2rem); - min-height: calc(100% - .25rem); @include iftablet{ - top: calc(50% - 1.2rem); - right: rem(3px); + top: 50%; + transform: translateY(-50%); + right: 0; } @include iflaptop{ - top: calc(50% - 1.4rem); + top: 50%; + transform: translateY(-50%); right: rem(4px); } @include ifdesktop{ - top: calc(50% - 1.6rem); - right: rem(2px); + top: 50%; + transform: translateY(-50%); + right: 0; } } \ No newline at end of file diff --git a/src/widgets/cookie-notice/styles.module.scss b/src/widgets/cookie-notice/styles.module.scss index 8b87c4c..ad9fcfb 100644 --- a/src/widgets/cookie-notice/styles.module.scss +++ b/src/widgets/cookie-notice/styles.module.scss @@ -5,6 +5,7 @@ bottom: rem(10px); left: 50%; transform: translateX(-50%); + will-change: transform; background-color: #d6d6d6; @@ -45,7 +46,7 @@ font-weight: $font-regular; font-size: rem(16px); line-height: 130%; - opacity: 0.7; + opacity: 1; @include iftablet { max-width: rem(350px); diff --git a/src/widgets/cookie-notice/ui.tsx b/src/widgets/cookie-notice/ui.tsx index 7fd3a28..dfa34db 100644 --- a/src/widgets/cookie-notice/ui.tsx +++ b/src/widgets/cookie-notice/ui.tsx @@ -30,7 +30,7 @@ export default function CookiesNotice() { Мы используем cookie.
Во время посещения этого сайта вы соглашаетесь с тем, что мы обрабатываем ваши персональные данные с - использованием метрических программ.
+ использованием систем для сбора статистики.
Подробнее
@@ -39,8 +39,8 @@ export default function CookiesNotice() { Отмена - diff --git a/src/widgets/license-slider/ui.tsx b/src/widgets/license-slider/ui.tsx index 7615378..ba9658c 100644 --- a/src/widgets/license-slider/ui.tsx +++ b/src/widgets/license-slider/ui.tsx @@ -17,6 +17,7 @@ type LicenseSliderProps = { id: string; name: string; image: string | StaticImport; + fullSizeImage: string; }[]; }; @@ -48,9 +49,9 @@ export default function Ui({ className, images }: LicenseSliderProps) { modules={[Grid]} breakpoints={swiperBreakpoints} > - {images.map(({ id, name, image }) => ( + {images.map(({ id, name, image, fullSizeImage }) => ( - + {name} diff --git a/src/widgets/offer-form/ui.tsx b/src/widgets/offer-form/ui.tsx index d2eba7f..2b111a2 100644 --- a/src/widgets/offer-form/ui.tsx +++ b/src/widgets/offer-form/ui.tsx @@ -82,7 +82,7 @@ export default function OfferForm() { {...field} className={s.Unit} type='text' - placeholder='+7 999 123-45-67' + placeholder='+7 (999) 123-45-67' error={errors && errors.phone?.message} onChange={(e) => { clearErrors('phone');