app/web: add logo-primary-dev

This commit is contained in:
vchikalkin 2023-11-20 11:52:32 +03:00
parent f5f5938971
commit 773f1a355f
2 changed files with 36 additions and 1 deletions

View File

@ -1,6 +1,10 @@
import { getEnv } from '@/config/env';
import Image from 'next/image';
import logo from 'public/assets/images/logo-primary.svg';
import logoDev from 'public/assets/images/logo-primary-dev.svg';
const env = getEnv();
export function Logo() {
return <Image priority alt="logo" src={logo} height="24" />;
return <Image priority alt="logo" src={env.USE_DEV_COLORS ? logoDev : logo} height="24" />;
}

View File

@ -0,0 +1,31 @@
<svg width="217" height="32" viewBox="0 0 217 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M11.1704 0C6.82137 0 3.8457 2.97567 3.8457 2.97567L6.91293 6.59226C6.91293 6.59226 8.19476 5.08153 11.2162 5.08153C14.2377 5.08153 17.7627 7.09584 17.7627 11.216C17.7627 15.3362 14.4666 17.8998 11.3078 17.8998C8.14898 17.8998 6.91293 15.9771 6.91293 15.9771L3.8457 19.5479C3.8457 19.5479 6.91293 22.5236 11.1704 22.5236C15.4279 22.5236 22.4322 19.319 22.4322 11.2618C22.4322 3.20457 15.5195 0 11.1704 0Z"
fill="#BF3676" />
<path
d="M11.6765 14.51C13.3949 14.4578 14.7456 13.0224 14.6934 11.304C14.6412 9.58559 13.2058 8.23486 11.4874 8.28707C9.76902 8.33927 8.4183 9.77464 8.4705 11.493C8.52271 13.2115 9.95807 14.5622 11.6765 14.51Z"
fill="#BF3676" />
<path
d="M11.5822 27.8798C8.24031 27.8798 5.03575 26.9185 2.2432 25.1331L0 28.6123C3.43346 30.8097 7.46206 32 11.5822 32C15.2904 32 18.9527 31.0386 22.2031 29.2074L20.143 25.6366C17.5336 27.1016 14.6037 27.8798 11.5822 27.8798Z"
fill="#BF3676" />
<path
d="M42.8496 10.8954C44.4976 10.8954 45.7337 7.50769 45.7337 6.18009C45.7337 4.85248 44.3145 0.503418 38.5463 0.503418C32.778 0.503418 29.665 0.503418 29.665 0.503418V22.0198C29.665 22.0198 34.2888 22.0198 39.7365 22.0198C45.1843 22.0198 46.6493 18.6321 46.6493 16.1143C46.6035 13.5964 44.4976 10.8954 42.8496 10.8954ZM34.243 4.5778C34.243 4.5778 35.9368 4.5778 38.1343 4.5778C40.3317 4.5778 40.6979 6.18009 40.6979 6.86678C40.6979 7.55347 40.4232 9.24732 37.0813 9.24732C36.7151 9.24732 34.2888 9.24732 34.2888 9.24732V4.5778H34.243ZM39.4161 17.4419C37.8138 17.4419 34.2888 17.4419 34.2888 17.4419V13.3217C34.2888 13.3217 37.4018 13.3217 39.0956 13.3217C40.7895 13.3217 41.5677 13.9626 41.5677 15.2902C41.5677 16.6178 41.0184 17.4419 39.4161 17.4419Z"
fill="#BF3676" />
<path
d="M63.4047 0C57.2703 0 52.2803 5.03575 52.2803 11.2618C52.2803 17.4878 57.2703 22.5236 63.4047 22.5236C69.5392 22.5236 74.5292 17.4878 74.5292 11.2618C74.5292 5.03575 69.5392 0 63.4047 0ZM63.1758 17.9456C59.6508 17.9456 56.8125 14.9699 56.8125 11.2618C56.8125 7.55363 59.6508 4.57796 63.1758 4.57796C66.7008 4.57796 69.5392 7.55363 69.5392 11.2618C69.5392 14.9699 66.7008 17.9456 63.1758 17.9456Z"
fill="#BF3676" />
<path
d="M125.207 0C119.805 0 115.273 3.93704 114.266 9.11014L110.695 9.65949V0.503575H105.659V22.02H110.649V14.1917L114.266 13.505C115.273 18.6781 119.805 22.5693 125.161 22.5693C131.296 22.5693 136.286 17.5336 136.286 11.3076C136.377 5.03575 131.387 0 125.207 0ZM125.024 17.9456C121.499 17.9456 118.661 14.9699 118.661 11.2618C118.661 7.55363 121.499 4.57796 125.024 4.57796C128.549 4.57796 131.387 7.55363 131.387 11.2618C131.387 14.9699 128.549 17.9456 125.024 17.9456Z"
fill="#BF3676" />
<path
d="M86.9353 0.503418L78.1914 22.0198H83.6849L88.7665 9.24732L89.0869 9.20154L94.3515 22.0198H99.4788L90.735 0.503418H86.9353Z"
fill="#BF3676" />
<path d="M162.38 0.503418H157.482V17.3961H147.227V0.503418H142.604V22.0198H165.814V17.4876H162.38V0.503418Z"
fill="#BF3676" />
<path
d="M177.716 13.3217V0.503418H172.543V22.0198H177.167L187.192 8.69796V22.0198H192.228V0.503418H187.467L177.716 13.3217Z"
fill="#BF3676" />
<path
d="M208.664 0.503418C204.269 0.503418 199.096 1.09855 199.096 7.69081C199.096 11.1701 200.927 13.5048 203.216 14.3289C201.201 16.7552 197.539 22.0198 197.539 22.0198H203.902L208.755 15.0155H211.822V22.0198H216.904V0.503418C216.95 0.503418 213.104 0.503418 208.664 0.503418ZM211.96 11.0327C211.96 11.0327 210.678 11.0327 207.702 11.0327C204.726 11.0327 204.589 8.92686 204.589 7.69081C204.589 6.45476 205.001 4.94404 207.885 4.94404C210.769 4.94404 211.96 4.94404 211.96 4.94404V11.0327Z"
fill="#BF3676" />
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB