14 |
{storeAssetsLoader.title} ( {storeAssetsLoader.progress} / {storeAssetsLoader.max} )
15 |
19 |
20 | );
21 | }
22 | }
23 |
24 | export default observer(Preloader);
25 |
--------------------------------------------------------------------------------
/src/client/web/app/components/preloader/preloader.scss:
--------------------------------------------------------------------------------
1 | .preloader {
2 | &__text {
3 | color: white;
4 | font-size: 26px;
5 | width: 100%;
6 | display: flex;
7 | align-items: center;
8 | justify-content: center;
9 | }
10 | }
11 |
12 |
13 | $bar-height: 10px;
14 |
15 | .bar {
16 | width: 100%;
17 | height: $bar-height;
18 | background: red;
19 | position: relative;
20 | margin-top: 100px;
21 |
22 | &__foreground {
23 | width: 100%;
24 | height: $bar-height;
25 | /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#26481b+0,388224+10,4a9d35+30,4a9d35+57,326823+88,326823+88,26481b+100 */
26 | background: #26481b; /* Old browsers */
27 | background: -moz-linear-gradient(top, #26481b 0%, #388224 10%, #4a9d35 30%, #4a9d35 57%, #326823 88%, #326823 88%, #26481b 100%); /* FF3.6-15 */
28 | background: -webkit-linear-gradient(top, #26481b 0%,#388224 10%,#4a9d35 30%,#4a9d35 57%,#326823 88%,#326823 88%,#26481b 100%); /* Chrome10-25,Safari5.1-6 */
29 | background: linear-gradient(to bottom, #26481b 0%,#388224 10%,#4a9d35 30%,#4a9d35 57%,#326823 88%,#326823 88%,#26481b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
30 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#26481b', endColorstr='#26481b',GradientType=0 ); /* IE6-9 */
31 | position: absolute;
32 | top: 0;
33 | left: 0;
34 | z-index: 2;
35 | }
36 |
37 | &__background {
38 | width: 100%;
39 | height: $bar-height;
40 | background: #0b0b0b;
41 |
42 | position: absolute;
43 | top: 0;
44 | left: 0;
45 | z-index: 1;
46 | }
47 |
48 | }
49 |
--------------------------------------------------------------------------------
/src/client/web/components/containers/App/App.tsx:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | import * as Styled from './styles'
4 |
5 | export default function App(props) {
6 | return (
7 |