test home nav icon fix
All checks were successful
Release to Staging / build_and_release (push) Successful in 42s
All checks were successful
Release to Staging / build_and_release (push) Successful in 42s
This commit is contained in:
parent
56c45f5c57
commit
09f3307635
@ -85,21 +85,23 @@ interface NavButtonProps {
|
||||
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
|
||||
to={to}
|
||||
className={btn btnMain socialNavInsideBtn ${
|
||||
className={`btn btnMain socialNavInsideBtn ${
|
||||
isActive ? 'socialNavInsideBtnActive' : ''
|
||||
}}
|
||||
}`}
|
||||
>
|
||||
<svg
|
||||
xmlns='http://www.w3.org/2000/svg'
|
||||
viewBox={viewBox}
|
||||
width='1em'
|
||||
width='1em'
|
||||
height='1em'
|
||||
fill='currentColor'
|
||||
>
|
||||
<path d={svgPath}></path>
|
||||
</svg>
|
||||
</Link>
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user