Skip to content

Commit

Permalink
chore: rm obsolete use client directive, add menu down carret
Browse files Browse the repository at this point in the history
  • Loading branch information
marktlinn committed Sep 8, 2023
1 parent 08006a9 commit 684c3b0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/navbar/Bell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function Bell({
<span className="indicator-item badge badge-error px-1 rounded-full text-white">
{notificationCount}
</span>
<BellIcon className="h-6 w-6 text-white hover:text-base-100 duration-200 self-center cursor-pointer" />
<BellIcon className="h-6 w-6 hover:text-base-100 duration-200 self-center cursor-pointer" />
</div>
);
}
4 changes: 1 addition & 3 deletions src/components/navbar/ChinguMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
"use client";

import Image from "next/image";

export default function ChinguMenu() {
return (
<div className="flex items-center gap-2">
<div className="flex items-center gap-2 cursor-pointer">
<Image
src="/chingu_logo.png"
width={50}
Expand Down
3 changes: 2 additions & 1 deletion src/components/navbar/DropDown.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { ChevronDownIcon } from "@heroicons/react/24/outline";
import DropDownLink from "./DropDownLink";

export default function DropDown({ name }: { name: string }) {
Expand All @@ -7,7 +8,7 @@ export default function DropDown({ name }: { name: string }) {
tabIndex={0}
className="btn m-0 p-0 bg-transparent border-none hover:border-none hover:bg-transparent"
>
{name}
{name} <ChevronDownIcon className="w-4" />
</label>
<ul
tabIndex={0}
Expand Down
2 changes: 1 addition & 1 deletion src/components/navbar/DropDownLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function DropDownLink({ title, href = "#" }: DropDownLinkProps) {
<li>
<Link
href={href}
className="text-neutral hover:text-primary font-semibold duration-200"
className="text-neutral hover:text-neutral-focus font-semibold duration-200"
>
{title}
</Link>
Expand Down

0 comments on commit 684c3b0

Please sign in to comment.