aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/layout.tsx
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2024-02-04 11:17:53 -0500
committerSebastien Castiel <sebastien@castiel.me>2024-02-04 11:17:53 -0500
commit10fd69404a69b15d5c0888d9382663f324455ec0 (patch)
tree1332bb06fa4245d8557879bb00b10415e60698d9 /src/app/layout.tsx
parent6dd631b03a46d25d73f8cccffec8ab81ed2212b9 (diff)
Add splash screen for iOS PWA
Diffstat (limited to 'src/app/layout.tsx')
-rw-r--r--src/app/layout.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 30a0227..73747fb 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -1,3 +1,4 @@
+import { ApplePwaSplash } from '@/app/apple-pwa-splash'
import { ProgressBar } from '@/components/progress-bar'
import { ThemeProvider } from '@/components/theme-provider'
import { ThemeToggle } from '@/components/theme-toggle'
@@ -65,6 +66,7 @@ export default function RootLayout({
}) {
return (
<html lang="en" suppressHydrationWarning>
+ <ApplePwaSplash icon="/logo-with-text.png" color="#027756" />
<body className="pt-16 min-h-[100dvh] flex flex-col items-stretch bg-slate-50 bg-opacity-30 dark:bg-background">
<ThemeProvider
attribute="class"