forked from nihonium/nyanimedb
feat: titles page
This commit is contained in:
parent
6836cfa057
commit
b976c35b8e
44 changed files with 1539 additions and 107 deletions
59
modules/frontend/src/pages/TitlesPage/TitlesPage.module.css
Normal file
59
modules/frontend/src/pages/TitlesPage/TitlesPage.module.css
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
.container {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.searchInput {
|
||||
padding: 8px;
|
||||
width: 240px;
|
||||
}
|
||||
|
||||
.list {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.card {
|
||||
display: flex;
|
||||
padding: 10px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 8px;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.poster {
|
||||
width: 80px;
|
||||
height: 120px;
|
||||
object-fit: cover;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.posterPlaceholder {
|
||||
width: 80px;
|
||||
height: 120px;
|
||||
background: #eee;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.cardInfo {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.loadMore {
|
||||
margin-top: 16px;
|
||||
padding: 8px 16px;
|
||||
}
|
||||
|
||||
.loader,
|
||||
.error {
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue