navbar cols

This commit is contained in:
Ivan Dimitrov 2023-11-16 14:32:46 +02:00
parent 58403c710b
commit 68efec0ec4

View File

@ -6,8 +6,8 @@ const Navbar = () => {
const path = usePathname()
const link = (text: string, href: string) => {
return (
<Link data-selected={path === href} className="gradient w-full h-max rounded-md border-2" aria-label={text} href={href}>
<div className="btn">
<Link className="gradient w-full h-max rounded-md border-2" aria-label={text} href={href}>
<div data-selected={path === href} className="btn data-[selected=true]:opacity-80">
{text}
</div>
</Link>