update search page icons

This commit is contained in:
Yee Jia Wei
2023-12-17 16:57:05 +08:00
parent 5f095b5631
commit 4210913277
4 changed files with 11 additions and 32 deletions
+3 -7
View File
@@ -1,6 +1,4 @@
import React from "react";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faFilter } from "@fortawesome/free-solid-svg-icons";
type Props = {
setSearchFilter: Function;
@@ -24,11 +22,9 @@ export default function FilterSearchDropdown({
role="button"
className="btn btn-sm btn-square btn-ghost"
>
<FontAwesomeIcon
icon={faFilter}
id="sort-dropdown"
className="w-5 h-5 text-neutral"
/>
<i
className="bi-funnel text-neutral text-2xl"
></i>
</div>
<ul className="dropdown-content z-[30] menu shadow bg-base-200 border border-neutral-content rounded-box w-44 mt-1">
<li>
+1 -1
View File
@@ -6,7 +6,7 @@ export default function PageHeader({
icon,
}: {
title: string;
description: string;
description?: string;
icon: string;
}) {
return (
+3 -8
View File
@@ -14,14 +14,9 @@ export default function SortDropdown({ sortBy, setSort }: Props) {
role="button"
className="btn btn-sm btn-square btn-ghost"
>
<svg
className="w-5 h-5 text-neutral"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
>
<path d="M3 6H12H21M6 12H18M9 18H15" stroke="currentColor"></path>
</svg>
<i
className="bi-filter text-neutral text-2xl"
></i>
</div>
<ul className="dropdown-content z-[30] menu shadow bg-base-200 border border-neutral-content rounded-xl w-52 mt-1">
<li>