diff --git a/public/images/new/recipe_button.webp b/public/images/new/recipe_button.webp
new file mode 100644
index 0000000..434b34c
Binary files /dev/null and b/public/images/new/recipe_button.webp differ
diff --git a/src/components/new_ui/advantages.tsx b/src/components/new_ui/advantages.tsx
index d016d1b..dfea8fd 100644
--- a/src/components/new_ui/advantages.tsx
+++ b/src/components/new_ui/advantages.tsx
@@ -4,16 +4,10 @@ import { useRef } from 'react'
const MotionImage = motion.create(Image)
const MotionFlex = motion.create(Flex)
const MotionBox = motion.create(Box)
-import { colors } from '../../colors';
const MotionStack = motion(Stack);
-interface InfoData {
- id: number
- title: string
- image: string
- titleImage: string
- titleImage2: string
- description: string
-}
+const MotionSimpleGrid = motion.create(SimpleGrid);
+const MotionText = motion(Text);
+import { colors } from '../../colors';
@@ -124,8 +118,11 @@ function Advantages() {
const oilCubesRef = useRef(null);
const isOilCubesInView = useInView(oilCubesRef, { once: true });
+ const mainRef = useRef(null);
+ const isMainInView = useInView(mainRef, { once: true });
return (
-
-
- {info.map((item) => (
- (
+
-
+
{item.id === 3 ? (
<>
-
{item.title}
-
-
+
>
) : (
<>
-
-
{item.title}
-
+
>
)}
-
-
{renderDescription(item.description)}
-
+
{item.id === 4 ? (
-
+
{oilCube.map((item, index) => (
))}
-
+
) : (
<>>
)}
-
+
))}
-
+
-
+
)
}
diff --git a/src/components/new_ui/hero2.tsx b/src/components/new_ui/hero2.tsx
index a3668b8..0b122a5 100644
--- a/src/components/new_ui/hero2.tsx
+++ b/src/components/new_ui/hero2.tsx
@@ -16,7 +16,7 @@ function Hero2() {