Skip to content

Commit afd6134

Browse files
committed
Get rid of logo flicker and improve LCP
1 parent 9807e25 commit afd6134

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

frontend/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
66
<title>Nginx Proxy Manager</title>
77
<meta name="description" content="In The Office Planner" />
8+
<link rel="preload" href="/images/logo-no-text.svg" as="image" type="image/svg+xml" fetchPriority="high">
89
<link
910
rel="apple-touch-icon"
1011
sizes="180x180"

frontend/src/Router.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function Router() {
5858
<SiteMenu />
5959
</div>
6060
<SiteContainer>
61-
<Suspense fallback={<LoadingPage noLogo />}>
61+
<Suspense fallback={<LoadingPage />}>
6262
<Routes>
6363
<Route path="*" element={<ErrorNotFound />} />
6464
<Route path="/certificates" element={<Certificates />} />

0 commit comments

Comments
 (0)