-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #218 from boostcampwm-2024/refactor/header-action-…
…style ♻️ refactor: 헤더 검색 버튼 스타일 수정, 채팅 버튼 스타일 수정
- Loading branch information
Showing
5 changed files
with
35 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,25 @@ | ||
import { Search } from "lucide-react"; | ||
|
||
import { NavigationMenuLink, navigationMenuTriggerStyle } from "@/components/ui/navigation-menu"; | ||
|
||
export default function SearchButton({ handleSearchModal }: { handleSearchModal: () => void }) { | ||
return ( | ||
<NavigationMenuLink | ||
className={`${navigationMenuTriggerStyle()} hover:text-primary hover:bg-primary/10`} | ||
<div | ||
className="w-full px-4 py-3 | ||
bg-white | ||
border border-primary | ||
rounded-xl | ||
shadow-sm | ||
cursor-pointer | ||
text-primary | ||
flex | ||
justify-between | ||
items-center | ||
hover:bg-primary/5 | ||
" | ||
onClick={handleSearchModal} | ||
href="#" | ||
> | ||
<div className="flex items-center gap-2"> | ||
<Search size={16} /> | ||
<span>검색</span> | ||
</div> | ||
</NavigationMenuLink> | ||
<span className="text-sm font-medium">검색</span> | ||
<Search size={16} className="text-primary group-hover:text-secondary transition-colors" /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters