@@ -3,53 +3,31 @@ import type { IconsProps } from './dto';
33
44const Heart : React . FC < IconsProps > = ( { isFilled = false } ) => {
55 return (
6- < >
7- { isFilled ? (
8- < svg width = "56" height = "56" viewBox = "0 0 56 56" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
9- < rect x = "0.5" y = "0.5" width = "55" height = "55" rx = "27.5" fill = "white" />
10- < rect x = "0.5" y = "0.5" width = "55" height = "55" rx = "27.5" stroke = "url(#paint0_linear_3603_1320)" />
11- < path
12- d = "M28 34.8813L26.9125 33.8913C23.05 30.3888 20.5 28.0788 20.5 25.2438C20.5 22.9338 22.315 21.1188 24.625 21.1188C25.93 21.1188 27.1825 21.7263 28 22.6863C28.8175 21.7263 30.07 21.1188 31.375 21.1188C33.685 21.1188 35.5 22.9338 35.5 25.2438C35.5 28.0788 32.95 30.3888 29.0875 33.8988L28 34.8813Z"
13- fill = "#FF2389"
14- />
15- < defs >
16- < linearGradient
17- id = "paint0_linear_3603_1320"
18- x1 = "0.56"
19- y1 = "2.7451"
20- x2 = "58.788"
21- y2 = "6.19466"
22- gradientUnits = "userSpaceOnUse"
23- >
24- < stop stop-color = "#FF2389" />
25- < stop offset = "1" stop-color = "#F27575" />
26- </ linearGradient >
27- </ defs >
28- </ svg >
29- ) : (
30- < svg width = "56" height = "56" viewBox = "0 0 56 56" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
31- < rect x = "0.5" y = "0.5" width = "55" height = "55" rx = "27.5" fill = "white" />
32- < rect x = "0.5" y = "0.5" width = "55" height = "55" rx = "27.5" stroke = "url(#paint0_linear_3603_1320)" />
33- < path
34- d = "M31.375 21.1187C30.07 21.1187 28.8175 21.7262 28 22.6862C27.1825 21.7262 25.93 21.1187 24.625 21.1187C22.315 21.1187 20.5 22.9337 20.5 25.2437C20.5 28.0787 23.05 30.3887 26.9125 33.8987L28 34.8812L29.0875 33.8912C32.95 30.3887 35.5 28.0787 35.5 25.2437C35.5 22.9337 33.685 21.1187 31.375 21.1187ZM28.075 32.7812L28 32.8562L27.925 32.7812C24.355 29.5487 22 27.4112 22 25.2437C22 23.7437 23.125 22.6187 24.625 22.6187C25.78 22.6187 26.905 23.3612 27.3025 24.3887H28.705C29.095 23.3612 30.22 22.6187 31.375 22.6187C32.875 22.6187 34 23.7437 34 25.2437C34 27.4112 31.645 29.5487 28.075 32.7812Z"
35- fill = "#8E8E8E"
36- />
37- < defs >
38- < linearGradient
39- id = "paint0_linear_3603_1320"
40- x1 = "0.56"
41- y1 = "2.7451"
42- x2 = "58.788"
43- y2 = "6.19466"
44- gradientUnits = "userSpaceOnUse"
45- >
46- < stop stop-color = "#FF2389" />
47- < stop offset = "1" stop-color = "#F27575" />
48- </ linearGradient >
49- </ defs >
50- </ svg >
51- ) }
52- </ >
6+ < svg width = "56" height = "56" viewBox = "0 0 56 56" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
7+ < rect x = "0.5" y = "0.5" width = "55" height = "55" rx = "27.5" fill = "white" />
8+ < rect x = "0.5" y = "0.5" width = "55" height = "55" rx = "27.5" stroke = "url(#paint0_linear_3603_1320)" />
9+ < path
10+ d = {
11+ isFilled
12+ ? 'M28 34.8813L26.9125 33.8913C23.05 30.3888 20.5 28.0788 20.5 25.2438C20.5 22.9338 22.315 21.1188 24.625 21.1188C25.93 21.1188 27.1825 21.7263 28 22.6863C28.8175 21.7263 30.07 21.1188 31.375 21.1188C33.685 21.1188 35.5 22.9338 35.5 25.2438C35.5 28.0788 32.95 30.3888 29.0875 33.8988L28 34.8813Z'
13+ : 'M31.375 21.1187C30.07 21.1187 28.8175 21.7262 28 22.6862C27.1825 21.7262 25.93 21.1187 24.625 21.1187C22.315 21.1187 20.5 22.9337 20.5 25.2437C20.5 28.0787 23.05 30.3887 26.9125 33.8987L28 34.8812L29.0875 33.8912C32.95 30.3887 35.5 28.0787 35.5 25.2437C35.5 22.9337 33.685 21.1187 31.375 21.1187ZM28.075 32.7812L28 32.8562L27.925 32.7812C24.355 29.5487 22 27.4112 22 25.2437C22 23.7437 23.125 22.6187 24.625 22.6187C25.78 22.6187 26.905 23.3612 27.3025 24.3887H28.705C29.095 23.3612 30.22 22.6187 31.375 22.6187C32.875 22.6187 34 23.7437 34 25.2437C34 27.4112 31.645 29.5487 28.075 32.7812Z'
14+ }
15+ fill = { isFilled ? '#FF2389' : '#8E8E8E' }
16+ />
17+ < defs >
18+ < linearGradient
19+ id = "paint0_linear_3603_1320"
20+ x1 = "0.56"
21+ y1 = "2.7451"
22+ x2 = "58.788"
23+ y2 = "6.19466"
24+ gradientUnits = "userSpaceOnUse"
25+ >
26+ < stop stopColor = "#FF2389" />
27+ < stop offset = "1" stopColor = "#F27575" />
28+ </ linearGradient >
29+ </ defs >
30+ </ svg >
5331 ) ;
5432} ;
5533
0 commit comments