navbar cols
This commit is contained in:
parent
58403c710b
commit
68efec0ec4
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user