1
Fork 0
mirror of https://github.com/Steffo99/steffoweb.git synced 2024-11-21 15:44:31 +00:00

fix link ordering

This commit is contained in:
Steffo 2023-01-16 16:51:41 +01:00
parent 3ef31cab0c
commit 933169f731
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -24,11 +24,11 @@ export const LinkPanel = ({href, icon, text, me, fade}: LinkPanelProps) => {
if(href) {
return (
<a className={cn({panel: true, [style.linkPanel]: true, fade: fade})} rel={me ? "me" : ""}>
<Link href={href}>
<Link href={href}>
<a className={cn({panel: true, [style.linkPanel]: true, fade: fade})} rel={me ? "me" : ""}>
{panel}
</Link>
</a>
</a>
</Link>
)
}
else {