-
Notifications
You must be signed in to change notification settings - Fork 2
[Feat/search] 로고 변경 #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
db8d3a5
Modify: 전역 상태 currentPage 삭제
fullkeem b06f395
Squashed commit of the following:
fullkeem deec8fd
Design: 로고 변경
fullkeem c74ac32
Design: sort Select 버튼 html/css 변경
fullkeem dbad904
Modify: searchBar를 NavBar 안으로 이동
fullkeem 3e5c60a
Fix: SearchResult 키값 과 핸들링함수 버그 수정
fullkeem 5f833ef
Merge branch 'dev' into feat/search
fullkeem af78226
BugFix: 로고 경로 오류 수정
fullkeem cd2820d
Remove: 로고 삭제
fullkeem 01559a7
Add: 로고 추가
fullkeem e47719c
BugFix: SearchResult "li" 요소 key 값 변경
fullkeem File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains hidden or 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 hidden or 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,40 +1,45 @@ | ||
| "use client"; | ||
|
|
||
| import Image from "next/image"; | ||
| import { useRouter } from "next/navigation"; | ||
|
|
||
| import Logo from "/public/logo.png"; | ||
| import Logo from "/public/Logo.png"; | ||
| import BookIcon from "/public/icons/Books.png"; | ||
|
|
||
| import { useSearchStore } from "@/stores/searchStore"; | ||
| import SearchBar from "./SearchBar"; | ||
|
|
||
| export default function Navbar() { | ||
| const router = useRouter(); | ||
| const { resetSearchState } = useSearchStore(); | ||
|
|
||
| return ( | ||
| <div className="flex h-[100px] w-full items-center justify-between bg-navbar"> | ||
| <div className="flex w-full items-center justify-between border-b-2 border-borderColor bg-navbar p-4"> | ||
| <Image | ||
| className="cursor-pointer" | ||
| src={Logo} | ||
| sizes="100" | ||
| priority={true} | ||
| alt="Logo" | ||
| width={75} | ||
| height={75} | ||
| priority={true} | ||
| style={{ width: 75, height: 75 }} | ||
| onClick={() => { | ||
| resetSearchState(); | ||
| router.push("/"); | ||
| }} | ||
| /> | ||
| <div className="flex w-10"> | ||
| <Image | ||
| className="cursor-pointer" | ||
| src={BookIcon} | ||
| sizes="28" | ||
| alt="books" | ||
| onClick={() => { | ||
| resetSearchState(); | ||
| router.push("/bookshelf"); | ||
| }} | ||
| /> | ||
| </div> | ||
| <SearchBar /> | ||
| <Image | ||
| className="cursor-pointer" | ||
| src={BookIcon} | ||
| width={45} | ||
| height={45} | ||
| alt="books" | ||
| onClick={() => { | ||
| resetSearchState(); | ||
| router.push("/bookshelf"); | ||
| }} | ||
| /> | ||
| </div> | ||
| ); | ||
| } |
This file contains hidden or 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
Binary file not shown.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.