@@ -12,6 +12,12 @@ import { ReactNode, RefObject, useRef } from "react";
1212
1313import { Button } from "@/components/ui/button" ;
1414
15+ import aiGif from "../../../public/images/ai.webp" ;
16+ import dndGif from "../../../public/images/dnd.webp" ;
17+ import inputsGif from "../../../public/images/inputs.webp" ;
18+ import layoutGif from "../../../public/images/layoutGif.webp" ;
19+ import rightGif from "../../../public/images/rightGif.webp" ;
20+
1521export default function Home ( ) {
1622 return (
1723 < div className = "max-w-screen overflow-hidden" >
@@ -517,20 +523,22 @@ function SectionTwo() {
517523 </ p >
518524 </ div >
519525 < Image
520- src = { "/images/topLeft.gif" }
526+ src = { inputsGif }
521527 width = { 300 }
522528 height = { 300 }
523529 alt = "types of inputs"
530+ unoptimized
524531 />
525532 </ motion . div >
526533 < motion . div className = "relative h-[237px] basis-2/3 rounded-[10px] border border-[#D9D9D9] bg-linear-180 from-[#3A52A1] to-[#FFFFFF]" >
527534 < div className = "absolute top-3 left-1/2 h-[70%] w-[70%] -translate-x-1/2 overflow-hidden rounded-[12px]" >
528535 < Image
529536 className = "h-full w-full object-contain"
530- src = { "/images/layout.gif" }
537+ src = { layoutGif }
531538 width = { 600 }
532539 height = { 300 }
533540 alt = "layout example"
541+ unoptimized
534542 />
535543 </ div >
536544 < div className = "absolute bottom-3 left-6 max-w-[388px] text-left text-[0.7vw] leading-[1.2] font-light text-[#0A0A0A]" >
@@ -551,10 +559,11 @@ function SectionTwo() {
551559 < div className = "absolute top-3 left-1/2 h-[70%] w-[70%] -translate-x-1/2 overflow-hidden rounded-[12px]" >
552560 < Image
553561 className = "h-full w-full object-contain"
554- src = { "/images/ dndGif.gif" }
562+ src = { dndGif }
555563 width = { 600 }
556564 height = { 300 }
557565 alt = "layout example"
566+ unoptimized
558567 />
559568 </ div >
560569 < div className = "absolute bottom-3 left-6 max-w-[480px] text-left text-[0.7vw] leading-[1.2] font-light text-[#0A0A0A]" >
@@ -575,12 +584,7 @@ function SectionTwo() {
575584 tweak every property to perfect your design.
576585 </ p >
577586 </ div >
578- < Image
579- src = { "/images/bottomRight.gif" }
580- width = { 300 }
581- height = { 300 }
582- alt = "types of inputs"
583- />
587+ < Image src = { rightGif } alt = "types of inputs" unoptimized />
584588 </ motion . div >
585589 </ motion . div >
586590 </ motion . div >
@@ -759,9 +763,7 @@ function SectionFour() {
759763 < motion . div className = "aspect-[1.83]" >
760764 < Image
761765 className = "h-full w-full object-contain"
762- src = { "/images/aiGif1.gif" }
763- width = { 1000 }
764- height = { 400 }
766+ src = { aiGif }
765767 alt = "main builder"
766768 />
767769 </ motion . div >
0 commit comments