diff --git a/public/Logo.png b/public/Logo.png new file mode 100644 index 0000000..d6d8a09 Binary files /dev/null and b/public/Logo.png differ diff --git a/public/icons/Books.png b/public/icons/Books.png index cc98947..e128eec 100644 Binary files a/public/icons/Books.png and b/public/icons/Books.png differ diff --git a/public/logo.png b/public/logo.png deleted file mode 100644 index f0e7067..0000000 Binary files a/public/logo.png and /dev/null differ diff --git a/src/app/components/Dropdown.tsx b/src/app/components/Dropdown.tsx index fba9f39..ca0fa76 100644 --- a/src/app/components/Dropdown.tsx +++ b/src/app/components/Dropdown.tsx @@ -78,12 +78,14 @@ export default function Dropdown({
+ {index < sortOption.length - 1 && ( +
+ )} +
+ ))} + ); } diff --git a/src/app/search/_components/presentation/SearchResult.tsx b/src/app/search/_components/presentation/SearchResult.tsx index 78bd5ad..10d6a3a 100644 --- a/src/app/search/_components/presentation/SearchResult.tsx +++ b/src/app/search/_components/presentation/SearchResult.tsx @@ -46,9 +46,10 @@ export default function SearchResult({
-

+

{book.title}

+

{book.contents}

@@ -59,6 +60,7 @@ export default function SearchResult({
작가
{book.authors}
+ {book.translators && book.translators.length > 0 ? (
번역
@@ -78,12 +80,14 @@ export default function SearchResult({
-
-
ISBN-10
-
- {book.isbn.split(" ")[0]} -
-
+ {book.isbn.split(" ")[0] && ( +
+
ISBN-10
+
+ {book.isbn.split(" ")[0]} +
+
+ )}
ISBN-13
diff --git a/src/app/search/page.tsx b/src/app/search/page.tsx index 8a5752c..1e9f5c5 100644 --- a/src/app/search/page.tsx +++ b/src/app/search/page.tsx @@ -1,5 +1,4 @@ import { BookResponse } from "@/types/common"; -import SearchBar from "../components/SearchBar"; import { getBookSearch } from "@/libs/apis/searchApi"; import SearchResultContainer from "./_components/container/SearchResultContainer"; @@ -18,9 +17,7 @@ export default async function Search({ searchParams }: SearchProps) { const searchData: BookResponse = await getBookSearch(query, page, 15, sort); return ( -
- - +
void; - setCurrentPage: (page: number) => void; setOpenDropdownId: (id: string | null) => void; resetSearchState: () => void; @@ -24,13 +22,9 @@ export const useSearchStore = create()( openDropdownId: null, setOpenDropdownId: (id) => set({ openDropdownId: id }), - currentPage: 1, - setCurrentPage: (page) => set({ currentPage: page }), - resetSearchState: () => set({ query: "", - currentPage: 1, openDropdownId: null, }), }),