Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function App() {
/>
<Route path="about" element={<Layout><About /></Layout>} />
<Route path="contact" element={<Layout><Contact /></Layout>} />
<Route path="store" element={<Layout><OurStore /></Layout>} />
<Route path="product" element={<Layout><OurStore /></Layout>} />
<Route path="product/:id" element={<Layout><SingleProduct/></Layout>} />
<Route path="blogs" element={<Layout><Blog/></Layout>} />
<Route path="blog/:id" element={<Layout><SingleBlog/></Layout>} />
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const Header = () => {
<div className="menu-links">
<div className="d-flex align-items-center gap-15">
<NavLink className="text-white" to="/">Home</NavLink>
<NavLink className="text-white" to="/store">Our Store</NavLink>
<NavLink className="text-white" to="/product">Our Store</NavLink>
<NavLink className="text-white" to="/blogs">Blogs</NavLink>
<NavLink className="text-white" to="/contact">Contact</NavLink>

Expand Down
12 changes: 6 additions & 6 deletions src/components/ProductCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const ProductCard = (props) => {

return (
<>
<div className={` ${location.pathname=="/store" ? `gr-${grid}`:"col-3"}`}>
<div className={` ${location.pathname=="/product" ? `gr-${grid}`:"col-3"}`}>
<Link to="product/:id" className="product-card position-relative">
<div className="wishlist-icon position-absolute">
<button className='border-0 bg-transparent'><img src={wish} alt="wishlist"/></button >
Expand All @@ -33,11 +33,11 @@ const ProductCard = (props) => {
Kids headphones bulk 10 pack multi colored for students
</h5>
<ReactStars
countbutton
size={24}
value='3'
edit={false}
activeColor="#ffd700"
count={5}
size={24}
value='3'
edit={false}
activeColor="#ffd700"
/>
<p className={`description ${grid === 12 ? "d-block" : "d-none"}`}>At vero eos accumus et isusto odio
bla bla fjebhf fjhfef jfehffk jhwk olejedn dwtdd vhdfd jfbef
Expand Down