add navigation to home for mobile

This commit is contained in:
Timothy Lin
2023-07-29 22:35:45 +08:00
parent 0fc89247ba
commit 3dcb7e56f9
3 changed files with 13 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ const MobileNav = () => {
</svg>
</button>
<div
className={`fixed left-0 top-0 z-10 h-full w-full transform bg-gray-200 opacity-95 duration-300 ease-in-out dark:bg-gray-800 ${
className={`fixed left-0 top-0 z-10 h-full w-full transform opacity-95 dark:opacity-[0.98] bg-white duration-300 ease-in-out dark:bg-gray-950 ${
navShow ? 'translate-x-0' : 'translate-x-full'
}`}
>