File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import PropTypes from "prop-types" ;
22import Link from "../Link/Link.jsx" ;
3- import "./AdjacentPages.scss" ;
43
54export default function AdjacentPages ( { previous, next } ) {
65 if ( ! previous && ! next ) return null ;
76 return (
8- < div className = "adjacent-links print:hidden" >
7+ < div className = "flex py-[30px] justify-between print:hidden" >
98 { previous && (
10- < div className = "adjacent-links__prev " >
9+ < div className = "mr-auto " >
1110 < div > « Previous</ div >
12- < Link className = "adjacent-links__link " to = { previous . url } >
11+ < Link className = "text-lg " to = { previous . url } >
1312 { previous . title }
1413 </ Link >
1514 </ div >
1615 ) }
1716 { next && (
18- < div className = "adjacent-links__next " >
19- < div className = "adjacent-links__label--next " > Next »</ div >
20- < Link className = "adjacent-links__link " to = { next . url } >
17+ < div className = "ml-auto " >
18+ < div className = "text-right " > Next »</ div >
19+ < Link className = "text-lg " to = { next . url } >
2120 { next . title }
2221 </ Link >
2322 </ div >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments