add dark theme provider

This commit is contained in:
Milo Schwartz
2024-10-14 18:26:07 -04:00
parent 23b98960cc
commit bd4b714ab8
5 changed files with 33 additions and 7 deletions

View File

@@ -50,7 +50,11 @@ export function TopbarNav({
aria-disabled={disabled}
>
<div className="flex items-center gap-2">
{item.icon}
{item.icon && (
<div className="hidden md:block">
{item.icon}
</div>
)}
{item.title}
</div>
</Link>