diff --git a/awwwards_ss4/src/components/Home.jsx b/awwwards_ss4/src/components/Home.jsx
index ef05895..a02c9cc 100644
--- a/awwwards_ss4/src/components/Home.jsx
+++ b/awwwards_ss4/src/components/Home.jsx
@@ -2,12 +2,15 @@ import Navbar from "./Navbar";
import Slider from "react-slick";
import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";
-import {motion} from "framer-motion"
+import {motion, AnimatePresence} from "framer-motion"
import { AiOutlineShopping, AiOutlineSearch } from "react-icons/ai";
import { RiMenu2Fill } from "react-icons/ri";
+import { IoClose } from "react-icons/io5";
import Img1 from "../assets/bg-1.webp"
import Img2 from "../assets/bg-2.webp"
import Img3 from "../assets/bg-3.webp"
+import { useState } from "react";
+import NavBag from "./NavBag";
const Home = () => {
@@ -25,6 +28,23 @@ const Home = () => {
initial:{x: 0,},
animate:{x: "-100%", transition:{ease: "linear", repeat: Infinity, duration: 20},},
};
+//NavClick
+ const [isActive, setIsActive] = useState(false);
+ const [isActiveBag, setIsActiveBag] = useState(false);
+ const [isActiveSearch, setIsActiveSearch] = useState(false);
+ const opacity = {
+ initial: {
+ opacity: 0
+ },
+ open: {
+ opacity: 1,
+ transition: {duration: 0.35}
+ },
+ closed: {
+ opacity: 0,
+ transition: {duration: 0.35}
+ }
+ }
return (
<>
@@ -39,10 +59,22 @@ const Home = () => {
my bag (0)
+ +Spend another $50 to recieve FREE SHIPPING
+ +No items in your bag
+Build your kit
+ + +$37
+Add +
+$37
+Add +
+Subtotal:
+$0
+