Skip to content

Commit

Permalink
Merge pull request #21 from NirmalNaveen20/bug-fix
Browse files Browse the repository at this point in the history
feat: 🎨 make changes to header
  • Loading branch information
NirmalNaveen20 authored Dec 31, 2023
2 parents ab4e0f6 + c2fc3b2 commit 79f44ee
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions frontend/src/components/Layout/Header.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, { useState } from "react";
import { Link } from "react-router-dom";
import styles from "../../styles/styles";
import royalLands from "../../Images/logo.svg"
import { categoriesData, productData } from "../../static/data";
import {
AiOutlineHeart,
Expand Down Expand Up @@ -221,7 +222,7 @@ const Header = ({ activeHeading }) => {
<div>
<Link to="/">
<img
src="https://shopo.quomodothemes.website/assets/images/logo.svg"
src={logo}
alt=""
className="mt-3 cursor-pointer"
/>
Expand All @@ -232,10 +233,8 @@ const Header = ({ activeHeading }) => {
className="relative mr-[20px]"
onClick={() => setOpenCart(true)}
>
<AiOutlineShoppingCart size={30} />
<span class="absolute right-0 top-0 rounded-full bg-[#3bc177] w-4 h-4 top right p-0 m-0 text-white font-mono text-[12px] leading-tight text-center">
{cart && cart.length}
</span>


</div>
</div>
{/* cart popup */}
Expand Down

0 comments on commit 79f44ee

Please sign in to comment.