File tree Expand file tree Collapse file tree 1 file changed +16
-12
lines changed
src/components/post-cards-adjacent Expand file tree Collapse file tree 1 file changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -7,18 +7,22 @@ const PostCardsAdjacent = ({ prevPost, nextPost }) => {
77 return (
88 < div className = "post-cards-adjacent-wrapper" >
99 < div className = "post-cards-adjacent" >
10- { prevPost && (
11- < Link className = "post-card prev" key = { prevPost . id } to = { prevPost . slug } >
12- < div className = "direction" > 이전 글</ div >
13- < div className = "title" > { prevPost . title } </ div >
14- </ Link >
15- ) }
16- { nextPost && (
17- < Link className = "post-card next" key = { nextPost . id } to = { nextPost . slug } >
18- < div className = "direction" > 다음 글</ div >
19- < div className = "title" > { nextPost . title } </ div >
20- </ Link >
21- ) }
10+ < div className = "post-card-adjacent-wrapper" >
11+ { nextPost && (
12+ < Link className = "post-card prev" key = { nextPost . id } to = { nextPost . slug } >
13+ < div className = "direction" > 이전 글</ div >
14+ < div className = "title" > { nextPost . title } </ div >
15+ </ Link >
16+ ) }
17+ </ div >
18+ < div className = "post-card-adjacent-wrapper" >
19+ { prevPost && (
20+ < Link className = "post-card next" key = { prevPost . id } to = { prevPost . slug } >
21+ < div className = "direction" > 다음 글</ div >
22+ < div className = "title" > { prevPost . title } </ div >
23+ </ Link >
24+ ) }
25+ </ div >
2226 </ div >
2327 </ div >
2428 ) ;
You can’t perform that action at this time.
0 commit comments