www: use unicode arrows for navigation buttons in docs (#250)

Prefer unicode arrows to those made of ascii art.
This commit is contained in:
Ward Cunningham
2022-06-20 11:53:41 +02:00
committed by GitHub
parent b9e6385b35
commit 3e001fe242
+2 -2
View File
@@ -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