Files
mattermostest/src/assets/window-background-dots.svg
Dean Whillier 83bae0c2b8 [MM-22810] Update loading screen with new design & animation (#1409)
* Update loading screen with new design & animation

* add prop back in

* adjust z-index for tests

* tweaks to pass tests

* address offline feedback

- shrink initial logo size
- introduce a slight delay before fading loading spinner out
- fix horizontal scrollbar showing on load screen

* add missing css variable

* no need to remove loading icon

* Apply suggestions from code review

Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>

* Move LoadingScreen.jsx to file-only component

* Rename prop for better clarity

* Default prop to none and check when needed

* Update import paths

* Add ESDocs and remove unecessary conditional

* Forgot to remove the eslint override

Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
2020-11-17 15:13:03 +01:00

149 lines
17 KiB
XML

<svg width="460" height="460" viewBox="0 0 460 460" fill="none" xmlns="http://www.w3.org/2000/svg">
<g>
<rect y="229.618" width="3.24729" height="3.24729" transform="rotate(-45 0 229.618)" fill="#0058CC"/>
<rect x="123.994" y="353.612" width="3.24729" height="3.24728" transform="rotate(-45 123.994 353.612)" fill="#0058CC"/>
<rect x="123.994" y="105.624" width="3.2473" height="3.24729" transform="rotate(-45 123.994 105.624)" fill="#0058CC"/>
<rect x="247.988" y="229.618" width="3.2473" height="3.24728" transform="rotate(-45 247.988 229.618)" fill="#0058CC"/>
<rect x="20.6656" y="250.284" width="3.24729" height="3.24729" transform="rotate(-45 20.6656 250.284)" fill="#0058CC"/>
<rect x="144.659" y="374.278" width="3.24729" height="3.24728" transform="rotate(-45 144.659 374.278)" fill="#0058CC"/>
<rect x="144.659" y="126.29" width="3.2473" height="3.24729" transform="rotate(-45 144.659 126.29)" fill="#0058CC"/>
<rect x="268.653" y="250.284" width="3.2473" height="3.24728" transform="rotate(-45 268.653 250.284)" fill="#0058CC"/>
<rect x="41.3313" y="270.95" width="3.24729" height="3.24729" transform="rotate(-45 41.3313 270.95)" fill="#0058CC"/>
<rect x="165.325" y="394.943" width="3.24729" height="3.2473" transform="rotate(-45 165.325 394.943)" fill="#0058CC"/>
<rect x="165.325" y="146.956" width="3.2473" height="3.24729" transform="rotate(-45 165.325 146.956)" fill="#0058CC"/>
<rect x="289.319" y="270.95" width="3.2473" height="3.2473" transform="rotate(-45 289.319 270.95)" fill="#0058CC"/>
<rect x="61.9969" y="291.615" width="3.24729" height="3.24728" transform="rotate(-45 61.9969 291.615)" fill="#0058CC"/>
<rect x="185.991" y="415.609" width="3.24729" height="3.24728" transform="rotate(-45 185.991 415.609)" fill="#0058CC"/>
<rect x="185.991" y="167.621" width="3.2473" height="3.24728" transform="rotate(-45 185.991 167.621)" fill="#0058CC"/>
<rect x="309.985" y="291.615" width="3.2473" height="3.24728" transform="rotate(-45 309.985 291.615)" fill="#0058CC"/>
<rect x="82.6626" y="312.281" width="3.24729" height="3.24729" transform="rotate(-45 82.6626 312.281)" fill="#0058CC"/>
<rect x="206.656" y="436.275" width="3.24729" height="3.24731" transform="rotate(-45 206.656 436.275)" fill="#0058CC"/>
<rect x="206.656" y="188.287" width="3.2473" height="3.24729" transform="rotate(-45 206.656 188.287)" fill="#0058CC"/>
<rect x="330.65" y="312.281" width="3.2473" height="3.24731" transform="rotate(-45 330.65 312.281)" fill="#0058CC"/>
<rect x="103.328" y="332.946" width="3.24729" height="3.2473" transform="rotate(-45 103.328 332.946)" fill="#0058CC"/>
<rect x="227.322" y="456.94" width="3.24729" height="3.24728" transform="rotate(-45 227.322 456.94)" fill="#0058CC"/>
<rect x="227.322" y="208.953" width="3.2473" height="3.2473" transform="rotate(-45 227.322 208.953)" fill="#0058CC"/>
<rect x="351.316" y="332.946" width="3.2473" height="3.24728" transform="rotate(-45 351.316 332.946)" fill="#0058CC"/>
<rect x="20.6656" y="208.953" width="3.24729" height="3.24729" transform="rotate(-45 20.6656 208.953)" fill="#0058CC"/>
<rect x="144.66" y="332.946" width="3.24729" height="3.24728" transform="rotate(-45 144.66 332.946)" fill="#0058CC"/>
<rect x="144.659" y="84.9588" width="3.24728" height="3.24729" transform="rotate(-45 144.659 84.9588)" fill="#0058CC"/>
<rect x="268.653" y="208.953" width="3.24728" height="3.24728" transform="rotate(-45 268.653 208.953)" fill="#0058CC"/>
<rect x="41.3313" y="229.618" width="3.24729" height="3.24729" transform="rotate(-45 41.3313 229.618)" fill="#0058CC"/>
<rect x="165.325" y="353.612" width="3.24729" height="3.24728" transform="rotate(-45 165.325 353.612)" fill="#0058CC"/>
<rect x="165.325" y="105.624" width="3.24728" height="3.24729" transform="rotate(-45 165.325 105.624)" fill="#0058CC"/>
<rect x="289.319" y="229.618" width="3.24728" height="3.24728" transform="rotate(-45 289.319 229.618)" fill="#0058CC"/>
<rect x="61.9969" y="250.284" width="3.24729" height="3.24729" transform="rotate(-45 61.9969 250.284)" fill="#0058CC"/>
<rect x="185.991" y="374.278" width="3.24729" height="3.2473" transform="rotate(-45 185.991 374.278)" fill="#0058CC"/>
<rect x="185.991" y="126.29" width="3.24728" height="3.24729" transform="rotate(-45 185.991 126.29)" fill="#0058CC"/>
<rect x="309.985" y="250.284" width="3.24728" height="3.2473" transform="rotate(-45 309.985 250.284)" fill="#0058CC"/>
<rect x="82.6626" y="270.95" width="3.24729" height="3.24728" transform="rotate(-45 82.6626 270.95)" fill="#0058CC"/>
<rect x="206.656" y="394.943" width="3.24729" height="3.24728" transform="rotate(-45 206.656 394.943)" fill="#0058CC"/>
<rect x="206.656" y="146.956" width="3.24728" height="3.24728" transform="rotate(-45 206.656 146.956)" fill="#0058CC"/>
<rect x="330.65" y="270.95" width="3.24728" height="3.24728" transform="rotate(-45 330.65 270.95)" fill="#0058CC"/>
<rect x="103.328" y="291.615" width="3.24729" height="3.24729" transform="rotate(-45 103.328 291.615)" fill="#0058CC"/>
<rect x="227.322" y="415.609" width="3.24729" height="3.24731" transform="rotate(-45 227.322 415.609)" fill="#0058CC"/>
<rect x="227.322" y="167.621" width="3.24728" height="3.24729" transform="rotate(-45 227.322 167.621)" fill="#0058CC"/>
<rect x="351.316" y="291.615" width="3.24728" height="3.24731" transform="rotate(-45 351.316 291.615)" fill="#0058CC"/>
<rect x="123.994" y="312.281" width="3.24729" height="3.2473" transform="rotate(-45 123.994 312.281)" fill="#0058CC"/>
<rect x="247.988" y="436.275" width="3.24729" height="3.24728" transform="rotate(-45 247.988 436.275)" fill="#0058CC"/>
<rect x="247.988" y="188.287" width="3.24728" height="3.2473" transform="rotate(-45 247.988 188.287)" fill="#0058CC"/>
<rect x="371.982" y="312.281" width="3.24728" height="3.24728" transform="rotate(-45 371.982 312.281)" fill="#0058CC"/>
<rect x="41.3313" y="188.287" width="3.24729" height="3.24729" transform="rotate(-45 41.3313 188.287)" fill="#0058CC"/>
<rect x="165.325" y="312.281" width="3.24729" height="3.24728" transform="rotate(-45 165.325 312.281)" fill="#0058CC"/>
<rect x="165.325" y="64.2932" width="3.24728" height="3.24729" transform="rotate(-45 165.325 64.2932)" fill="#0058CC"/>
<rect x="289.319" y="188.287" width="3.24728" height="3.24728" transform="rotate(-45 289.319 188.287)" fill="#0058CC"/>
<rect x="61.9969" y="208.953" width="3.24729" height="3.24729" transform="rotate(-45 61.9969 208.953)" fill="#0058CC"/>
<rect x="185.991" y="332.946" width="3.24729" height="3.24728" transform="rotate(-45 185.991 332.946)" fill="#0058CC"/>
<rect x="185.991" y="84.9588" width="3.24728" height="3.24729" transform="rotate(-45 185.991 84.9588)" fill="#0058CC"/>
<rect x="309.985" y="208.953" width="3.24728" height="3.24728" transform="rotate(-45 309.985 208.953)" fill="#0058CC"/>
<rect x="82.6626" y="229.618" width="3.24729" height="3.24729" transform="rotate(-45 82.6626 229.618)" fill="#0058CC"/>
<rect x="206.656" y="353.612" width="3.24729" height="3.2473" transform="rotate(-45 206.656 353.612)" fill="#0058CC"/>
<rect x="206.656" y="105.624" width="3.24728" height="3.24729" transform="rotate(-45 206.656 105.624)" fill="#0058CC"/>
<rect x="330.65" y="229.618" width="3.24728" height="3.2473" transform="rotate(-45 330.65 229.618)" fill="#0058CC"/>
<rect x="103.328" y="250.284" width="3.24729" height="3.24728" transform="rotate(-45 103.328 250.284)" fill="#0058CC"/>
<rect x="227.322" y="374.278" width="3.24729" height="3.24728" transform="rotate(-45 227.322 374.278)" fill="#0058CC"/>
<rect x="227.322" y="126.29" width="3.24728" height="3.24728" transform="rotate(-45 227.322 126.29)" fill="#0058CC"/>
<rect x="351.316" y="250.284" width="3.24728" height="3.24728" transform="rotate(-45 351.316 250.284)" fill="#0058CC"/>
<rect x="123.994" y="270.95" width="3.24729" height="3.24729" transform="rotate(-45 123.994 270.95)" fill="#0058CC"/>
<rect x="247.988" y="394.943" width="3.24729" height="3.24731" transform="rotate(-45 247.988 394.943)" fill="#0058CC"/>
<rect x="247.988" y="146.956" width="3.24728" height="3.24729" transform="rotate(-45 247.988 146.956)" fill="#0058CC"/>
<rect x="371.982" y="270.95" width="3.24728" height="3.24731" transform="rotate(-45 371.982 270.95)" fill="#0058CC"/>
<rect x="144.659" y="291.615" width="3.24729" height="3.2473" transform="rotate(-45 144.659 291.615)" fill="#0058CC"/>
<rect x="268.653" y="415.609" width="3.24729" height="3.24728" transform="rotate(-45 268.653 415.609)" fill="#0058CC"/>
<rect x="268.653" y="167.621" width="3.24728" height="3.2473" transform="rotate(-45 268.653 167.621)" fill="#0058CC"/>
<rect x="392.647" y="291.615" width="3.24728" height="3.24728" transform="rotate(-45 392.647 291.615)" fill="#0058CC"/>
<rect x="61.9969" y="167.621" width="3.24729" height="3.24729" transform="rotate(-45 61.9969 167.621)" fill="#0058CC"/>
<rect x="185.991" y="291.615" width="3.24729" height="3.24728" transform="rotate(-45 185.991 291.615)" fill="#0058CC"/>
<rect x="185.991" y="43.6275" width="3.24728" height="3.24729" transform="rotate(-45 185.991 43.6275)" fill="#0058CC"/>
<rect x="309.985" y="167.621" width="3.24728" height="3.24728" transform="rotate(-45 309.985 167.621)" fill="#0058CC"/>
<rect x="82.6626" y="188.287" width="3.24729" height="3.24729" transform="rotate(-45 82.6626 188.287)" fill="#0058CC"/>
<rect x="206.656" y="312.281" width="3.24729" height="3.24728" transform="rotate(-45 206.656 312.281)" fill="#0058CC"/>
<rect x="206.656" y="64.2932" width="3.24728" height="3.24729" transform="rotate(-45 206.656 64.2932)" fill="#0058CC"/>
<rect x="330.65" y="188.287" width="3.24728" height="3.24728" transform="rotate(-45 330.65 188.287)" fill="#0058CC"/>
<rect x="103.328" y="208.953" width="3.24729" height="3.24729" transform="rotate(-45 103.328 208.953)" fill="#0058CC"/>
<rect x="227.322" y="332.946" width="3.24729" height="3.2473" transform="rotate(-45 227.322 332.946)" fill="#0058CC"/>
<rect x="227.322" y="84.9588" width="3.24728" height="3.24729" transform="rotate(-45 227.322 84.9588)" fill="#0058CC"/>
<rect x="351.316" y="208.953" width="3.24728" height="3.2473" transform="rotate(-45 351.316 208.953)" fill="#0058CC"/>
<rect x="123.994" y="229.618" width="3.24729" height="3.24728" transform="rotate(-45 123.994 229.618)" fill="#0058CC"/>
<rect x="247.988" y="353.612" width="3.24729" height="3.24728" transform="rotate(-45 247.988 353.612)" fill="#0058CC"/>
<rect x="247.988" y="105.624" width="3.24728" height="3.24728" transform="rotate(-45 247.988 105.624)" fill="#0058CC"/>
<rect x="371.982" y="229.618" width="3.24728" height="3.24728" transform="rotate(-45 371.982 229.618)" fill="#0058CC"/>
<rect x="144.659" y="250.284" width="3.24729" height="3.24729" transform="rotate(-45 144.659 250.284)" fill="#0058CC"/>
<rect x="268.653" y="374.278" width="3.24729" height="3.24731" transform="rotate(-45 268.653 374.278)" fill="#0058CC"/>
<rect x="268.653" y="126.29" width="3.24728" height="3.24729" transform="rotate(-45 268.653 126.29)" fill="#0058CC"/>
<rect x="392.647" y="250.284" width="3.24728" height="3.24731" transform="rotate(-45 392.647 250.284)" fill="#0058CC"/>
<rect x="165.325" y="270.95" width="3.24729" height="3.2473" transform="rotate(-45 165.325 270.95)" fill="#0058CC"/>
<rect x="289.319" y="394.943" width="3.24729" height="3.24728" transform="rotate(-45 289.319 394.943)" fill="#0058CC"/>
<rect x="289.319" y="146.956" width="3.24728" height="3.2473" transform="rotate(-45 289.319 146.956)" fill="#0058CC"/>
<rect x="413.313" y="270.95" width="3.24728" height="3.24728" transform="rotate(-45 413.313 270.95)" fill="#0058CC"/>
<rect x="82.6626" y="146.956" width="3.24729" height="3.24729" transform="rotate(-45 82.6626 146.956)" fill="#0058CC"/>
<rect x="206.656" y="270.95" width="3.24729" height="3.24728" transform="rotate(-45 206.656 270.95)" fill="#0058CC"/>
<rect x="206.656" y="22.9619" width="3.24731" height="3.24729" transform="rotate(-45 206.656 22.9619)" fill="#0058CC"/>
<rect x="330.65" y="146.956" width="3.24731" height="3.24728" transform="rotate(-45 330.65 146.956)" fill="#0058CC"/>
<rect x="103.328" y="167.621" width="3.24729" height="3.24729" transform="rotate(-45 103.328 167.621)" fill="#0058CC"/>
<rect x="227.322" y="291.615" width="3.24729" height="3.24728" transform="rotate(-45 227.322 291.615)" fill="#0058CC"/>
<rect x="227.322" y="43.6275" width="3.24731" height="3.24729" transform="rotate(-45 227.322 43.6275)" fill="#0058CC"/>
<rect x="351.316" y="167.621" width="3.24731" height="3.24728" transform="rotate(-45 351.316 167.621)" fill="#0058CC"/>
<rect x="123.994" y="188.287" width="3.24729" height="3.24729" transform="rotate(-45 123.994 188.287)" fill="#0058CC"/>
<rect x="247.988" y="312.281" width="3.24729" height="3.2473" transform="rotate(-45 247.988 312.281)" fill="#0058CC"/>
<rect x="247.988" y="64.2932" width="3.24731" height="3.24729" transform="rotate(-45 247.988 64.2932)" fill="#0058CC"/>
<rect x="371.981" y="188.287" width="3.24731" height="3.2473" transform="rotate(-45 371.981 188.287)" fill="#0058CC"/>
<rect x="144.659" y="208.953" width="3.24729" height="3.24728" transform="rotate(-45 144.659 208.953)" fill="#0058CC"/>
<rect x="268.653" y="332.946" width="3.24729" height="3.24728" transform="rotate(-45 268.653 332.946)" fill="#0058CC"/>
<rect x="268.653" y="84.9588" width="3.24731" height="3.24728" transform="rotate(-45 268.653 84.9588)" fill="#0058CC"/>
<rect x="392.647" y="208.953" width="3.24731" height="3.24728" transform="rotate(-45 392.647 208.953)" fill="#0058CC"/>
<rect x="165.325" y="229.618" width="3.24729" height="3.24729" transform="rotate(-45 165.325 229.618)" fill="#0058CC"/>
<rect x="289.319" y="353.612" width="3.24729" height="3.24731" transform="rotate(-45 289.319 353.612)" fill="#0058CC"/>
<rect x="289.319" y="105.624" width="3.24731" height="3.24729" transform="rotate(-45 289.319 105.624)" fill="#0058CC"/>
<rect x="413.313" y="229.618" width="3.24731" height="3.24731" transform="rotate(-45 413.313 229.618)" fill="#0058CC"/>
<rect x="185.991" y="250.284" width="3.24729" height="3.2473" transform="rotate(-45 185.991 250.284)" fill="#0058CC"/>
<rect x="309.985" y="374.278" width="3.24729" height="3.24728" transform="rotate(-45 309.985 374.278)" fill="#0058CC"/>
<rect x="309.985" y="126.29" width="3.24731" height="3.2473" transform="rotate(-45 309.985 126.29)" fill="#0058CC"/>
<rect x="433.979" y="250.284" width="3.24731" height="3.24728" transform="rotate(-45 433.979 250.284)" fill="#0058CC"/>
<rect x="103.328" y="126.29" width="3.2473" height="3.24729" transform="rotate(-45 103.328 126.29)" fill="#0058CC"/>
<rect x="227.322" y="250.284" width="3.2473" height="3.24728" transform="rotate(-45 227.322 250.284)" fill="#0058CC"/>
<rect x="227.322" y="2.29623" width="3.24728" height="3.24729" transform="rotate(-45 227.322 2.29623)" fill="#0058CC"/>
<rect x="351.316" y="126.29" width="3.24728" height="3.24728" transform="rotate(-45 351.316 126.29)" fill="#0058CC"/>
<rect x="123.994" y="146.956" width="3.2473" height="3.24729" transform="rotate(-45 123.994 146.956)" fill="#0058CC"/>
<rect x="247.988" y="270.95" width="3.2473" height="3.24728" transform="rotate(-45 247.988 270.95)" fill="#0058CC"/>
<rect x="247.988" y="22.9619" width="3.24728" height="3.24729" transform="rotate(-45 247.988 22.9619)" fill="#0058CC"/>
<rect x="371.982" y="146.956" width="3.24728" height="3.24728" transform="rotate(-45 371.982 146.956)" fill="#0058CC"/>
<rect x="144.659" y="167.621" width="3.2473" height="3.24729" transform="rotate(-45 144.659 167.621)" fill="#0058CC"/>
<rect x="268.653" y="291.615" width="3.2473" height="3.2473" transform="rotate(-45 268.653 291.615)" fill="#0058CC"/>
<rect x="268.653" y="43.6275" width="3.24728" height="3.24729" transform="rotate(-45 268.653 43.6275)" fill="#0058CC"/>
<rect x="392.647" y="167.621" width="3.24728" height="3.2473" transform="rotate(-45 392.647 167.621)" fill="#0058CC"/>
<rect x="165.325" y="188.287" width="3.2473" height="3.24728" transform="rotate(-45 165.325 188.287)" fill="#0058CC"/>
<rect x="289.319" y="312.281" width="3.2473" height="3.24728" transform="rotate(-45 289.319 312.281)" fill="#0058CC"/>
<rect x="289.319" y="64.2932" width="3.24728" height="3.24728" transform="rotate(-45 289.319 64.2932)" fill="#0058CC"/>
<rect x="413.313" y="188.287" width="3.24728" height="3.24728" transform="rotate(-45 413.313 188.287)" fill="#0058CC"/>
<rect x="185.991" y="208.953" width="3.2473" height="3.24729" transform="rotate(-45 185.991 208.953)" fill="#0058CC"/>
<rect x="309.985" y="332.946" width="3.2473" height="3.24731" transform="rotate(-45 309.985 332.946)" fill="#0058CC"/>
<rect x="309.985" y="84.9588" width="3.24728" height="3.24729" transform="rotate(-45 309.985 84.9588)" fill="#0058CC"/>
<rect x="433.979" y="208.953" width="3.24728" height="3.24731" transform="rotate(-45 433.979 208.953)" fill="#0058CC"/>
<rect x="206.656" y="229.618" width="3.2473" height="3.2473" transform="rotate(-45 206.656 229.618)" fill="#0058CC"/>
<rect x="330.65" y="353.612" width="3.2473" height="3.24728" transform="rotate(-45 330.65 353.612)" fill="#0058CC"/>
<rect x="330.65" y="105.624" width="3.24728" height="3.2473" transform="rotate(-45 330.65 105.624)" fill="#0058CC"/>
<rect x="454.644" y="229.618" width="3.24728" height="3.24728" transform="rotate(-45 454.644 229.618)" fill="#0058CC"/>
</g>
</svg>