feat(nimbus-logo-mark): wrap with link to landing page

This commit is contained in:
RadoslavDimchev 2024-04-12 11:05:29 +03:00 committed by Emil Ivanichkov
parent b94e18f1c2
commit f84066639b
1 changed files with 18 additions and 14 deletions

View File

@ -1,19 +1,23 @@
import { Link } from 'react-router-dom'
const NimbusLogoMark = () => {
return (
<div className="nimbus-logomark">
<svg
xmlns="http://www.w3.org/2000/svg"
width="147"
height="73"
viewBox="0 0 147 73"
fill="none"
>
<path
d="M110.25 36.5002V73C90.0427 73 79.625 71.1754 67.375 54.7503C55.125 38.3252 47.2108 36.4998 36.75 36.4998V73H0V36.4998H36.75V1.4385e-08C55.6049 -2.9897e-08 67.375 2.43335 79.625 18.2501C91.875 34.0669 98.3343 36.5002 110.25 36.5002V0H147V36.5002H110.25Z"
fill="currentColor"
/>
</svg>
</div>
<Link to="/" style={{ textDecoration: 'none', color: 'inherit' }}>
<div className="nimbus-logomark">
<svg
xmlns="http://www.w3.org/2000/svg"
width="147"
height="73"
viewBox="0 0 147 73"
fill="none"
>
<path
d="M110.25 36.5002V73C90.0427 73 79.625 71.1754 67.375 54.7503C55.125 38.3252 47.2108 36.4998 36.75 36.4998V73H0V36.4998H36.75V1.4385e-08C55.6049 -2.9897e-08 67.375 2.43335 79.625 18.2501C91.875 34.0669 98.3343 36.5002 110.25 36.5002V0H147V36.5002H110.25Z"
fill="currentColor"
/>
</svg>
</div>
</Link>
)
}