diff --git a/.vscode/settings.json b/.vscode/settings.json index 92f87c0..f484710 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,5 +2,8 @@ "githubPullRequests.ignoredPullRequestBranches": [ "master", "master" + ], + "cSpell.words": [ + "latestcollection" ] } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 056396a..ca9c3b2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17998,4 +17998,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/App.js b/src/App.js index 7261e16..728df3d 100644 --- a/src/App.js +++ b/src/App.js @@ -13,7 +13,7 @@ import women_banner from './Components/Assets/banner_women.png' import kids_banner from './Components/Assets/banner_kids.png' import About from './Pages/About'; import Contact from './Pages/Contact'; -import { useContext,useEffect } from 'react'; +import { useContext} from 'react'; import { ShopContext } from './Context/ShopContext'; function App() { const {theme}=useContext(ShopContext); @@ -26,6 +26,7 @@ function App() { } /> } /> } /> + {/* } /> */} }> }/> diff --git a/src/Components/Hero/Hero.css b/src/Components/Hero/Hero.css index c4ec4b7..a2a9a6c 100644 --- a/src/Components/Hero/Hero.css +++ b/src/Components/Hero/Hero.css @@ -73,3 +73,15 @@ margin-top: 150px; margin-left: 138px; } + +/* CSS file, e.g., App.css */ +.latest-collection-link { + text-decoration: none; /* Removes underline */ + color: #ffffff; /* Sets initial text color, e.g., black */ + } + + .latest-collection-link:hover { + color: #fdfdfd; /* Changes text color on hover, e.g., to a shade of blue */ + /* Add any other hover effects here, e.g., underline, text shadow, etc. */ + } + \ No newline at end of file diff --git a/src/Components/Hero/Hero.jsx b/src/Components/Hero/Hero.jsx index 8a59f7a..11cdad3 100644 --- a/src/Components/Hero/Hero.jsx +++ b/src/Components/Hero/Hero.jsx @@ -1,12 +1,15 @@ -import React, { useContext } from 'react' +// import React, { useContext } from 'react' import './Hero.css' 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 React, { useContext, useState } from 'react' +import { Link } from 'react-router-dom' const Hero = () => { const {theme}=useContext(ShopContext) + // const [menu,setMenu]=useState("shop"); return (
@@ -20,10 +23,12 @@ const Hero = () => {

For Everyone

-
Latest Collection
- + + Latest Collection arrow +
+
diff --git a/src/Components/LatestCollection/LatestCollection.css b/src/Components/LatestCollection/LatestCollection.css new file mode 100644 index 0000000..4e11f26 --- /dev/null +++ b/src/Components/LatestCollection/LatestCollection.css @@ -0,0 +1,42 @@ +.latest-collections { + display: flex; + flex-direction: column; + align-items: center; + gap: 20px; + margin-bottom: 100px; +} +.latest-collections .h1_dark { + color: #171717; + font-size: 30px; + font-weight: 600; +} + +.h1_light{ + color: white; + font-size: 30px; + font-weight: 600; +} + +.new-collections hr{ + width: 200px; + height: 6px; + border-radius: 10px; +} + +.hr_dark{ + background: #252525; +} +.hr_light{ + background: white; +} +.new-collections-item{ + margin-top: 50px; + display: flex; + gap: 30px; +} +.collections{ + display: grid; + grid-template-columns: 1fr 1fr 1fr 1fr; + margin-top: 50px; + gap: 30px; +} diff --git a/src/Components/LatestCollection/LatestCollection.jsx b/src/Components/LatestCollection/LatestCollection.jsx new file mode 100644 index 0000000..e45356d --- /dev/null +++ b/src/Components/LatestCollection/LatestCollection.jsx @@ -0,0 +1,23 @@ +import React, { useContext } from 'react' +import './NewCollections.css' +import new_collection from '../Assets/new_collections' +import Item from '../Item/Item' +import { ShopContext } from '../../Context/ShopContext' + +const LatestCollection = () => { + const {theme}=useContext(ShopContext); + return ( +
+

LATEST COLLECTIONS

+
+
+ {new_collection.map((item,i)=>{ + return + })} +
+ +
+ ) +} + +export default LatestCollection