forked from ICIJ/datashare-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
120 lines (106 loc) · 3.42 KB
/
index.html
File metadata and controls
120 lines (106 loc) · 3.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="original-source" content="https://www.icij.org/" />
<link rel="canonical" href="https://www.icij.org/" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="theme-color" content="#ffffff">
<meta name="mobile-web-app-capable" content="yes">
<title>Datashare</title>
</head>
<body>
<div id="app">
<style>
@keyframes splashscreen-pulse {
100% {
opacity: 0.5;
}
}
@keyframes splashscreen-progress {
0% {
transform: translateX(0) scaleX(0);
}
40% {
transform: translateX(0) scaleX(0.4);
}
100% {
transform: translateX(100%) scaleX(0.5);
}
}
html, body, *, *::before, *::after {
margin: 0;
padding: 0;
font-size: 16px;
font-family: Inter, "Inter", -apple-system, BlinkMacSystemFont, "Lato", "Source Sans Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
box-sizing: border-box;
}
body {
background-color: #fff;
color: #212529;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #151518;
color: #C7C9CD;
}
}
.splashscreen {
font-size: 24px;
line-height: 20px;
font-weight: 700;
min-height: 100vh;
}
.splashscreen__progress-bar {
position: fixed;
z-index: 9999;
top: 0;
left: 0;
height: 3px;
width: 100%;
background-color: #FA4070;
animation: splashscreen-progress 2s linear infinite;
transform-origin: 0% 50%;
}
.splashscreen, .splashscreen__panel {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.splashscreen__panel {
padding: 4rem 0;
height: 90vh;
display: flex;
gap: 1rem;
}
.splashscreen__panel__logo {
position: relative;
width: auto;
max-height: 200px;
margin-top: auto;
animation: splashscreen-pulse 1s alternate ease-in-out infinite;
}
.splashscreen__panel__label {
margin-top: auto;
}
</style>
<div class="splashscreen">
<div class="splashscreen__progress-bar"></div>
<div class="splashscreen__panel">
<img class="splashscreen__panel__logo" src="splashscreen.png" />
<div class="splashscreen__panel__label">Datashare is starting....</div>
</div>
</div>
</div>
<script type="module" src="/src/main.js"></script>
<!-- Datashare backend will inject plugin scripts automatically here. -->
</body>
</html>