File tree Expand file tree Collapse file tree 1 file changed +58
-1
lines changed
Expand file tree Collapse file tree 1 file changed +58
-1
lines changed Original file line number Diff line number Diff line change 11<!DOCTYPE html>
2- < html lang ="en ">
2+ < html lang ="ru ">
33 < head >
44 < meta charset ="UTF-8 " />
55 < link rel ="icon " type ="image/svg+xml " href ="/src/favicon.svg " />
66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
77 < title > QA Guru</ title >
8+ < style >
9+ # loader {
10+ position : absolute;
11+ top : 50% ;
12+ left : 50% ;
13+ transform : translate (-50% , -50% );
14+ }
15+
16+ @keyframes spin {
17+ 0% {
18+ transform : rotate (0deg );
19+ }
20+ 100% {
21+ transform : rotate (360deg );
22+ }
23+ }
24+
25+ .loader {
26+ animation : spin 1.4s linear infinite;
27+ width : 40px ;
28+ height : 40px ;
29+ }
30+
31+ .loader circle {
32+ stroke : # 20aee3 ;
33+ stroke-width : 4 ;
34+ stroke-linecap : round;
35+ fill : none;
36+ stroke-dasharray : 90 ;
37+ stroke-dashoffset : 0 ;
38+ transform-origin : center;
39+ }
40+
41+ # root {
42+ display : none;
43+ }
44+
45+ .loaded # loader {
46+ display : none;
47+ }
48+
49+ .loaded # root {
50+ display : block;
51+ }
52+ </ style >
853 </ head >
954 < body >
55+ < div id ="loader ">
56+ < svg class ="loader " viewBox ="0 0 50 50 ">
57+ < circle cx ="25 " cy ="25 " r ="20 "> </ circle >
58+ </ svg >
59+ </ div >
60+
1061 < div id ="root "> </ div >
62+
1163 < script type ="module " src ="/src/index.tsx "> </ script >
64+ < script >
65+ window . addEventListener ( "load" , function ( ) {
66+ document . body . classList . add ( "loaded" ) ;
67+ } ) ;
68+ </ script >
1269 </ body >
1370</ html >
You can’t perform that action at this time.
0 commit comments