We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb5d3a4 commit 1446560Copy full SHA for 1446560
src/components/Developing.tsx
@@ -1,4 +1,5 @@
1
export const Developing = () => {
2
+ const colors = ["#3f3f46", "#27272a"]
3
return (
4
<div className="h-56 rounded-[inherit] inset-0 overflow-hidden opacity-60">
5
<svg width="100%" height="100%">
@@ -8,9 +9,12 @@ export const Developing = () => {
8
9
width="50"
10
height="50"
11
patternUnits="userSpaceOnUse"
- >
12
- <rect width="25" height="50" fill="#f5be41" />
13
- <rect x="25" width="25" height="50" fill="#efa139" />
+ >
+ {
14
+ colors.map((color,index)=>(
15
+ <rect x={index * 25} width="25" height="50" fill={color} />
16
+ ))
17
+ }
18
<animateTransform
19
attributeName="patternTransform"
20
attributeType="XML"
0 commit comments