1
0
Fork 0

feat(fs.shared): Use entities for right left arrows

This commit is contained in:
Joost De Cock 2021-12-27 14:59:32 +01:00
parent 5c0d6cc0ae
commit 0d4cf95f70

View file

@ -74,16 +74,22 @@ const next = app => {
const renderPrevious = node => node
? (
<Link href={'/'+node.__slug}>
<a className="text-secondary"><Left />{node.__linktitle}</a>
</Link>
<div>
<span className="mr-2 text-3xl leading-3 opacity-60">&#x025C3;</span>
<Link href={'/'+node.__slug}>
<a className="text-secondary">{node.__linktitle}</a>
</Link>
</div>
) : <span></span>
const renderNext = node => node
? (
<Link href={'/'+node.__slug}>
<a>{node.__linktitle} <Right /></a>
</Link>
<div>
<Link href={'/'+node.__slug}>
<a>{node.__linktitle}</a>
</Link>
<span className="ml-2 text-3xl leading-3 opacity-60">&#x025B9;</span>
</div>
) : <span></span>
const PrevNext = ({ app }) => {