-
Ежемесячный доход
+
Ежемесячный доход
{calculated ? monthlyIncome : oldMonthlyIncome}
diff --git a/src/components/pages/MainPage/Calculator/ConsultationsRange.tsx b/src/components/pages/MainPage/Calculator/ConsultationsRange.tsx
index ea85c789..96f33776 100644
--- a/src/components/pages/MainPage/Calculator/ConsultationsRange.tsx
+++ b/src/components/pages/MainPage/Calculator/ConsultationsRange.tsx
@@ -46,7 +46,7 @@ export function ConsultationRange({
start,
root.current!.clientWidth - 48
),
- (root.current!.clientWidth - 48) / 35
+ ((root.current!.clientWidth - 48) / 35) * 6
);
el.style.left = `${dx}px`;
setOffset(dx);
@@ -63,7 +63,7 @@ export function ConsultationRange({
Консультаций в месяц
setOpened((prev) => !prev)}
>
{chosen.name}
diff --git a/src/components/pages/MainPage/Clients/Clients.tsx b/src/components/pages/MainPage/Clients/Clients.tsx
index 7d794c0e..b5ba1bfb 100644
--- a/src/components/pages/MainPage/Clients/Clients.tsx
+++ b/src/components/pages/MainPage/Clients/Clients.tsx
@@ -26,8 +26,8 @@ export function Clients() {
className="lg:space-y-16 md:max-lg:space-y-12 space-y-10 lg:mt-40 mt-[100px]"
ref={ref}
>
-
-
+
+
{companies !== undefined && getCompaniesCount(companies.length)}
{' '}
diff --git a/src/components/pages/MainPage/Map/Slider.tsx b/src/components/pages/MainPage/Map/Slider.tsx
index aeb50016..93c9c9a2 100644
--- a/src/components/pages/MainPage/Map/Slider.tsx
+++ b/src/components/pages/MainPage/Map/Slider.tsx
@@ -41,7 +41,7 @@ export function Slider({
Последнее в{city.startsWith('В') ? 'о' : ''} {prepositionCity(city)}
-
+
{companies.map(({ id, mapIcon, title }, index) => (
diff --git a/src/components/pages/MainPage/Motivation.tsx b/src/components/pages/MainPage/Motivation.tsx
index 647bd413..d4c461d2 100644
--- a/src/components/pages/MainPage/Motivation.tsx
+++ b/src/components/pages/MainPage/Motivation.tsx
@@ -1,5 +1,7 @@
'use client';
+import { StoriesModal } from '@/components/modals/StoriesModal';
+import { useModalStore } from '@/stores/useModalStore';
import { Title } from '@/ui/Title';
import { motion, useInView } from 'framer-motion';
import Image from 'next/image';
@@ -25,14 +27,14 @@ export function Motivation() {
margin: '100% 0px -85% 0px',
});
+ const { setModal } = useModalStore();
+
return (
-
- Помогаем девелоперам
-
- продавать недвижимость проще и
+
+ Помогаем девелоперам продавать недвижимость проще и
- быстрее
+ быстрее
дороже
@@ -55,8 +57,11 @@ export function Motivation() {
className="rounded-2xl h-full w-full object-cover"
/>
-
-
+
+
Удаленная демонстрация
diff --git a/src/components/pages/MainPage/Presentation/IntegrationCRM.tsx b/src/components/pages/MainPage/Presentation/IntegrationCRM.tsx
index fb7a4f32..7c2ce0d2 100644
--- a/src/components/pages/MainPage/Presentation/IntegrationCRM.tsx
+++ b/src/components/pages/MainPage/Presentation/IntegrationCRM.tsx
@@ -22,22 +22,22 @@ export function IntegrationCRM({ scroll }: { scroll: MotionValue
}) {
-
+
2K
@@ -51,15 +51,15 @@ export function IntegrationCRM({ scroll }: { scroll: MotionValue
}) {
-
+
-
diff --git a/src/components/pages/MainPage/Presentation/PresentationDesktop.tsx b/src/components/pages/MainPage/Presentation/PresentationDesktop.tsx
index 294ad0bd..eb168b4f 100644
--- a/src/components/pages/MainPage/Presentation/PresentationDesktop.tsx
+++ b/src/components/pages/MainPage/Presentation/PresentationDesktop.tsx
@@ -19,7 +19,7 @@ export function PresentationDesktop() {
Интерактивная презентация{' '}
улучшает опыт выбора недвижимости{' '}
- и увеличивают темпы продаж квартир в жилом комплексе
+ и увеличивают темпы продаж квартир в жилом комплексе
diff --git a/src/components/pages/MainPage/Presentation/PresentationMini.tsx b/src/components/pages/MainPage/Presentation/PresentationMini.tsx
index 8bef2b18..4d7d5340 100644
--- a/src/components/pages/MainPage/Presentation/PresentationMini.tsx
+++ b/src/components/pages/MainPage/Presentation/PresentationMini.tsx
@@ -32,7 +32,7 @@ export function PresentationMini() {
return (
-
+
Интерактивная презентация{' '}
diff --git a/src/components/pages/MainPage/Presentation/SearchAndSelect.tsx b/src/components/pages/MainPage/Presentation/SearchAndSelect.tsx
index 1de68d9a..04785728 100644
--- a/src/components/pages/MainPage/Presentation/SearchAndSelect.tsx
+++ b/src/components/pages/MainPage/Presentation/SearchAndSelect.tsx
@@ -1,7 +1,8 @@
import { search } from '@/consts/presentation/search';
import { useMediaQueries } from '@/hooks/useMediaQueries';
-import { Icon } from '@/ui/Icon';
import { motion, MotionValue, useTransform } from 'framer-motion';
+import HeartIcon from '../../../../../public/icons/hearth.svg';
+import LocationIcon from '../../../../../public/icons/location.svg';
export function SearchAndSelect({ scroll }: { scroll: MotionValue }) {
const opacity = useTransform(scroll, [0, 1 / 6], [1, 0]);
@@ -17,30 +18,18 @@ export function SearchAndSelect({ scroll }: { scroll: MotionValue }) {
>
Выбор квартиры на генплане
-
+
-
-
+
+
Эмоциональное вовлечение пользователя в выбор квартиры
-
-
+
+
Удобство выбора расположения и видовых характеристик
diff --git a/src/components/pages/MainPage/Reviews/ReviewTab.tsx b/src/components/pages/MainPage/Reviews/ReviewTab.tsx
index b046b1b9..4321c011 100644
--- a/src/components/pages/MainPage/Reviews/ReviewTab.tsx
+++ b/src/components/pages/MainPage/Reviews/ReviewTab.tsx
@@ -37,13 +37,15 @@ export function ReviewTab({
}}
ref={ref}
>
-
+
+
+
{active && (
();
- const isInView = useInView(ref, { margin: '100% 0px -85% 0px' });
+ const isInView = useInView(ref, { margin: '100% 0px -75% 0px' });
return (
@@ -34,10 +34,8 @@ export function Reviews() {
}`}
>
-
-
- {reviewsData[tab].author}
-
+
+
{reviewsData[tab].author}
{reviewsData[tab].text}
diff --git a/src/components/pages/MainPage/Streaming/Streaming.tsx b/src/components/pages/MainPage/Streaming/Streaming.tsx
index 321a0811..232a7506 100644
--- a/src/components/pages/MainPage/Streaming/Streaming.tsx
+++ b/src/components/pages/MainPage/Streaming/Streaming.tsx
@@ -26,12 +26,13 @@ export function Streaming() {
Уникальная технология
- удаленной демонстрации дает
- возможность презентовать объект покупателю из любой точки мира
+ удаленной демонстрации{' '}
+ дает возможность презентовать объект покупателю из любой точки
+ мира
Удаленная демонстрация —
- презентуйте объект покупателю из любой точки мира
+ презентуйте объект покупателю из любой точки мира
);
diff --git a/src/components/pages/ProjectsPage/TagsFilters.tsx b/src/components/pages/ProjectsPage/TagsFilters.tsx
index 6dba7066..8ea20974 100644
--- a/src/components/pages/ProjectsPage/TagsFilters.tsx
+++ b/src/components/pages/ProjectsPage/TagsFilters.tsx
@@ -78,7 +78,7 @@ export function TagsFilters({
)}
Применить
@@ -88,7 +88,7 @@ export function TagsFilters({
) : (
setOpen(true)}
- className="gap-x-2 rounded-2xl flex items-center pl-6 p-4 bg-[#37393B99] backdrop-blur-sm"
+ className="gap-x-2 rounded-2xl flex items-center pl-6 p-4 bg-[#37393B99] backdrop-blur-sm cursor-pointer"
>
Фильтры
diff --git a/src/hooks/useArticleMutation.ts b/src/hooks/useArticleMutation.ts
index 25e0eb11..8fc25c34 100644
--- a/src/hooks/useArticleMutation.ts
+++ b/src/hooks/useArticleMutation.ts
@@ -15,7 +15,7 @@ export function useArticleMutation({
action === 'create'
? await api.post('articles', { json }).json()
: await api.put(`articles/${id}`, { json }).json(),
- onSuccess: async (article) => {
+ onSuccess: async () => {
await queryClient.invalidateQueries({ queryKey: ['articles'] });
},
});
diff --git a/src/ui/Button.tsx b/src/ui/Button.tsx
index e41e6180..f43e1751 100644
--- a/src/ui/Button.tsx
+++ b/src/ui/Button.tsx
@@ -31,8 +31,8 @@ export function Button({
if (type !== 'submit') e.preventDefault();
onClick?.();
}}
- className={`group cursor-pointer relative px-6 py-2 rounded-${
- rounded ?? 'full'
+ className={`group cursor-pointer relative px-6 py-2${
+ rounded ? ' rounded-' + rounded : ''
} min-w-fit ${
(color === 'primary'
? 'bg-gradient-to-r from-[#798FFF] to-[#D375FF]'
diff --git a/src/ui/Option.tsx b/src/ui/Option.tsx
index 0af96287..6141125a 100644
--- a/src/ui/Option.tsx
+++ b/src/ui/Option.tsx
@@ -27,10 +27,8 @@ export function Option({
<>
diff --git a/src/ui/SlideBadge.tsx b/src/ui/SlideBadge.tsx
index a2f783e8..5409c1f3 100644
--- a/src/ui/SlideBadge.tsx
+++ b/src/ui/SlideBadge.tsx
@@ -11,7 +11,7 @@ export function SlideBadge({
}) {
return (
diff --git a/src/ui/StoriesButton.tsx b/src/ui/StoriesButton.tsx
index b10b6082..a591a097 100644
--- a/src/ui/StoriesButton.tsx
+++ b/src/ui/StoriesButton.tsx
@@ -18,7 +18,7 @@ export function StoriesButton() {
'stories'
)
}
- className="p-0.5 cursor-pointer outline-none rounded-full aspect-square relative first:translate-x-2 last:-translate-x-2 [background:linear-gradient(#2a2c34,#2a2c34)_padding-box,linear-gradient(45deg,#FF52E5,#F6D242)_border-box]"
+ className="p-px cursor-pointer outline-none bg-gradient rounded-full aspect-square relative first:translate-x-2 last:-translate-x-2"
key={id}
>
))}