mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-22 05:01:40 +03:00
Reindent some functions
This commit is contained in:
parent
c928b293ce
commit
c39e44c94c
@ -89,7 +89,18 @@ quiz =
|
|||||||
, Attributes.viewBox "0 0 37.9 44.7"
|
, Attributes.viewBox "0 0 37.9 44.7"
|
||||||
, Attributes.fill "currentcolor"
|
, Attributes.fill "currentcolor"
|
||||||
]
|
]
|
||||||
[ Svg.path [ Attributes.d "M35.8,3.8l0.9,0.1l-0.9,8.5V3.8z M34.6,3.6v38.8H2.8V2.6h31.9L34.6,3.6z M1.2,40.8l0.5-3.1v3.1L1.2,40.8z M4.9,1.2L9,1.6 H4.9V1.2z M35.8,2.6V1.5H22.3L3.9,0L3.8,1.5H1.6v22.8L0,41.8l1.6,0.1v1.6h18.7L34,44.7l0.1-1.1h1.7V25.8l2.1-22.9L35.8,2.6z" ] [], Svg.path [ Attributes.d "M9.5,8.1l-2.3,2.8l-0.7-1C6.3,9.6,6,9.5,5.7,9.7c-0.3,0.2-0.3,0.5-0.2,0.8l0,0l0,0l1.1,1.7c0.1,0.1,0.3,0.2,0.4,0.2l0,0 c0.2,0,0.3-0.1,0.4-0.2l2.8-3.3c0.2-0.2,0.2-0.6-0.1-0.8C10,7.8,9.6,7.9,9.5,8.1L9.5,8.1z" ] [], Svg.path [ Attributes.d "M9.5,14.2l-2.3,2.8l-0.7-1c-0.2-0.3-0.5-0.3-0.8-0.2c-0.3,0.2-0.3,0.5-0.2,0.8l0,0l1.1,1.7c0.1,0.1,0.3,0.2,0.4,0.2l0,0 c0.2,0,0.3-0.1,0.4-0.2l2.8-3.3c0.2-0.2,0.2-0.6-0.1-0.8C10.1,14,10,14,9.9,14C9.7,14,9.6,14.1,9.5,14.2z" ] [], Svg.path [ Attributes.d "M9.5,26.4l-2.3,2.8l-0.7-1c-0.2-0.3-0.5-0.3-0.8-0.2c-0.3,0.2-0.3,0.5-0.1,0.8l1.1,1.7c0.1,0.1,0.3,0.2,0.4,0.2l0,0 c0.2,0,0.3-0.1,0.4-0.2l2.8-3.3c0.2-0.2,0.2-0.6-0.1-0.8c-0.1-0.1-0.2-0.2-0.3-0.2C9.7,26.2,9.6,26.2,9.5,26.4z" ] [], Svg.path [ Attributes.d "M9.5,32.4l-2.3,2.8l-0.7-1C6.3,33.9,6,33.9,5.7,34c-0.3,0.2-0.3,0.5-0.2,0.8l0,0l1.1,1.7c0.1,0.1,0.3,0.2,0.4,0.2l0,0 c0.2,0,0.3-0.1,0.4-0.2l2.8-3.3c0.2-0.2,0.2-0.6-0.1-0.8C10,32.2,9.6,32.2,9.5,32.4L9.5,32.4z" ] [], Svg.path [ Attributes.d "M5.9,20.8C5.7,21,5.7,21.4,6,21.6l1.1,1l-1.1,1c-0.2,0.2-0.2,0.5-0.1,0.8c0.1,0.1,0.2,0.2,0.4,0.2c0.1,0,0.2,0,0.3-0.1 l1.2-1.1l1.2,1.1c0.1,0.1,0.2,0.1,0.3,0.1c0.2,0,0.3-0.1,0.4-0.2c0.2-0.2,0.2-0.6-0.1-0.8l-1.1-1l1.1-1c0.2-0.2,0.2-0.5,0.1-0.8 c-0.2-0.2-0.5-0.3-0.7-0.1l0,0l-1.2,1.1l-1.2-1.1c-0.1-0.1-0.3-0.1-0.4,0C6.1,20.6,6,20.7,5.9,20.8z" ] [], Svg.path [ Attributes.d "M13.1,35.9c-0.6,0-1-0.4-1-1s0.4-1,1-1h6.2c0.6,0,1,0.4,1,1s-0.4,1-1,1H13.1z" ] [], Svg.path [ Attributes.d "M13.1,29.5c-0.6,0-1-0.4-1-1s0.4-1,1-1H30c0.6,0,1,0.4,1,1s-0.4,1-1,1H13.1z" ] [], Svg.path [ Attributes.d "M13.1,22.9c-0.6,0-1-0.4-1-1s0.4-1,1-1H30c0.6,0,1,0.4,1,1s-0.4,1-1,1H13.1z" ] [], Svg.path [ Attributes.d "M13.1,16.5c-0.5,0-1-0.4-1-0.9v-0.1c0-0.6,0.4-1,1-1H30c0.6,0,1,0.4,1,1s-0.4,1-1,1L13.1,16.5z" ] [], Svg.path [ Attributes.d "M13.1,10.1c-0.5,0-1-0.4-1-0.9V9c0-0.6,0.4-1,1-1H30c0.6,0,1,0.4,1,1s-0.4,1-1,1L13.1,10.1z" ] [] ]
|
[ Svg.path [ Attributes.d "M35.8,3.8l0.9,0.1l-0.9,8.5V3.8z M34.6,3.6v38.8H2.8V2.6h31.9L34.6,3.6z M1.2,40.8l0.5-3.1v3.1L1.2,40.8z M4.9,1.2L9,1.6 H4.9V1.2z M35.8,2.6V1.5H22.3L3.9,0L3.8,1.5H1.6v22.8L0,41.8l1.6,0.1v1.6h18.7L34,44.7l0.1-1.1h1.7V25.8l2.1-22.9L35.8,2.6z" ] []
|
||||||
|
, Svg.path [ Attributes.d "M9.5,8.1l-2.3,2.8l-0.7-1C6.3,9.6,6,9.5,5.7,9.7c-0.3,0.2-0.3,0.5-0.2,0.8l0,0l0,0l1.1,1.7c0.1,0.1,0.3,0.2,0.4,0.2l0,0 c0.2,0,0.3-0.1,0.4-0.2l2.8-3.3c0.2-0.2,0.2-0.6-0.1-0.8C10,7.8,9.6,7.9,9.5,8.1L9.5,8.1z" ] []
|
||||||
|
, Svg.path [ Attributes.d "M9.5,14.2l-2.3,2.8l-0.7-1c-0.2-0.3-0.5-0.3-0.8-0.2c-0.3,0.2-0.3,0.5-0.2,0.8l0,0l1.1,1.7c0.1,0.1,0.3,0.2,0.4,0.2l0,0 c0.2,0,0.3-0.1,0.4-0.2l2.8-3.3c0.2-0.2,0.2-0.6-0.1-0.8C10.1,14,10,14,9.9,14C9.7,14,9.6,14.1,9.5,14.2z" ] []
|
||||||
|
, Svg.path [ Attributes.d "M9.5,26.4l-2.3,2.8l-0.7-1c-0.2-0.3-0.5-0.3-0.8-0.2c-0.3,0.2-0.3,0.5-0.1,0.8l1.1,1.7c0.1,0.1,0.3,0.2,0.4,0.2l0,0 c0.2,0,0.3-0.1,0.4-0.2l2.8-3.3c0.2-0.2,0.2-0.6-0.1-0.8c-0.1-0.1-0.2-0.2-0.3-0.2C9.7,26.2,9.6,26.2,9.5,26.4z" ] []
|
||||||
|
, Svg.path [ Attributes.d "M9.5,32.4l-2.3,2.8l-0.7-1C6.3,33.9,6,33.9,5.7,34c-0.3,0.2-0.3,0.5-0.2,0.8l0,0l1.1,1.7c0.1,0.1,0.3,0.2,0.4,0.2l0,0 c0.2,0,0.3-0.1,0.4-0.2l2.8-3.3c0.2-0.2,0.2-0.6-0.1-0.8C10,32.2,9.6,32.2,9.5,32.4L9.5,32.4z" ] []
|
||||||
|
, Svg.path [ Attributes.d "M5.9,20.8C5.7,21,5.7,21.4,6,21.6l1.1,1l-1.1,1c-0.2,0.2-0.2,0.5-0.1,0.8c0.1,0.1,0.2,0.2,0.4,0.2c0.1,0,0.2,0,0.3-0.1 l1.2-1.1l1.2,1.1c0.1,0.1,0.2,0.1,0.3,0.1c0.2,0,0.3-0.1,0.4-0.2c0.2-0.2,0.2-0.6-0.1-0.8l-1.1-1l1.1-1c0.2-0.2,0.2-0.5,0.1-0.8 c-0.2-0.2-0.5-0.3-0.7-0.1l0,0l-1.2,1.1l-1.2-1.1c-0.1-0.1-0.3-0.1-0.4,0C6.1,20.6,6,20.7,5.9,20.8z" ] []
|
||||||
|
, Svg.path [ Attributes.d "M13.1,35.9c-0.6,0-1-0.4-1-1s0.4-1,1-1h6.2c0.6,0,1,0.4,1,1s-0.4,1-1,1H13.1z" ] []
|
||||||
|
, Svg.path [ Attributes.d "M13.1,29.5c-0.6,0-1-0.4-1-1s0.4-1,1-1H30c0.6,0,1,0.4,1,1s-0.4,1-1,1H13.1z" ] []
|
||||||
|
, Svg.path [ Attributes.d "M13.1,22.9c-0.6,0-1-0.4-1-1s0.4-1,1-1H30c0.6,0,1,0.4,1,1s-0.4,1-1,1H13.1z" ] []
|
||||||
|
, Svg.path [ Attributes.d "M13.1,16.5c-0.5,0-1-0.4-1-0.9v-0.1c0-0.6,0.4-1,1-1H30c0.6,0,1,0.4,1,1s-0.4,1-1,1L13.1,16.5z" ] []
|
||||||
|
, Svg.path [ Attributes.d "M13.1,10.1c-0.5,0-1-0.4-1-0.9V9c0-0.6,0.4-1,1-1H30c0.6,0,1,0.4,1,1s-0.4,1-1,1L13.1,10.1z" ] []
|
||||||
|
]
|
||||||
|> Nri.Ui.Svg.V1.fromHtml
|
|> Nri.Ui.Svg.V1.fromHtml
|
||||||
|
|
||||||
|
|
||||||
@ -137,7 +148,11 @@ selfReview =
|
|||||||
, Attributes.height "100%"
|
, Attributes.height "100%"
|
||||||
, Attributes.viewBox "0 -7 64 84"
|
, Attributes.viewBox "0 -7 64 84"
|
||||||
]
|
]
|
||||||
[ Svg.path [ Attributes.d "M62.16365,17.60935 C62.57365,17.60935 62.97265,17.76935 63.26565,18.06235 C63.55865,18.35535 63.72265,18.75035 63.72565,19.16435 C63.72565,38.98435 50.33265,55.21435 33.56165,56.16835 L33.56165,73.66435 L40.98365,73.66435 C41.84765,73.66435 42.54665,74.36335 42.54665,75.22635 C42.54665,76.08935 41.84765,76.78935 40.98365,76.78935 L22.82065,76.78935 C21.95665,76.78935 21.25765,76.08935 21.25765,75.22635 C21.25765,74.36335 21.95665,73.66435 22.82065,73.66435 L30.43765,73.66435 L30.43765,56.16835 C13.66465,55.21435 0.27365,38.98835 0.27365,19.16435 C0.27765,18.75035 0.44165,18.35535 0.73465,18.06235 C1.02765,17.76935 1.42565,17.60935 1.83565,17.60935 L8.17165,17.60935 L8.17165,20.73435 L3.42965,20.73435 C4.12065,38.70335 16.67165,53.10535 31.99965,53.10535 C47.32765,53.10535 59.87865,38.70335 60.56965,20.73435 L55.43665,20.73435 L55.43665,17.60935 L62.16365,17.60935 Z", Attributes.fill "currentcolor" ] [], Svg.path [ Attributes.d "M31.99955,37.54295 C23.45655,37.54295 16.50755,29.24195 16.50755,19.03495 C16.50755,8.83195 23.45655,0.52695 31.99955,0.52695 C40.54255,0.52695 47.49155,8.83195 47.49155,19.03495 C47.49155,29.23795 40.54255,37.54295 31.99955,37.54295 Z M35.83955,15.34395 L35.83955,15.34795 C36.44855,14.73495 36.44855,13.74695 35.83955,13.13695 C35.22655,12.52795 34.23755,12.52795 33.62855,13.13695 L27.34755,19.41795 C26.73755,20.02795 26.73755,21.01595 27.34755,21.62595 C27.96055,22.23895 28.94855,22.23895 29.55855,21.62595 L35.83955,15.34395 Z M20.73755,12.80495 C20.12755,13.41795 20.12755,14.40695 20.73755,15.01595 C21.34655,15.62595 22.33855,15.62595 22.94855,15.01595 L29.22955,8.73895 C29.83855,8.12595 29.83855,7.13695 29.22955,6.52795 C28.61655,5.91795 27.62755,5.91795 27.01855,6.52795 L20.73755,12.80495 Z M21.83855,18.31295 L21.83855,18.31695 C21.22955,18.92595 21.22955,19.91495 21.83855,20.52395 C22.44855,21.13695 23.44055,21.13695 24.04955,20.52395 L34.73755,9.83995 C35.34755,9.23095 35.34755,8.23795 34.73755,7.62895 C34.12855,7.01995 33.13655,7.01995 32.52655,7.62895 L21.83855,18.31295 Z", Attributes.fill "currentcolor" ] [], Svg.mask [ Attributes.fill "currentcolor" ] [ Svg.path [ Attributes.d "M31.99955,44.85935 C20.03055,44.85935 10.29255,33.27335 10.29255,19.03535 C10.29255,4.79735 20.03055,-6.78865 31.99955,-6.78865 C43.96855,-6.78865 53.70655,4.79735 53.70655,19.03535 C53.70655,33.27335 43.96855,44.85935 31.99955,44.85935 Z M31.99955,-2.59765 C21.73355,-2.59765 13.38255,7.10535 13.38255,19.03535 C13.38255,30.96435 21.73355,40.66835 31.99955,40.66835 C42.26555,40.66835 50.61655,30.96535 50.61655,19.03535 C50.61655,7.10535 42.26555,-2.59765 31.99955,-2.59765 Z" ] [] ], Svg.path [ Attributes.d "M31.99955,44.85935 C20.03055,44.85935 10.29255,33.27335 10.29255,19.03535 C10.29255,4.79735 20.03055,-6.78865 31.99955,-6.78865 C43.96855,-6.78865 53.70655,4.79735 53.70655,19.03535 C53.70655,33.27335 43.96855,44.85935 31.99955,44.85935 Z M31.99955,-2.59765 C21.73355,-2.59765 13.38255,7.10535 13.38255,19.03535 C13.38255,30.96435 21.73355,40.66835 31.99955,40.66835 C42.26555,40.66835 50.61655,30.96535 50.61655,19.03535 C50.61655,7.10535 42.26555,-2.59765 31.99955,-2.59765 Z", Attributes.fill "currentcolor" ] [] ]
|
[ Svg.path [ Attributes.d "M62.16365,17.60935 C62.57365,17.60935 62.97265,17.76935 63.26565,18.06235 C63.55865,18.35535 63.72265,18.75035 63.72565,19.16435 C63.72565,38.98435 50.33265,55.21435 33.56165,56.16835 L33.56165,73.66435 L40.98365,73.66435 C41.84765,73.66435 42.54665,74.36335 42.54665,75.22635 C42.54665,76.08935 41.84765,76.78935 40.98365,76.78935 L22.82065,76.78935 C21.95665,76.78935 21.25765,76.08935 21.25765,75.22635 C21.25765,74.36335 21.95665,73.66435 22.82065,73.66435 L30.43765,73.66435 L30.43765,56.16835 C13.66465,55.21435 0.27365,38.98835 0.27365,19.16435 C0.27765,18.75035 0.44165,18.35535 0.73465,18.06235 C1.02765,17.76935 1.42565,17.60935 1.83565,17.60935 L8.17165,17.60935 L8.17165,20.73435 L3.42965,20.73435 C4.12065,38.70335 16.67165,53.10535 31.99965,53.10535 C47.32765,53.10535 59.87865,38.70335 60.56965,20.73435 L55.43665,20.73435 L55.43665,17.60935 L62.16365,17.60935 Z", Attributes.fill "currentcolor" ] []
|
||||||
|
, Svg.path [ Attributes.d "M31.99955,37.54295 C23.45655,37.54295 16.50755,29.24195 16.50755,19.03495 C16.50755,8.83195 23.45655,0.52695 31.99955,0.52695 C40.54255,0.52695 47.49155,8.83195 47.49155,19.03495 C47.49155,29.23795 40.54255,37.54295 31.99955,37.54295 Z M35.83955,15.34395 L35.83955,15.34795 C36.44855,14.73495 36.44855,13.74695 35.83955,13.13695 C35.22655,12.52795 34.23755,12.52795 33.62855,13.13695 L27.34755,19.41795 C26.73755,20.02795 26.73755,21.01595 27.34755,21.62595 C27.96055,22.23895 28.94855,22.23895 29.55855,21.62595 L35.83955,15.34395 Z M20.73755,12.80495 C20.12755,13.41795 20.12755,14.40695 20.73755,15.01595 C21.34655,15.62595 22.33855,15.62595 22.94855,15.01595 L29.22955,8.73895 C29.83855,8.12595 29.83855,7.13695 29.22955,6.52795 C28.61655,5.91795 27.62755,5.91795 27.01855,6.52795 L20.73755,12.80495 Z M21.83855,18.31295 L21.83855,18.31695 C21.22955,18.92595 21.22955,19.91495 21.83855,20.52395 C22.44855,21.13695 23.44055,21.13695 24.04955,20.52395 L34.73755,9.83995 C35.34755,9.23095 35.34755,8.23795 34.73755,7.62895 C34.12855,7.01995 33.13655,7.01995 32.52655,7.62895 L21.83855,18.31295 Z", Attributes.fill "currentcolor" ] []
|
||||||
|
, Svg.mask [ Attributes.fill "currentcolor" ] [ Svg.path [ Attributes.d "M31.99955,44.85935 C20.03055,44.85935 10.29255,33.27335 10.29255,19.03535 C10.29255,4.79735 20.03055,-6.78865 31.99955,-6.78865 C43.96855,-6.78865 53.70655,4.79735 53.70655,19.03535 C53.70655,33.27335 43.96855,44.85935 31.99955,44.85935 Z M31.99955,-2.59765 C21.73355,-2.59765 13.38255,7.10535 13.38255,19.03535 C13.38255,30.96435 21.73355,40.66835 31.99955,40.66835 C42.26555,40.66835 50.61655,30.96535 50.61655,19.03535 C50.61655,7.10535 42.26555,-2.59765 31.99955,-2.59765 Z" ] [] ]
|
||||||
|
, Svg.path [ Attributes.d "M31.99955,44.85935 C20.03055,44.85935 10.29255,33.27335 10.29255,19.03535 C10.29255,4.79735 20.03055,-6.78865 31.99955,-6.78865 C43.96855,-6.78865 53.70655,4.79735 53.70655,19.03535 C53.70655,33.27335 43.96855,44.85935 31.99955,44.85935 Z M31.99955,-2.59765 C21.73355,-2.59765 13.38255,7.10535 13.38255,19.03535 C13.38255,30.96435 21.73355,40.66835 31.99955,40.66835 C42.26555,40.66835 50.61655,30.96535 50.61655,19.03535 C50.61655,7.10535 42.26555,-2.59765 31.99955,-2.59765 Z", Attributes.fill "currentcolor" ] []
|
||||||
|
]
|
||||||
|> Nri.Ui.Svg.V1.fromHtml
|
|> Nri.Ui.Svg.V1.fromHtml
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user