diff --git a/src/Components/Footer/Footer.css b/src/Components/Footer/Footer.css index c9c9ff5..19fc543 100644 --- a/src/Components/Footer/Footer.css +++ b/src/Components/Footer/Footer.css @@ -29,6 +29,7 @@ gap: 50px; color: #252525; font-size: 20px; + flex-wrap: wrap; } .footer-links_light { @@ -37,6 +38,7 @@ gap: 50px; color: white; font-size: 20px; + flex-wrap: wrap; } .footer-links li { cursor: pointer; diff --git a/src/Components/Hero/Hero.css b/src/Components/Hero/Hero.css index 2c4c744..328269d 100644 --- a/src/Components/Hero/Hero.css +++ b/src/Components/Hero/Hero.css @@ -2,11 +2,13 @@ height: 100vh; background: linear-gradient(180deg, #fde1ff, #e1ffea22 60%); display: flex; + flex-wrap: wrap; } .hero_light{ height: 100vh; background: linear-gradient(180deg, #fde1ff, #282c34 60%); display: flex; + flex-wrap: wrap; } .hero-left { flex: 1; @@ -14,8 +16,9 @@ flex-direction: column; justify-content: center; gap: 20px; - padding-left: 180px; + padding-left:auto ; line-height: 1.1; + flex-wrap: wrap; } .hero-left .h2h_dark{ @@ -68,10 +71,16 @@ display: flex; align-items: center; justify-content: center; + } .hero-right img { - margin-top: 150px; - margin-left: 138px; + margin: auto; +} +@media (max-width:800px) { + .hero-right img { + width: 450px; + height: 450px; + } } .link{ diff --git a/src/Components/Hero/Hero.jsx b/src/Components/Hero/Hero.jsx index 85c8ba5..8e561ca 100644 --- a/src/Components/Hero/Hero.jsx +++ b/src/Components/Hero/Hero.jsx @@ -4,28 +4,61 @@ import hand_icon from "../Assets/hand_icon.png"; import arrow_icon from "../Assets/arrow.png"; import hero_image from "../Assets/hero_image.png"; import { ShopContext } from "../../Context/ShopContext"; -import { Link } from "react-router-dom"; const Hero = () => { + const line = { + display: "flex", + justifyContent: "center", + alignItems: "center", + }; + const line1 = { + display: "flex", + justifyContent: "center", + alignItems: "center", + width: "100%", + }; + const line2 = { + display: "flex", + justifyContent: "center", + alignItems: "center", + padding:"15px" + }; + const { theme } = useContext(ShopContext); return (
-

NEW ARRIVALS ONLY

+

+ NEW ARRIVALS ONLY +

-

New

- +

+ New{" "} + + + +

-

Collections

-

For Everyone

-
- -
-
Latest Collection
- +

+ For Everyone
+ Collections +

+ + +

+

+
+ Latest Collection{" "} + + {" "} + + {" "} +
- +

+ +
diff --git a/src/Components/Navbar/Navbar.css b/src/Components/Navbar/Navbar.css index b014b43..a5eb6a3 100644 --- a/src/Components/Navbar/Navbar.css +++ b/src/Components/Navbar/Navbar.css @@ -27,6 +27,9 @@ color: #626262; font-size: 20px; font-weight: 500; + flex-wrap: wrap; + justify-items: center; + align-items: center; } .nav-menu li{ display: flex; @@ -140,5 +143,18 @@ button{ width: 80%; height: auto; } +.nav-menu li :hover{ + text-decoration: underline; + + +} +.nav-menu li:focus{ + text-decoration: underline; + + } + +.nav-menu li:active{ + text-decoration: underline; + } diff --git a/src/Components/Navbar/Navbar.jsx b/src/Components/Navbar/Navbar.jsx index d5adea5..6363e55 100644 --- a/src/Components/Navbar/Navbar.jsx +++ b/src/Components/Navbar/Navbar.jsx @@ -38,19 +38,19 @@ const Navbar = () => {
diff --git a/src/Components/NewCollections/NewCollections.css b/src/Components/NewCollections/NewCollections.css index f1342a4..7c3eec3 100644 --- a/src/Components/NewCollections/NewCollections.css +++ b/src/Components/NewCollections/NewCollections.css @@ -35,8 +35,10 @@ gap: 30px; } .collections{ - display: grid; - grid-template-columns: 1fr 1fr 1fr 1fr; + display: flex; + flex-wrap: wrap; + justify-content: center; + align-items: center; margin-top: 50px; gap: 30px; } diff --git a/src/Components/NewsLetter/NewsLetter.css b/src/Components/NewsLetter/NewsLetter.css index 859e7ca..55a4c66 100644 --- a/src/Components/NewsLetter/NewsLetter.css +++ b/src/Components/NewsLetter/NewsLetter.css @@ -77,6 +77,9 @@ animation-timing-function: ease-in-out; animation-iteration-count: infinite; } +.inputDiv{ + overflow: hidden; +} /* Define the keyframes for the floating animation */ @keyframes floating { @@ -91,4 +94,12 @@ 100% { transform: translateY(0); } +} +@media (max-width:710px) { + .newsletter input{ + width: 100%; + } + .inputDiv{ + width: 100%; + } } \ No newline at end of file diff --git a/src/Components/NewsLetter/NewsLetter.jsx b/src/Components/NewsLetter/NewsLetter.jsx index 655461c..46bcfa1 100644 --- a/src/Components/NewsLetter/NewsLetter.jsx +++ b/src/Components/NewsLetter/NewsLetter.jsx @@ -6,9 +6,10 @@ const NewsLetter = () => {

Get Exclusive Offers On Your Email

Subscribe to Our NewsLetter and Stay Updated

-
+
+
); diff --git a/src/Components/Offers/Offers.css b/src/Components/Offers/Offers.css index d3ea896..d0ccf65 100644 --- a/src/Components/Offers/Offers.css +++ b/src/Components/Offers/Offers.css @@ -1,12 +1,15 @@ .offers { - width: 65%; + width: 100%; height: 60vh; display: flex; margin: auto; - padding: 0px 140px; + padding: 0px ; margin-bottom: 150px; background: linear-gradient(180deg, #fde1ff 0%, #282c34 60%); animation: floating 3s ease-in-out infinite; + margin-top: 50px; + flex-wrap: wrap; + overflow: hidden; } @keyframes floating { @@ -26,6 +29,7 @@ display: flex; flex-direction: column; justify-content: center; + flex-wrap: wrap; } .offers-left .h1_dark { @@ -72,3 +76,8 @@ justify-content: flex-end; padding-top: 50px; } +@media (max-width:1400px) { + .offers-right{ + display: none; + } +} diff --git a/src/Components/Offers/Offers.jsx b/src/Components/Offers/Offers.jsx index df97d92..5eff20f 100644 --- a/src/Components/Offers/Offers.jsx +++ b/src/Components/Offers/Offers.jsx @@ -1,26 +1,22 @@ -import React, { useContext } from "react"; -import "./Offers.css"; -import exclusive_image from "../Assets/exclusive_image.png"; -import { ShopContext } from "../../Context/ShopContext"; -import { Link } from "react-router-dom"; +import React, { useContext } from 'react' +import './Offers.css' +import exclusive_image from '../Assets/exclusive_image.png' +import { ShopContext } from '../../Context/ShopContext' const Offers = () => { - const { theme } = useContext(ShopContext); + const {theme}=useContext(ShopContext); return ( - -
-
-

Exclusive

-

Offers For You

-

ONLY ON BEST SELLERS PRODUCTS

- -
-
- -
+
+
+

Exclusive
Offers For You

+

ONLY ON BEST SELLERS PRODUCTS

+
- - ); -}; +
+ +
+
+ ) +} -export default Offers; +export default Offers diff --git a/src/Components/Popular/Popular.css b/src/Components/Popular/Popular.css index 5a9fe0c..a7e0969 100644 --- a/src/Components/Popular/Popular.css +++ b/src/Components/Popular/Popular.css @@ -4,6 +4,9 @@ align-items: center; gap: 30px; margin-bottom: 100px; + margin: auto; + margin-top: 100px; + padding: auto; } .popular .h1p_dark { color: #171717; @@ -34,5 +37,10 @@ .popular-item{ margin-top: 50px; display: flex; - gap: 30px; + gap: 10px; + flex-wrap: wrap; + align-items: center; + justify-content: center; + margin: auto; + padding: auto; }