File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
apps/client/src/pages/jobPins/components Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ import { useId } from 'react' ;
2+
3+ const JobPinsBottomSpinner = ( ) => {
4+ const gradientId = useId ( ) ;
5+
6+ return (
7+ < svg
8+ xmlns = "http://www.w3.org/2000/svg"
9+ width = "30"
10+ height = "30"
11+ viewBox = "0 0 30 30"
12+ fill = "none"
13+ className = "animate-spin-smooth h-[3rem] w-[3rem]"
14+ >
15+ < circle cx = "15" cy = "15" r = "13" stroke = "#E5E7EB" strokeWidth = "4" />
16+ < circle
17+ cx = "15"
18+ cy = "15"
19+ r = "13"
20+ stroke = { `url(#${ gradientId } )` }
21+ strokeWidth = "4"
22+ strokeDasharray = "46 120"
23+ strokeLinecap = "round"
24+ />
25+ < defs >
26+ < radialGradient
27+ id = { gradientId }
28+ cx = "0"
29+ cy = "0"
30+ r = "1"
31+ gradientUnits = "userSpaceOnUse"
32+ gradientTransform = "translate(13 9.75) rotate(122.975) scale(20.3637)"
33+ >
34+ < stop stopColor = "var(--color-gradient-start, #cff080)" />
35+ < stop offset = "1" stopColor = "var(--color-gradient-end, #33d08f)" />
36+ </ radialGradient >
37+ </ defs >
38+ </ svg >
39+ ) ;
40+ } ;
41+
42+ export default JobPinsBottomSpinner ;
You can’t perform that action at this time.
0 commit comments