|
| 1 | +import { SVGProps } from 'react'; |
| 2 | + |
| 3 | +import { cn } from '@/shared/lib/utils'; |
| 4 | + |
| 5 | +export const DecoAura = (props: SVGProps<SVGSVGElement>) => { |
| 6 | + const { className, ...restProps } = props; |
| 7 | + |
| 8 | + return ( |
| 9 | + <svg |
| 10 | + className={cn(className)} |
| 11 | + width="529" |
| 12 | + height="529" |
| 13 | + viewBox="0 0 529 529" |
| 14 | + fill="none" |
| 15 | + xmlns="http://www.w3.org/2000/svg" |
| 16 | + {...restProps} |
| 17 | + > |
| 18 | + <g opacity="0.4" filter="url(#filter0_di_6472_998)"> |
| 19 | + <circle cx="264.818" cy="264.818" r="251.818" fill="#6C4BFF" fillOpacity="0.04" shapeRendering="crispEdges" /> |
| 20 | + </g> |
| 21 | + <g opacity="0.6" filter="url(#filter1_di_6472_998)"> |
| 22 | + <circle cx="264.817" cy="264.817" r="164" fill="#6C4BFF" fillOpacity="0.08" shapeRendering="crispEdges" /> |
| 23 | + </g> |
| 24 | + <defs> |
| 25 | + <filter |
| 26 | + id="filter0_di_6472_998" |
| 27 | + x="0.867884" |
| 28 | + y="0.867884" |
| 29 | + width="527.901" |
| 30 | + height="527.901" |
| 31 | + filterUnits="userSpaceOnUse" |
| 32 | + colorInterpolationFilters="sRGB" |
| 33 | + > |
| 34 | + <feFlood floodOpacity="0" result="BackgroundImageFix" /> |
| 35 | + <feColorMatrix |
| 36 | + in="SourceAlpha" |
| 37 | + type="matrix" |
| 38 | + values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" |
| 39 | + result="hardAlpha" |
| 40 | + /> |
| 41 | + <feOffset /> |
| 42 | + <feGaussianBlur stdDeviation="6.06606" /> |
| 43 | + <feComposite in2="hardAlpha" operator="out" /> |
| 44 | + <feColorMatrix type="matrix" values="0 0 0 0 0.402214 0 0 0 0 0.268018 0 0 0 0 1 0 0 0 0.2 0" /> |
| 45 | + <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6472_998" /> |
| 46 | + <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6472_998" result="shape" /> |
| 47 | + <feColorMatrix |
| 48 | + in="SourceAlpha" |
| 49 | + type="matrix" |
| 50 | + values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" |
| 51 | + result="hardAlpha" |
| 52 | + /> |
| 53 | + <feOffset /> |
| 54 | + <feGaussianBlur stdDeviation="27.7815" /> |
| 55 | + <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> |
| 56 | + <feColorMatrix type="matrix" values="0 0 0 0 0.81654 0 0 0 0 0.763949 0 0 0 0 1 0 0 0 0.2 0" /> |
| 57 | + <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6472_998" /> |
| 58 | + </filter> |
| 59 | + <filter |
| 60 | + id="filter1_di_6472_998" |
| 61 | + x="87.2636" |
| 62 | + y="87.2636" |
| 63 | + width="355.106" |
| 64 | + height="355.106" |
| 65 | + filterUnits="userSpaceOnUse" |
| 66 | + colorInterpolationFilters="sRGB" |
| 67 | + > |
| 68 | + <feFlood floodOpacity="0" result="BackgroundImageFix" /> |
| 69 | + <feColorMatrix |
| 70 | + in="SourceAlpha" |
| 71 | + type="matrix" |
| 72 | + values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" |
| 73 | + result="hardAlpha" |
| 74 | + /> |
| 75 | + <feOffset /> |
| 76 | + <feGaussianBlur stdDeviation="6.7764" /> |
| 77 | + <feComposite in2="hardAlpha" operator="out" /> |
| 78 | + <feColorMatrix type="matrix" values="0 0 0 0 0.402214 0 0 0 0 0.268018 0 0 0 0 1 0 0 0 0.3 0" /> |
| 79 | + <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6472_998" /> |
| 80 | + <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6472_998" result="shape" /> |
| 81 | + <feColorMatrix |
| 82 | + in="SourceAlpha" |
| 83 | + type="matrix" |
| 84 | + values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" |
| 85 | + result="hardAlpha" |
| 86 | + /> |
| 87 | + <feOffset /> |
| 88 | + <feGaussianBlur stdDeviation="31.0348" /> |
| 89 | + <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> |
| 90 | + <feColorMatrix type="matrix" values="0 0 0 0 0.81654 0 0 0 0 0.763949 0 0 0 0 1 0 0 0 0.3 0" /> |
| 91 | + <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6472_998" /> |
| 92 | + </filter> |
| 93 | + </defs> |
| 94 | + </svg> |
| 95 | + ); |
| 96 | +}; |
0 commit comments