-
Notifications
You must be signed in to change notification settings - Fork 1
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 #443 from KEEPER31337/feature/도서검색_ui_구현_#369
Feature/도서검색 UI 구현 #369
- Loading branch information
Showing
3 changed files
with
64 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import React from 'react'; | ||
import { Typography } from '@mui/material'; | ||
import OutlinedButton from '@components/Button/OutlinedButton'; | ||
import { ReactComponent as Logo } from '@assets/logo/logo_neon.svg'; | ||
|
||
const BookCard = () => { | ||
return ( | ||
<div className="flex h-fit bg-mainBlack p-2"> | ||
<div className="mr-2 flex h-[120px] w-[85px] bg-middleBlack"> | ||
<Logo className="m-2 w-full" /> | ||
</div> | ||
<div className="relative grow p-2"> | ||
<div> | ||
<Typography className="!mb-2 font-semibold">Beginning Linux programming 4th Edition</Typography> | ||
<div className="flex space-x-2"> | ||
<Typography>저자 : 페트릭 엔게브렛슨</Typography> | ||
<span className="text-pointBlue"> | </span> | ||
<Typography>권수 : 2/3</Typography> | ||
</div> | ||
</div> | ||
|
||
<div className="absolute bottom-0 right-0"> | ||
<OutlinedButton>대출 신청</OutlinedButton> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default BookCard; |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import React from 'react'; | ||
import PageTitle from '@components/Typography/PageTitle'; | ||
import SearchSection from '@components/Section/SearchSection'; | ||
import StandardTablePagination from '@components/Pagination/StandardTablePagination'; | ||
import { Typography } from '@mui/material'; | ||
import BookCard from './Card/BookCard'; | ||
|
||
const Library = () => { | ||
return ( | ||
<div> | ||
<PageTitle>도서검색</PageTitle> | ||
<div className="mb-5 flex w-full items-center justify-between"> | ||
<SearchSection /> | ||
<Typography className="text-pointBlue">신청 가능 권수 : 1/5</Typography> | ||
</div> | ||
<div className="grid grid-cols-2"> | ||
<BookCard /> | ||
<BookCard /> | ||
<BookCard /> | ||
<BookCard /> | ||
<BookCard /> | ||
<BookCard /> | ||
</div> | ||
<StandardTablePagination /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Library; |
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