Skip to content

Commit 1446560

Browse files
committed
style(com)
1 parent eb5d3a4 commit 1446560

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/components/Developing.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export const Developing = () => {
2+
const colors = ["#3f3f46", "#27272a"]
23
return (
34
<div className="h-56 rounded-[inherit] inset-0 overflow-hidden opacity-60">
45
<svg width="100%" height="100%">
@@ -8,9 +9,12 @@ export const Developing = () => {
89
width="50"
910
height="50"
1011
patternUnits="userSpaceOnUse"
11-
>
12-
<rect width="25" height="50" fill="#f5be41" />
13-
<rect x="25" width="25" height="50" fill="#efa139" />
12+
>
13+
{
14+
colors.map((color,index)=>(
15+
<rect x={index * 25} width="25" height="50" fill={color} />
16+
))
17+
}
1418
<animateTransform
1519
attributeName="patternTransform"
1620
attributeType="XML"

0 commit comments

Comments
 (0)