+
@@ -29,7 +34,7 @@ function MarqueeHalf({
reversed = false,
items,
}: {
- items: { src: string }[];
+ items: IClient[];
reversed?: boolean;
}) {
return (
@@ -43,14 +48,14 @@ function MarqueeHalf({
>
{items.map(client => (
))}
diff --git a/src/components/Contacts.tsx b/src/components/Contacts.tsx
index ec7be76..a5a5118 100644
--- a/src/components/Contacts.tsx
+++ b/src/components/Contacts.tsx
@@ -6,8 +6,12 @@ import { TelegramIcon } from './icons/TelegramIcon';
import { VKIcon } from './icons/VKIcon';
import { YoutubeIcon } from './icons/YoutubeIcon';
import { Link } from 'react-router-dom';
+import { useModalStore } from '../stores/modalStore';
+import { ModalWithForm } from './Layout/ModalWithForm';
export function Contacts() {
+ const setModal = useModalStore(state => state.setModal);
+
return (
}
className="self-end row-start-2 px-6 py-4 lg:col-span-3 sm:max-lg:mb-20 max-sm:mb-14"
width="full"
+ onClick={() => setModal(
)}
>
Оставить заявку
@@ -33,6 +38,9 @@ export function Contacts() {
className="py-4"
width="full"
icon={
}
+ onClick={() => {
+ window.location.href = 'mailto:info@graff.tech';
+ }}
>
Написать
@@ -41,6 +49,9 @@ export function Contacts() {
className="py-4"
width="full"
icon={
}
+ onClick={() => {
+ window.location.href = 'tel:88007700067';
+ }}
>
Позвонить
diff --git a/src/components/Devices.tsx b/src/components/Devices.tsx
index 9ffefab..03ccd33 100644
--- a/src/components/Devices.tsx
+++ b/src/components/Devices.tsx
@@ -114,8 +114,6 @@ function Device({ title, description, img }: IDevice) {
setDescriptionHeight(descriptionRef.current?.clientHeight ?? 0);
}, [descriptionRef, expanded]);
- useEffect(() => console.log(descriptionHeight), [descriptionHeight]);
-
return (
+
+ Создаем систему для{' '}
+
+ эффективного взаимодействия с клиентами
+ {' '}
+ с помощью интерактивных инструментов и анализа пользовательского опыта
+
+
+
+
+
+
+ {interactions.map(({ video }, index) => (
+ setCurrent(index)}
+ />
+ ))}
+
+
+ );
+}
+
+export function InteractionSlide({
+ active,
+ video,
+ onClick,
+}: {
+ video: string;
+ active: boolean;
+ onClick?: () => void;
+}) {
+ const ref = useRef