Added hoverstates

This commit is contained in:
2021-08-21 19:59:39 +02:00
parent 4377fc56c8
commit 2cf66ab6cb

View File

@@ -6,7 +6,7 @@
</script>
<a
class="flex items-center px-4 py-2 rounded-md"
class="flex items-center px-4 py-2 mt-5 transition-colors duration-200 transform rounded-md hover:bg-gray-200 dark:hover:bg-gray-700 dark:hover:text-gray-200 hover:text-gray-700"
class:dark:bg-gray-700={currentPage == pageUrl}
class:bg-gray-200={currentPage == pageUrl}
class:dark:text-gray-200={currentPage == pageUrl}