www: use unicode arrows for navigation buttons in docs (#250)
Prefer unicode arrows to those made of ascii art.
This commit is contained in:
@@ -239,7 +239,7 @@ function ForwardBackButtons(props: { slug: string }) {
|
|||||||
<div class={tw`mt-8 flex flex(col md:row) gap-4`}>
|
<div class={tw`mt-8 flex flex(col md:row) gap-4`}>
|
||||||
{previous && (
|
{previous && (
|
||||||
<a href={previous.href} class={tw`${button} text-left`}>
|
<a href={previous.href} class={tw`${button} text-left`}>
|
||||||
<span class={upper}>{"<-"} Previous</span>
|
<span class={upper}>{"←"} Previous</span>
|
||||||
<span class={lower}>
|
<span class={lower}>
|
||||||
<span class={category}>
|
<span class={category}>
|
||||||
{previous.category
|
{previous.category
|
||||||
@@ -252,7 +252,7 @@ function ForwardBackButtons(props: { slug: string }) {
|
|||||||
)}
|
)}
|
||||||
{next && (
|
{next && (
|
||||||
<a href={next.href} class={tw`${button} text-right`}>
|
<a href={next.href} class={tw`${button} text-right`}>
|
||||||
<span class={upper}>Next {"->"}</span>
|
<span class={upper}>Next {"→"}</span>
|
||||||
<span class={lower}>
|
<span class={lower}>
|
||||||
<span class={category}>
|
<span class={category}>
|
||||||
{next.category
|
{next.category
|
||||||
|
|||||||
Reference in New Issue
Block a user