1
- use pinwheel:: prelude:: * ;
1
+ use pinwheel:: prelude:: { svg :: linearGradient , * } ;
2
2
3
3
#[ derive( builder, Default , new) ]
4
4
#[ new( default ) ]
@@ -13,31 +13,33 @@ impl Component for Logo {
13
13
fn into_node ( self ) -> Node {
14
14
svg ( )
15
15
. class ( self . class )
16
- . attribute ( "width" , "100%" )
17
- . attribute ( "height" , "100%" )
18
- . attribute ( "viewBox" , "0 0 900 962" )
16
+ . attribute ( "viewBox" , "0 0 1000 1000" )
19
17
. attribute ( "fill" , "none" )
20
- . attribute ( "xmlns" , "http://www.w3.org/2000/svg" )
18
+ . attribute ( "xmlns" , "http://www.w3.org/2000/svg" )
21
19
. child (
22
20
svg:: path ( )
23
- . attribute ( "d" , "M860 620L449.277 930L40 622M860 620V33L539.196 326L860 620ZM40 622V30L363.803 327L40 622Z" ) . attribute ( "stroke" , "url(#paint0_linear_2_4)" )
24
- . attribute ( "stroke-width" , "80" )
25
- . attribute ( "stroke-linejoin" , "bevel" )
21
+ . attribute ( "fill-rule" , "evenodd" )
22
+ . attribute ( "clip-rule" , "evenodd" )
23
+ . attribute ( "d" , "M0 0L466.762 313.062L105.322 616.089L500 900.946L894.678 616.089L533.238 313.062L1000 0V639.128L500 1000L0 639.128V0ZM920 532.551L666.762 320.238L920 150.388V532.551ZM80 532.551V150.388L333.238 320.238L80 532.551Z" )
24
+ . attribute ( "fill" , "url(#paint0_linear_33_10)" )
26
25
)
27
26
. child (
28
- svg:: defs ( )
29
- . child (
30
- svg:: linearGradient ( )
31
- . attribute ( "id" , "paint0_linear_2_4" )
32
- . attribute ( "x1" , "450" )
33
- . attribute ( "y1" , "30" )
34
- . attribute ( "x2" , "449.75" )
35
- . attribute ( "y2" , "1069.5" )
27
+ svg:: defs ( ) . child (
28
+ linearGradient ( )
29
+ . attribute ( "id" , "paint0_linear_33_10" )
30
+ . attribute ( "x1" , "500" )
31
+ . attribute ( "y1" , "13.8241" )
32
+ . attribute ( "x2" , "500" )
33
+ . attribute ( "y2" , "1019.89" )
36
34
. attribute ( "gradientUnits" , "userSpaceOnUse" )
37
35
. child (
38
- svg:: stop ( ) . attribute ( "stop-color" , "#0A84FF" )
39
- ) . child (
40
- svg:: stop ( ) . attribute ( "offset" , "1" ) . attribute ( "stop-color" , "#4DD0E1" )
36
+ svg:: stop ( )
37
+ . attribute ( "stop-color" , "#0A84FF" )
38
+ )
39
+ . child (
40
+ svg:: stop ( )
41
+ . attribute ( "offset" , "1" )
42
+ . attribute ( "stop-color" , "#4DD0E1" )
41
43
)
42
44
)
43
45
)
0 commit comments