diff --git a/src/components/Main/Contacts.tsx b/src/components/Main/Contacts.tsx index 0e78412..33ed4f1 100644 --- a/src/components/Main/Contacts.tsx +++ b/src/components/Main/Contacts.tsx @@ -42,7 +42,7 @@ export function Contacts() { color="secondary" className="py-4" width="full" - icon={} + icon={} className="w-8 h-8" />} onClick={() => { window.location.href = 'mailto:info@graff.tech'; }} diff --git a/src/components/Main/Project.tsx b/src/components/Main/Project.tsx index 58632f7..d683f21 100644 --- a/src/components/Main/Project.tsx +++ b/src/components/Main/Project.tsx @@ -12,7 +12,7 @@ export function Project({ src, title, tags, media, year }: IProject) { className="relative flex flex-col aspect-square" > {media === Media.img ? ( -
+
) { />
) : ( -
+
)} diff --git a/src/components/Main/SliderControls.tsx b/src/components/Main/SliderControls.tsx index badf0a5..a34346d 100644 --- a/src/components/Main/SliderControls.tsx +++ b/src/components/Main/SliderControls.tsx @@ -40,7 +40,7 @@ export const SliderControls = forwardRef< return (
-
+
Управление пользователями
diff --git a/src/ui/SliderWithScaling.tsx b/src/ui/SliderWithScaling.tsx index 80d679c..24edb56 100644 --- a/src/ui/SliderWithScaling.tsx +++ b/src/ui/SliderWithScaling.tsx @@ -140,13 +140,13 @@ export function SliderWithScaling({ onLeftClick={prevSlide} onRightClick={nextSlide} slidesCount={slides.length} - width={width >= 640 ? 132 : ((width - 32) / 328) * 196} + width={width >= 640 ? 132 : (width / 360) * 196} height={width >= 640 ? 66 : 58} className={ - 'absolute ' + + 'max-lg:absolute ' + (controlsPosition === 'top' - ? 'top-[75px]' - : 'lg:bottom-16 -bottom-10 sm:self-end self-center') + ? 'top-[70px]' + : 'lg:bottom-16 -bottom-4 sm:bottom-10 max-sm:self-center self-end max-sm:w-full') } />