on master help sign in
hidden strings for font force-loading
9363e71James Acklin
public/index.html+61−15
@@ -1,26 +1,72 @@
1<!DOCTYPE html>
1<!DOCTYPE html>
2<html lang="en">
2<html lang="en">
3 <head>
3 <head>
4− <meta charset="utf-8">
4+ <meta charset="utf-8" />
5+ <meta
6+ name="viewport"
5− <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7+ content="width=device-width, initial-scale=1, shrink-to-fit=no"
8+ />
6− <meta name="theme-color" content="#fff">
9+ <meta name="theme-color" content="#fff" />
7− <link rel="manifest" href="%PUBLIC_URL%/manifest.json">
10+ <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
8− <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
11+ <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
9 <title>Bridge</title>
12 <title>Bridge</title>
13+ <style type="text/css">
14+ .hidden {
15+ position: absolute;
16+ overflow: hidden;
17+ clip: rect(0 0 0 0);
18+ height: 1px;
19+ width: 1px;
20+ margin: -1px;
21+ padding: 0;
22+ border: 0;
23+ }
24+ </style>
10 </head>
25 </head>
11 <body>
26 <body>
12− <noscript>
13− You need to enable JavaScript to run this app.
14− </noscript>
15 <div id="root"></div>
27 <div id="root"></div>
16 <!-- Force load all fonts -->
28 <!-- Force load all fonts -->
17− <div style="position:fixed;left=-9999px;top=-9999px;opacity:0;user-select:none;">
29+ <div
30+ aria-visibility="hidden"
31+ class="hidden"
18− <p style="font-family:Inter;font-weight:400">Aa</p>
32+ style="font-family:Inter; font-weight:400"
33+ >
34+ &nbsp;
35+ </div>
36+ <div
37+ aria-visibility="hidden"
38+ class="hidden"
19− <p style="font-family:Inter;font-weight:500">Aa</p>
39+ style="font-family:Inter; font-weight:500"
40+ >
41+ &nbsp;
42+ </div>
43+ <div
44+ aria-visibility="hidden"
45+ class="hidden"
20− <p style="font-family:Inter;font-weight:600">Aa</p>
46+ style="font-family:Inter; font-weight:600"
47+ >
48+ &nbsp;
49+ </div>
50+ <div
51+ aria-visibility="hidden"
52+ class="hidden"
21− <p style="font-family:Source Code Pro;font-weight:400">Aa</p>
53+ style="font-family:Source Code Pro; font-weight:400"
54+ >
55+ &nbsp;
56+ </div>
57+ <div
58+ aria-visibility="hidden"
59+ class="hidden"
22− <p style="font-family:Source Code Pro;font-weight:500">Aa</p>
60+ style="font-family:Source Code Pro; font-weight:500"
61+ >
62+ &nbsp;
63+ </div>
64+ <div
65+ aria-visibility="hidden"
66+ class="hidden"
23− <p style="font-family:Source Code Pro;font-weight:600">Aa</p>
67+ style="font-family:Source Code Pro; font-weight:600"
68+ >
69+ &nbsp;
24 </div>
70 </div>
25 </body>
71 </body>
26</html>
72</html>