imgs fixes
@@ -25,7 +25,7 @@
|
||||
<meta property="og:url" content="https://graff.event" />
|
||||
<meta
|
||||
property="og:image"
|
||||
content="http://192.168.1.250:5174/src/assets/promotion/exhibitions/1.png"
|
||||
content="http://192.168.1.250:5174/images/promotion/exhibitions/1.png"
|
||||
/>
|
||||
<meta property="og:image:width" content="300" />
|
||||
<meta property="og:image:height" content="200" />
|
||||
|
||||
|
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.3 MiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1021 B After Width: | Height: | Size: 1021 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 526 KiB After Width: | Height: | Size: 526 KiB |
|
Before Width: | Height: | Size: 705 KiB After Width: | Height: | Size: 705 KiB |
|
Before Width: | Height: | Size: 711 KiB After Width: | Height: | Size: 711 KiB |
|
Before Width: | Height: | Size: 927 KiB After Width: | Height: | Size: 927 KiB |
|
Before Width: | Height: | Size: 855 KiB After Width: | Height: | Size: 855 KiB |
|
Before Width: | Height: | Size: 1011 KiB After Width: | Height: | Size: 1011 KiB |
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 113 KiB After Width: | Height: | Size: 113 KiB |
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 4.4 MiB After Width: | Height: | Size: 4.4 MiB |
|
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.3 MiB |
|
Before Width: | Height: | Size: 257 KiB After Width: | Height: | Size: 257 KiB |
|
Before Width: | Height: | Size: 218 KiB After Width: | Height: | Size: 218 KiB |
|
Before Width: | Height: | Size: 223 KiB After Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 240 KiB After Width: | Height: | Size: 240 KiB |
|
Before Width: | Height: | Size: 169 KiB After Width: | Height: | Size: 169 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 223 KiB After Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 741 KiB After Width: | Height: | Size: 741 KiB |
|
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 194 KiB |
|
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 158 KiB |
|
Before Width: | Height: | Size: 226 KiB After Width: | Height: | Size: 226 KiB |
|
Before Width: | Height: | Size: 185 KiB After Width: | Height: | Size: 185 KiB |
|
Before Width: | Height: | Size: 273 KiB After Width: | Height: | Size: 273 KiB |
|
Before Width: | Height: | Size: 249 KiB After Width: | Height: | Size: 249 KiB |
|
Before Width: | Height: | Size: 224 KiB After Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 198 KiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1019 KiB After Width: | Height: | Size: 1019 KiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
@@ -14,41 +14,25 @@ export function Form() {
|
||||
<div className="max-sm:hidden absolute lg:bottom-0 lg:-right-[min(136px,calc(136/1600*100vw))] sm:-right-[min(196px,calc(196/768*100vw))] animate-[spin_10s_linear_infinite]">
|
||||
<div className="relative lg:w-[calc(512/1600*100vw)] sm:w-[calc(512/768*100vw)] aspect-square flex justify-center transition-all duration-500 lg::w-[calc(446/1600*100vw)] origin-center">
|
||||
<div className="lg:w-[calc(116/1600*100vw)] sm:w-[calc(116/768*100vw)] flex flex-col justify-between h-full absolute">
|
||||
<img src="/src/assets/form/1_1.png" alt="" />
|
||||
<img src="/src/assets/form/1_2.png" alt="" />
|
||||
<img src="/images/form/1_1.png" alt="" />
|
||||
<img src="/images/form/1_2.png" alt="" />
|
||||
</div>
|
||||
<div className="lg:w-[calc(116/1600*100vw)] sm:w-[calc(116/768*100vw)] flex flex-col justify-between h-full absolute rotate-45">
|
||||
<img
|
||||
src="/src/assets/form/2_1.png"
|
||||
className="-rotate-45"
|
||||
alt=""
|
||||
/>
|
||||
<img
|
||||
src="/src/assets/form/2_2.png"
|
||||
className="-rotate-45"
|
||||
alt=""
|
||||
/>
|
||||
<img src="/images/form/2_1.png" className="-rotate-45" alt="" />
|
||||
<img src="/images/form/2_2.png" className="-rotate-45" alt="" />
|
||||
</div>
|
||||
<div className="lg:w-[calc(116/1600*100vw)] sm:w-[calc(116/768*100vw)] flex flex-col justify-between h-full absolute rotate-90">
|
||||
<img
|
||||
src="/src/assets/form/3_1.png"
|
||||
className="-rotate-90"
|
||||
alt=""
|
||||
/>
|
||||
<img
|
||||
src="/src/assets/form/3_2.png"
|
||||
className="-rotate-90"
|
||||
alt=""
|
||||
/>
|
||||
<img src="/images/form/3_1.png" className="-rotate-90" alt="" />
|
||||
<img src="/images/form/3_2.png" className="-rotate-90" alt="" />
|
||||
</div>
|
||||
<div className="lg:w-[calc(116/1600*100vw)] sm:w-[calc(116/768*100vw)] flex flex-col justify-between h-full absolute rotate-[135deg]">
|
||||
<img
|
||||
src="/src/assets/form/4_1.png"
|
||||
src="/images/form/4_1.png"
|
||||
className="-rotate-[135deg]"
|
||||
alt=""
|
||||
/>
|
||||
<img
|
||||
src="/src/assets/form/4_2.png"
|
||||
src="/images/form/4_2.png"
|
||||
className="-rotate-[135deg]"
|
||||
alt=""
|
||||
/>
|
||||
|
||||
@@ -8,13 +8,14 @@ export const InteractionSlide = forwardRef<
|
||||
const videoRef = useRef<HTMLVideoElement>(null);
|
||||
|
||||
useEffect(() => {
|
||||
console.log(video, active);
|
||||
if (active) {
|
||||
videoRef.current?.play();
|
||||
} else {
|
||||
videoRef.current?.pause();
|
||||
videoRef.current!.currentTime = 0;
|
||||
}
|
||||
}, [active]);
|
||||
}, [active, video]);
|
||||
|
||||
return (
|
||||
<div
|
||||
@@ -22,7 +23,7 @@ export const InteractionSlide = forwardRef<
|
||||
className="p-8 space-y-9 border border-[#3D425C] sm:min-w-[calc(100vw-48px)] min-w-[calc(100vw-32px)] select-none"
|
||||
>
|
||||
<p className="font-medium h3">{title}</p>
|
||||
<video src={video} muted loop ref={videoRef} />
|
||||
<video src={video} muted autoPlay loop ref={videoRef} />
|
||||
</div>
|
||||
);
|
||||
});
|
||||
|
||||
@@ -3,15 +3,19 @@ import { interactions } from '../../../consts/interactions';
|
||||
import { SliderControls } from '../../ui/SliderControls';
|
||||
import { InteractionSlide } from './InteractionsSlide';
|
||||
import { useSwipeable } from 'react-swipeable';
|
||||
import { useWindowWidth } from '../../../hooks/useWindowWidth';
|
||||
|
||||
export function InteractionsSlider() {
|
||||
const width = useWindowWidth();
|
||||
|
||||
const currentSlideRef = useRef<HTMLDivElement>(null);
|
||||
const controlsRef = useRef<{ left(): void; right(): void }>({
|
||||
left() {},
|
||||
right() {},
|
||||
});
|
||||
|
||||
const baseoffset = -(currentSlideRef.current?.clientWidth || 0) + 8;
|
||||
const baseoffset =
|
||||
width >= 640 ? (-width / 768) * 720 - 8 : (-width / 360) * 328 - 5;
|
||||
|
||||
const [slide, setSlide] = useState(0);
|
||||
const [sliderOffset, setSliderOffset] = useState(baseoffset);
|
||||
@@ -80,7 +84,7 @@ export function InteractionsSlider() {
|
||||
title={title}
|
||||
video={video}
|
||||
ref={slide === index ? currentSlideRef : null}
|
||||
active={slide === index}
|
||||
active={index === 1}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
|
||||
@@ -9,7 +9,7 @@ export function InteractionsWithClients() {
|
||||
|
||||
return (
|
||||
<div className="space-y-10">
|
||||
<Title className="text-[64px]">
|
||||
<Title>
|
||||
Создаем систему для{' '}
|
||||
<span className="text-gradient">
|
||||
эффективного взаимодействия с клиентами
|
||||
|
||||
@@ -36,7 +36,7 @@ export function Ellipse() {
|
||||
<div
|
||||
ref={ref}
|
||||
style={{ top: mousePos[1], left: mousePos[0] }}
|
||||
className="fixed -z-[9] bg-[url('src/assets/Ellipse.png')] bg-cover bg-no-repeat bg-center -translate-y-[50%] -translate-x-[50%] aspect-[348.75/262.77] w-[21.75vw]"
|
||||
className="fixed -z-[9] bg-[url('images/Ellipse.png')] bg-cover bg-no-repeat bg-center -translate-y-[50%] -translate-x-[50%] aspect-[348.75/262.77] w-[21.75vw]"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ function DesktopFeature({
|
||||
return (
|
||||
<div
|
||||
id={hashes.get(number)}
|
||||
className="p-7 border-t border-x border-[#3D425C] last:border-b bg-[url(/src/assets/promotion/Ellipse.png)] bg-[length:0%_0%] hover:bg-[length:100%_100%] transition-all bg-no-repeat bg-top"
|
||||
className="p-7 border-t border-x border-[#3D425C] last:border-b bg-[url(/images/promotion/Ellipse.png)] bg-[length:0%_0%] hover:bg-[length:100%_100%] transition-all bg-no-repeat bg-top"
|
||||
>
|
||||
<motion.div
|
||||
ref={ref}
|
||||
|
||||
@@ -3,7 +3,7 @@ import { FullScreenIcon } from './icons/FullScreenIcon';
|
||||
|
||||
export function Showreel() {
|
||||
return (
|
||||
<div className="lg:aspect-[1552/616] sm:aspect-[720/440] aspect-[328/204] [background:linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.2)),center/cover_url(src/assets/motivation/Showreel.png)_no-repeat] flex justify-center items-center">
|
||||
<div className="lg:aspect-[1552/616] sm:aspect-[720/440] aspect-[328/204] [background:linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.2)),center/cover_url(images/motivation/Showreel.png)_no-repeat] flex justify-center items-center">
|
||||
<button className="sm:p-[22px] p-3 aspect-square rounded-full border bg-[#14161F33]">
|
||||
<ClassNameWrapper
|
||||
className="max-sm:w-5 max-sm:h-5"
|
||||
|
||||