test home nav icon fix
Some checks failed
Release to Staging / build_and_release (push) Failing after 19s
Some checks failed
Release to Staging / build_and_release (push) Failing after 19s
This commit is contained in:
parent
ceeb6d22d0
commit
56c45f5c57
@ -82,19 +82,20 @@ interface NavButtonProps {
|
||||
to: string
|
||||
isActive: boolean
|
||||
svgPath: string
|
||||
viewBox?: string
|
||||
}
|
||||
|
||||
const NavButton = ({ to, isActive, svgPath }: 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='0 0 512 512'
|
||||
width='1em'
|
||||
viewBox={viewBox}
|
||||
width='1em'
|
||||
height='1em'
|
||||
fill='currentColor'
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user