feat: start basis of new web ui system on CRA

This commit is contained in:
41666 2021-03-12 16:14:59 -05:00
parent 40f577d01d
commit 38ee680a33
43 changed files with 465 additions and 174 deletions

View file

@ -22,6 +22,37 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<script>
(function (d) {
var config = {
kitId: 'bck0pci',
scriptTimeout: 3000,
async: true,
},
h = d.documentElement,
t = setTimeout(function () {
h.className =
h.className.replace(/\bwf-loading\b/g, '') + ' wf-inactive';
}, config.scriptTimeout),
tk = d.createElement('script'),
f = false,
s = d.getElementsByTagName('script')[0],
a;
h.className += ' wf-loading';
tk.src = 'https://use.typekit.net/' + config.kitId + '.js';
tk.async = true;
tk.onload = tk.onreadystatechange = function () {
a = this.readyState;
if (f || (a && a != 'complete' && a != 'loaded')) return;
f = true;
clearTimeout(t);
try {
Typekit.load(config);
} catch (e) {}
};
s.parentNode.insertBefore(tk, s);
})(document);
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>