diff --git a/app/layout-content.tsx b/app/layout-content.tsx index b42b9ab..74bfb25 100644 --- a/app/layout-content.tsx +++ b/app/layout-content.tsx @@ -45,7 +45,7 @@ export default function LayoutContent({ children }: { children: React.ReactNode return ( <> - {auth.user && } + {auth.user && }
{ - // Check initial status - if (typeof window !== 'undefined') { - setIsOnline(navigator.onLine); - } + if (typeof window === 'undefined') return; + + setIsOnline(navigator.onLine); const handleOnline = () => setIsOnline(true); const handleOffline = () => setIsOnline(false); diff --git a/public/icon-192x192.png b/public/icon-192x192.png new file mode 100644 index 0000000..c3b532c Binary files /dev/null and b/public/icon-192x192.png differ diff --git a/public/icon-512x512.png b/public/icon-512x512.png new file mode 100644 index 0000000..a9bf4b0 Binary files /dev/null and b/public/icon-512x512.png differ diff --git a/public/manifest.json b/public/manifest.json index ba43e5b..5f19b6c 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -5,15 +5,15 @@ "start_url": "/", "display": "standalone", "background_color": "#ffffff", - "theme_color": "#000000", + "theme_color": "#FD5E0F", "icons": [ { - "src": "/Icon%20Padding%20left%20%26%20right%20192x192.png", + "src": "/icon-192x192.png", "sizes": "192x192", "type": "image/png" }, { - "src": "/Icon%20Padding%20left%20%26%20right%20512x512.png", + "src": "/icon-512x512.png", "sizes": "512x512", "type": "image/png" }