From c504a773384bdaeddf6080ce749ecd39e12b24e5 Mon Sep 17 00:00:00 2001
From: Sebastien Castiel <sebastien@castiel.me>
Date: Sun, 10 Dec 2023 12:04:15 -0500
Subject: PWA

---
 src/app/layout.tsx | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

(limited to 'src/app/layout.tsx')

diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 9fd82b0..2560871 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -3,7 +3,7 @@ import { ThemeProvider } from '@/components/theme-provider'
 import { ThemeToggle } from '@/components/theme-toggle'
 import { Button } from '@/components/ui/button'
 import { env } from '@/lib/env'
-import type { Metadata } from 'next'
+import type { Metadata, Viewport } from 'next'
 import Image from 'next/image'
 import Link from 'next/link'
 import './globals.css'
@@ -40,18 +40,22 @@ export const metadata: Metadata = {
   applicationName: 'Spliit',
   icons: [
     {
-      url: '/public/android-chrome-192x192.png',
+      url: '/android-chrome-192x192.png',
       sizes: '192x192',
       type: 'image/png',
     },
     {
-      url: '/public/android-chrome-512x512.png',
+      url: '/android-chrome-512x512.png',
       sizes: '512x512',
       type: 'image/png',
     },
   ],
 }
 
+export const viewport: Viewport = {
+  themeColor: '#047857',
+}
+
 export default function RootLayout({
   children,
 }: {
-- 
cgit v1.3

