profile edit #46
@ -85,12 +85,12 @@ interface NavButtonProps {
|
|||||||
viewBox?: string
|
viewBox?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
const NavButton = ({ to, isActive, svgPath, viewBox='0 0 512 512' }: NavButtonProps) => (
|
const NavButton = ({ to, isActive, svgPath, viewBox = '0 0 512 512' }: NavButtonProps) => (
|
||||||
<Link
|
<Link
|
||||||
to={to}
|
to={to}
|
||||||
className={btn btnMain socialNavInsideBtn ${
|
className={`btn btnMain socialNavInsideBtn ${
|
||||||
isActive ? 'socialNavInsideBtnActive' : ''
|
isActive ? 'socialNavInsideBtnActive' : ''
|
||||||
}}
|
}`}
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
xmlns='http://www.w3.org/2000/svg'
|
xmlns='http://www.w3.org/2000/svg'
|
||||||
@ -102,4 +102,6 @@ const NavButton = ({ to, isActive, svgPath, viewBox='0 0 512 512' }: NavButtonPr
|
|||||||
<path d={svgPath}></path>
|
<path d={svgPath}></path>
|
||||||
</svg>
|
</svg>
|
||||||
</Link>
|
</Link>
|
||||||
)
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user