switch to link component and fix seo canonical

This commit is contained in:
Timothy
2021-01-10 15:45:45 +08:00
parent 9b8a7253b8
commit 83d74cb309
7 changed files with 36 additions and 25 deletions

View File

@@ -21,9 +21,8 @@ const MobileNav = () => {
<div className="sm:hidden">
<button
type="button"
className="rounded ml-1 mr-1 h-8 w-8 focus:outline-none"
className="rounded ml-1 mr-1 h-8 w-8"
aria-label="Toggle Menu"
aria-hidden={!navShow}
onClick={onToggleNav}
>
<svg
@@ -54,6 +53,7 @@ const MobileNav = () => {
>
<button
type="button"
aria-label="toggle modal"
className="w-full h-full fixed cursor-auto focus:outline-none"
onClick={onToggleNav}
></button>