mirror of
https://github.com/Steffo99/steffoweb.git
synced 2024-11-25 01:24:29 +00:00
fix link ordering
This commit is contained in:
parent
3ef31cab0c
commit
933169f731
1 changed files with 4 additions and 4 deletions
|
@ -24,11 +24,11 @@ export const LinkPanel = ({href, icon, text, me, fade}: LinkPanelProps) => {
|
||||||
|
|
||||||
if(href) {
|
if(href) {
|
||||||
return (
|
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}
|
{panel}
|
||||||
</Link>
|
</a>
|
||||||
</a>
|
</Link>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue