@@ -27,16 +27,16 @@ export default function Wordbook() {
27
27
const { data : wordData , totalCount } = data . data . data ;
28
28
29
29
return (
30
- < div >
30
+ < div className = "bg-[#FBFCFE]" >
31
31
< div className = "bg-wordbook-gradient h-32" >
32
32
< WordbookHeader />
33
33
</ div >
34
- < div className = "flex flex-col justify-between" >
35
- < div className = "relative bottom-16 flex flex-col" >
34
+ < div className = "flex flex-col justify-between mt-[-4rem] " >
35
+ < div className = "flex flex-col" >
36
36
< div className = "flex" >
37
37
< div className = "w-[calc(46%+30px)] h-9 overflow-hidden rounded-tl-xl relative top-px" >
38
38
< div className = "bg-[#FBFCFE] [transform:rotateY(180deg)_skew(-30deg)_translate(30px,0px)] h-full rounded-tl-md flex justify-center items-center" >
39
- < div className = "[transform:rotateY(180deg)_skew(-30deg)_translate(-40px,0px)] pl-2.5 text-[#313140] font-medium text-[15px] leading-[18px] tracking-[-0.02em] opacity-90" >
39
+ < div className = "[transform:rotateY(180deg)_skew(-30deg)_translate(-40px,0px)] pl-2.5 pt-0.5 text-[#313140] font-medium text-[15px] leading-[18px] tracking-[-0.02em] opacity-90" >
40
40
총 { totalCount } 개
41
41
</ div >
42
42
</ div >
@@ -47,7 +47,7 @@ export default function Wordbook() {
47
47
/>
48
48
</ div >
49
49
{ totalCount === 0 ? (
50
- < div className = "bg-[#FBFCFE] h-[calc(100vh-23rem)] flex flex-col justify-center items-center gap-2.5" >
50
+ < div className = "bg-[#FBFCFE] flex flex-col items-center gap-2.5 pt-[8.438rem] pb-[8.125rem] " >
51
51
< NoWordSvg />
52
52
< span className = "text-[#A8AEBC] font-medium text-center tracking-[-0.02em]" >
53
53
좋아요를 누른 단어가 없어요.
@@ -72,7 +72,7 @@ export default function Wordbook() {
72
72
</ div >
73
73
) }
74
74
</ div >
75
- < div className = "flex flex-col items-center gap-8 relative top-[-2rem] " >
75
+ < div className = "flex flex-col items-center gap-5 bg-[#FBFCFE] pb-7 " >
76
76
{ totalCount === 0 ? (
77
77
< Link
78
78
href = { WORD_LIST_PATH }
@@ -81,13 +81,15 @@ export default function Wordbook() {
81
81
< p className = "text-[#383697] font-semibold" > 단어 검색하러 가기</ p >
82
82
</ Link >
83
83
) : (
84
- < Pagination
85
- viewPaginationNums = { 4 }
86
- total = { totalCount || 0 }
87
- limit = { 10 }
88
- setCurrent = { setCurrentPage }
89
- current = { currentPage }
90
- />
84
+ < div className = "flex items-center justify-center w-10/12 h-14" >
85
+ < Pagination
86
+ viewPaginationNums = { 4 }
87
+ total = { totalCount || 0 }
88
+ limit = { 10 }
89
+ setCurrent = { setCurrentPage }
90
+ current = { currentPage }
91
+ />
92
+ </ div >
91
93
) }
92
94
< QuizBanner />
93
95
</ div >
0 commit comments