Add splash screen for iOS PWA

This commit is contained in:
Sebastien Castiel
2024-02-04 11:17:53 -05:00
parent 6dd631b03a
commit 10fd69404a
2 changed files with 100 additions and 0 deletions

View File

@@ -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"