From f0e167de9ae10e8bfd3844cb8bade3b0c38b4bb5 Mon Sep 17 00:00:00 2001 From: Rizky Date: Tue, 16 Jul 2024 22:06:09 +0700 Subject: [PATCH] fix --- app/srv/util/prod-index.ts | 9 ++- app/web/public/index.html | 59 +++++++++++-------- .../nova/ed/panel/side/style/panel/font.tsx | 3 +- 3 files changed, 43 insertions(+), 28 deletions(-) diff --git a/app/srv/util/prod-index.ts b/app/srv/util/prod-index.ts index 4a359cbd..4905c574 100644 --- a/app/srv/util/prod-index.ts +++ b/app/srv/util/prod-index.ts @@ -15,9 +15,12 @@ export const prodIndex = ( - + ${this.head.join("\n")} diff --git a/app/web/public/index.html b/app/web/public/index.html index 7bf31125..b5b675c3 100644 --- a/app/web/public/index.html +++ b/app/web/public/index.html @@ -1,26 +1,37 @@ - + + + + + Prasi: App Builder + + + + + - - - - Prasi: App Builder - - - - - - -
- - - - \ No newline at end of file + +
+ + + diff --git a/app/web/src/nova/ed/panel/side/style/panel/font.tsx b/app/web/src/nova/ed/panel/side/style/panel/font.tsx index 6606ff45..d21143fe 100644 --- a/app/web/src/nova/ed/panel/side/style/panel/font.tsx +++ b/app/web/src/nova/ed/panel/side/style/panel/font.tsx @@ -244,7 +244,8 @@ export const PanelFont: FC<{ if (!doc.querySelector(`link[href="${_href}]`)) { const link = doc.createElement("link"); link.type = "text/css"; - link.rel = "stylesheet"; + link.rel = "stylesheet preload prefetch"; + link.as = "style"; link.crossOrigin = "anonymous"; link.href = _href; doc.head.appendChild(link);