Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

added new background svg

kruzhambusc684f88a9fdd
diff --git a/src/pages/MainPage/NewMainPage.jsx b/src/pages/MainPage/NewMainPage.jsx
index e450dc401..3896811bb 100644
--- a/src/pages/MainPage/NewMainPage.jsx
+++ b/src/pages/MainPage/NewMainPage.jsx
@@ -211,6 +211,7 @@ const Main = () => {
</div>
))}
</div>
+ <BackgroundSvg className='absolute right-0 bottom-0 z-10' type='twolinecircle' />
</section>
<section className='bg-white dark:bg-[#202A3A] pt-24 sm:px-5 px-3 relative pb-28'>
<h1 className='mx-auto text-[#293451] dark:text-white font-bold text-[30px] sm:text-[45px] w-fit text-center'>Support all popular platforms</h1>
@@ -265,8 +266,8 @@ const Main = () => {
</div>
<Pricing t={t} language={language} />
<section className='bg-white dark:bg-[#181F29] pt-20 pb-20 relative'>
- <div className='absolute right-0 -top-16'>
- <BackgroundSvg type='circle' />
+ <div className='absolute right-0 top-0'>
+ <BackgroundSvg type='twolinecircle2' />
</div>
<div className='absolute rotate-[135deg] left-0 z-0'>
<BackgroundSvg type='shapes' />
@@ -527,7 +528,7 @@ const Main = () => {
</section>
<section className='bg-white dark:bg-[#202A3A] pt-20 pb-44 relative'>
<div className='absolute right-0 top-16 z-0'>
- <BackgroundSvg type='circle' />
+ <BackgroundSvg type='threecircle' />
</div>
<div className='absolute -left-9 top-52 rotate-90'>
<BackgroundSvg type='shapes' />
diff --git a/src/ui/icons/BackgroundSvg.jsx b/src/ui/icons/BackgroundSvg.jsx
index 950035d2e..873a45bdb 100644
--- a/src/ui/icons/BackgroundSvg.jsx
+++ b/src/ui/icons/BackgroundSvg.jsx
@@ -46,6 +46,55 @@ const BackgroundSvg = ({ className, type, children }) => {
)
}
+ if (type === 'twolinecircle') {
+ return (
+ <svg className={className} width='103' height='100' viewBox='0 0 103 100' fill={cx({ '#E4E4E4': theme === 'light', '#576780': theme === 'dark' })} xmlns='http://www.w3.org/2000/svg'>
+ <g opacity='0.2' clipPath='url(#clip0_561_1360)'>
+ <path d='M97.5669 0C43.6308 0 0 43.6308 0 97.5669C0 151.369 43.6308 195.134 97.5669 195.134C151.369 195.134 195.134 151.503 195.134 97.5669C195 43.6308 151.369 0 97.5669 0ZM97.5669 188.844C47.1105 188.844 6.29032 148.023 6.29032 97.5669C6.29032 47.1105 47.1105 6.29032 97.5669 6.29032C148.023 6.29032 188.844 47.1105 188.844 97.5669C188.844 147.89 147.89 188.844 97.5669 188.844Z' fill={cx({ '#E4E4E4': theme === 'light', '#576780': theme === 'dark' })} />
+ <path d='M97.5677 21.0125C55.4092 21.0125 21.147 55.2746 21.147 97.4332C21.147 139.592 55.4092 173.854 97.5677 173.854C139.726 173.854 173.988 139.726 173.988 97.567C173.988 55.2746 139.726 21.0125 97.5677 21.0125ZM97.5677 162.21C61.8333 162.21 32.7908 133.168 32.7908 97.4332C32.7908 61.6988 61.8333 32.6562 97.5677 32.6562C133.302 32.6562 162.345 61.6988 162.345 97.4332C162.345 133.168 133.302 162.21 97.5677 162.21Z' fill={cx({ '#E4E4E4': theme === 'light', '#576780': theme === 'dark' })} />
+ </g>
+ <defs>
+ <clipPath id='clip0_561_1360'>
+ <rect width='195' height='195' fill='white' />
+ </clipPath>
+ </defs>
+ </svg>
+ )
+ }
+
+ if (type === 'twolinecircle2') {
+ return (
+ <svg className={className} width='183' height='182' viewBox='0 0 183 182' fill={cx({ '#E4E4E4': theme === 'light', '#576780': theme === 'dark' })} xmlns='http://www.w3.org/2000/svg'>
+ <g opacity='0.2' clipPath='url(#clip0_561_1038)'>
+ <path d='M142.097 -102C63.5443 -102 0 -38.4557 0 40.0975C0 118.456 63.5443 182.195 142.097 182.195C220.456 182.195 284.195 118.651 284.195 40.0975C284 -38.4557 220.456 -102 142.097 -102ZM142.097 173.034C68.6122 173.034 9.16129 113.583 9.16129 40.0975C9.16129 -33.3878 68.6122 -92.8387 142.097 -92.8387C215.583 -92.8387 275.034 -33.3878 275.034 40.0975C275.034 113.388 215.388 173.034 142.097 173.034Z' fill={cx({ '#E4E4E4': theme === 'light', '#576780': theme === 'dark' })} />
+ <path d='M142.099 -71.3972C80.6984 -71.3972 30.7986 -21.4974 30.7986 39.9027C30.7986 101.303 80.6984 151.203 142.099 151.203C203.499 151.203 253.398 101.498 253.398 40.0976C253.398 -21.4974 203.499 -71.3972 142.099 -71.3972ZM142.099 134.245C90.0546 134.245 47.7567 91.9466 47.7567 39.9027C47.7567 -12.1412 90.0546 -54.4391 142.099 -54.4391C194.142 -54.4391 236.44 -12.1412 236.44 39.9027C236.44 91.9466 194.142 134.245 142.099 134.245Z' fill={cx({ '#E4E4E4': theme === 'light', '#576780': theme === 'dark' })} />
+ </g>
+ <defs>
+ <clipPath id='clip0_561_1038'>
+ <rect width='284' height='284' fill='white' transform='translate(0 -102)' />
+ </clipPath>
+ </defs>
+ </svg>
+ )
+ }
+
+ if (type === 'threecircle') {
+ return (
+ <svg width='115' height='205' viewBox='0 0 115 205' fill={cx({ '#E4E4E4': theme === 'light', '#576780': theme === 'dark' })} xmlns='http://www.w3.org/2000/svg'>
+ <g opacity='0.2' clipPath='url(#clip0_561_1345)'>
+ <path d='M102.57 0C45.8682 0 0 45.8682 0 102.57C0 159.132 45.8682 205.141 102.57 205.141C159.132 205.141 205.141 159.272 205.141 102.57C205 45.8682 159.132 0 102.57 0ZM102.57 198.528C49.5264 198.528 6.6129 155.614 6.6129 102.57C6.6129 49.5264 49.5264 6.6129 102.57 6.6129C155.614 6.6129 198.528 49.5264 198.528 102.57C198.528 155.474 155.474 198.528 102.57 198.528Z' fill={cx({ '#E4E4E4': theme === 'light', '#576780': theme === 'dark' })} />
+ <path d='M102.571 22.0898C58.2507 22.0898 22.2314 58.1091 22.2314 102.43C22.2314 146.75 58.2507 182.769 102.571 182.769C146.892 182.769 182.911 146.891 182.911 102.57C182.911 58.1091 146.892 22.0898 102.571 22.0898ZM102.571 170.528C65.0043 170.528 34.4724 139.997 34.4724 102.43C34.4724 64.8627 65.0043 34.3307 102.571 34.3307C140.138 34.3307 170.67 64.8627 170.67 102.43C170.67 139.997 140.138 170.528 102.571 170.528Z' fill={cx({ '#E4E4E4': theme === 'light', '#576780': theme === 'dark' })} />
+ <path d='M102.571 57.4053C77.6668 57.4053 57.406 77.6661 57.406 102.57C57.406 127.474 77.5261 147.735 102.571 147.735C127.475 147.735 147.735 127.474 147.735 102.57C147.595 77.6661 127.475 57.4053 102.571 57.4053ZM102.571 126.77C89.2042 126.77 78.3703 115.936 78.3703 102.57C78.3703 89.2035 89.2042 78.3696 102.571 78.3696C115.937 78.3696 126.771 89.2035 126.771 102.57C126.771 115.936 115.937 126.77 102.571 126.77Z' fill={cx({ '#E4E4E4': theme === 'light', '#576780': theme === 'dark' })} />
+ </g>
+ <defs>
+ <clipPath id='clip0_561_1345'>
+ <rect width='205' height='205' fill='white' />
+ </clipPath>
+ </defs>
+ </svg>
+ )
+ }
+
return (
<svg width='112' height='112' viewBox='0 0 112 112' fill='none' xmlns='http://www.w3.org/2000/svg'>
{ children }
@@ -55,7 +104,7 @@ const BackgroundSvg = ({ className, type, children }) => {
BackgroundSvg.propTypes = {
className: PropTypes.string,
- type: PropTypes.oneOf(['shapes', 'circle', 'semicircle']),
+ type: PropTypes.oneOf(['shapes', 'circle', 'semicircle', 'twolinecircle', 'threecircle', 'twolinecircle2']),
children: PropTypes.node,
}