diff --git a/awwwards_ss4/src/components/Home.jsx b/awwwards_ss4/src/components/Home.jsx index a02c9cc..c61ba66 100644 --- a/awwwards_ss4/src/components/Home.jsx +++ b/awwwards_ss4/src/components/Home.jsx @@ -11,6 +11,7 @@ import Img2 from "../assets/bg-2.webp" import Img3 from "../assets/bg-3.webp" import { useState } from "react"; import NavBag from "./NavBag"; +import NavSearch from "./NavSearch"; const Home = () => { @@ -74,6 +75,7 @@ const Home = () => { {isActiveBag && } + {isActiveSearch && } diff --git a/awwwards_ss4/src/components/NavSearch.jsx b/awwwards_ss4/src/components/NavSearch.jsx new file mode 100644 index 0000000..72f47f6 --- /dev/null +++ b/awwwards_ss4/src/components/NavSearch.jsx @@ -0,0 +1,60 @@ +import { FaArrowRight } from "react-icons/fa6"; + + +const NavSearch = () => { + return ( +
+
+ + +
+
+

Search Suggestions

+

Face Oil


+

RE:SET Hand Wash


+

Gift Sets


+

Lotion


+
+
+
+
+

Best sellers

+ View all +
+
+
+ +

mineral water cleanser

+

100ML / 3.38 FL. OZ

+

$30

+
+
+ +

skinkind face oil

+

30ML / 1.01 FL. OZ

+

$42

+
+
+ +
+
+ +

brightening concentrate

+

30ML / 1.01 FL. OZ

+

$37

+
+
+ +

rebalancing concentrate

+

30ML / 1.01 FL. OZ

+

$37

+
+
+
+
+ + + ) +} + +export default NavSearch \ No newline at end of file diff --git a/awwwards_ss4/src/index.css b/awwwards_ss4/src/index.css index 2be7d5b..5eaa77f 100644 --- a/awwwards_ss4/src/index.css +++ b/awwwards_ss4/src/index.css @@ -8,6 +8,19 @@ body{ .icon-hidden{ display: none; } +.arrow-icon:hover{ + position: absolute; + opacity: 1; + transition: 0.5s; + padding-right: 24px; + padding-left:8px; +} +.arrow-icon:hover::before { + content: '\2192'; + padding-right:8px; + opacity: 1; +} + @media (max-width:810px){ .icon-hidden{