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