Skip to content

Commit

Permalink
Merge pull request #22 from NirmalNaveen20/bug-fix
Browse files Browse the repository at this point in the history
feat: update changes to header
  • Loading branch information
NirmalNaveen20 authored Dec 31, 2023
2 parents 79f44ee + 23c5be9 commit e1b8ea8
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions frontend/src/components/Layout/Header.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
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 @@ -256,10 +255,8 @@ const Header = ({ activeHeading }) => {
className="relative mr-[15px]"
onClick={() => setOpenWishlist(true) || setOpen(false)}
>
<AiOutlineHeart size={30} className="mt-5 ml-3" />
<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">
{wishlist && wishlist.length}
</span>


</div>
</div>
<RxCross1
Expand All @@ -272,7 +269,7 @@ const Header = ({ activeHeading }) => {
<div className="my-8 w-[92%] m-auto h-[40px relative]">
<input
type="search"
placeholder="Search Product..."
placeholder="Search Properties..."
className="h-[40px] w-full px-2 border-[#3957db] border-[2px] rounded-md"
value={searchTerm}
onChange={handleSearchChange}
Expand Down Expand Up @@ -304,7 +301,7 @@ const Header = ({ activeHeading }) => {
<div className={`${styles.button} ml-4 !rounded-[4px]`}>
<Link to="/shop-create">
<h1 className="text-[#fff] flex items-center">
Become Seller <IoIosArrowForward className="ml-1" />
Become Agent <IoIosArrowForward className="ml-1" />
</h1>
</Link>
</div>
Expand Down

0 comments on commit e1b8ea8

Please sign in to comment.