Skip to content

Commit e2ca89e

Browse files
Fix sliding logo
1 parent f546ae7 commit e2ca89e

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

src/components/FeaturesDiagonal.jsx

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const FeaturesDiagonal = () => {
1010
const [isModalOpen, setIsModalOpen] = useState(false);
1111

1212
return (
13-
<section className="lg:mb-16 w-full flex flex-col justify-center items-center bg-bgDark1 overflow-hidden">
13+
<section className="lg:mb-16 w-full flex flex-col justify-center items-center bg-bgDark1">
1414
<div className="shape-divider-bottom-1665696614">
1515
<svg
1616
data-name="Layer 1"
@@ -25,16 +25,18 @@ export const FeaturesDiagonal = () => {
2525
></path>
2626
</svg>
2727
</div>
28-
<motion.div
29-
initial={{ opacity: 0, x: 400 }}
30-
whileInView={{ opacity: 1, x: 0 }}
31-
viewport={{ once: true }}
32-
transition={{ duration: 2, delay: 0.75 }}
33-
className="w-full h-[12vw] min-h-12 relative -mt-[2vw]"
34-
>
35-
<img src={webx_stripe.src} alt="Web X stripe" className="absolute top-0 right-0 w-1/2 min-w-64 h-full" />
36-
{/* <img src={webx_stripe.src} alt="Web X stripe" className="w-1/2 h-full ml-auto" /> */}
37-
</motion.div>
28+
<div className="overflow-hidden w-full">
29+
<motion.div
30+
initial={{ opacity: 0, x: 400 }}
31+
whileInView={{ opacity: 1, x: 0 }}
32+
viewport={{ once: true }}
33+
transition={{ duration: 2, delay: 0.75 }}
34+
className="w-full h-[12vw] min-h-12 relative -mt-[2vw]"
35+
>
36+
<img src={webx_stripe.src} alt="Web X stripe" className="absolute top-0 right-0 w-1/2 min-w-64 h-full" />
37+
{/* <img src={webx_stripe.src} alt="Web X stripe" className="w-1/2 h-full ml-auto" /> */}
38+
</motion.div>
39+
</div>
3840
<motion.div
3941
initial={{ opacity: 0 }}
4042
whileInView={{ opacity: 1 }}

0 commit comments

Comments
 (0)