From c504a773384bdaeddf6080ce749ecd39e12b24e5 Mon Sep 17 00:00:00 2001 From: Sebastien Castiel Date: Sun, 10 Dec 2023 12:04:15 -0500 Subject: PWA --- src/app/manifest.ts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/app/manifest.ts (limited to 'src/app/manifest.ts') diff --git a/src/app/manifest.ts b/src/app/manifest.ts new file mode 100644 index 0000000..6fdb9da --- /dev/null +++ b/src/app/manifest.ts @@ -0,0 +1,32 @@ +import { MetadataRoute } from 'next' + +export default function manifest(): MetadataRoute.Manifest { + return { + name: 'Spliit', + short_name: 'Spliit', + description: + 'A minimalist web application to share expenses with friends and family. No ads, no account, no problem.', + start_url: '/', + display: 'standalone', + background_color: '#fff', + theme_color: '#047857', + icons: [ + { + src: '/android-chrome-192x192.png', + sizes: '192x192', + type: 'image/png', + }, + { + src: '/android-chrome-512x512.png', + sizes: '512x512', + type: 'image/png', + }, + { + src: '/logo-512x512-maskable.png', + sizes: '512x512', + type: 'image/png', + purpose: 'maskable', + }, + ], + } +} -- cgit v1.3