fix
This commit is contained in:
parent
21cc3e9b3b
commit
f0e167de9a
|
|
@ -15,9 +15,12 @@ export const prodIndex = (
|
||||||
<meta name="viewport"
|
<meta name="viewport"
|
||||||
content="width=device-width, initial-scale=1.0, user-scalable=1.0, minimum-scale=1.0, maximum-scale=1.0">
|
content="width=device-width, initial-scale=1.0, user-scalable=1.0, minimum-scale=1.0, maximum-scale=1.0">
|
||||||
<link rel="stylesheet" href="/index.css">
|
<link rel="stylesheet" href="/index.css">
|
||||||
<style>
|
<link
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600&display=swap');
|
as="style"
|
||||||
</style>
|
rel="stylesheet preload prefetch"
|
||||||
|
href="https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600&display=swap"
|
||||||
|
type="text/css"
|
||||||
|
crossorigin="anonymous" />
|
||||||
${this.head.join("\n")}
|
${this.head.join("\n")}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,26 +1,37 @@
|
||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta
|
||||||
|
name="viewport"
|
||||||
|
content="width=device-width, initial-scale=1.0, user-scalable=1.0, minimum-scale=1.0, maximum-scale=1.0"
|
||||||
|
/>
|
||||||
|
<title>Prasi: App Builder</title>
|
||||||
|
<link rel="stylesheet" href="/index.css" />
|
||||||
|
<link
|
||||||
|
as="style"
|
||||||
|
rel="stylesheet preload prefetch"
|
||||||
|
href="https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600&display=swap"
|
||||||
|
type="text/css"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
as="style"
|
||||||
|
rel="stylesheet preload prefetch"
|
||||||
|
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono"
|
||||||
|
type="text/css"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
/>
|
||||||
|
<script>
|
||||||
|
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = {
|
||||||
|
isDisabled: true,
|
||||||
|
_renderers: {},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
<head>
|
<body className="flex-col flex-1 w-full min-h-screen flex opacity-0">
|
||||||
<meta charset="UTF-8">
|
<div id="root"></div>
|
||||||
<meta name="viewport"
|
<script src="/index.js"></script>
|
||||||
content="width=device-width, initial-scale=1.0, user-scalable=1.0, minimum-scale=1.0, maximum-scale=1.0">
|
</body>
|
||||||
<title>Prasi: App Builder</title>
|
</html>
|
||||||
<link rel="stylesheet" href="/index.css">
|
|
||||||
<style>
|
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600');
|
|
||||||
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono');
|
|
||||||
</style>
|
|
||||||
<script>
|
|
||||||
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = {
|
|
||||||
isDisabled: true,
|
|
||||||
_renderers: {}
|
|
||||||
};</script>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body className="flex-col flex-1 w-full min-h-screen flex opacity-0">
|
|
||||||
<div id="root"></div>
|
|
||||||
<script src="/index.js"></script>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
||||||
|
|
|
||||||
|
|
@ -244,7 +244,8 @@ export const PanelFont: FC<{
|
||||||
if (!doc.querySelector(`link[href="${_href}]`)) {
|
if (!doc.querySelector(`link[href="${_href}]`)) {
|
||||||
const link = doc.createElement("link");
|
const link = doc.createElement("link");
|
||||||
link.type = "text/css";
|
link.type = "text/css";
|
||||||
link.rel = "stylesheet";
|
link.rel = "stylesheet preload prefetch";
|
||||||
|
link.as = "style";
|
||||||
link.crossOrigin = "anonymous";
|
link.crossOrigin = "anonymous";
|
||||||
link.href = _href;
|
link.href = _href;
|
||||||
doc.head.appendChild(link);
|
doc.head.appendChild(link);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue