aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/manifest.ts
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2023-12-10 12:04:15 -0500
committerSebastien Castiel <sebastien@castiel.me>2023-12-10 12:04:15 -0500
commitc504a773384bdaeddf6080ce749ecd39e12b24e5 (patch)
tree00cfe6c12888a510805aadcbe9e776a3fcf7df54 /src/app/manifest.ts
parent5553ac1df9c0ac418a4b782bb83f8434c22a3ce9 (diff)
PWA
Diffstat (limited to 'src/app/manifest.ts')
-rw-r--r--src/app/manifest.ts32
1 files changed, 32 insertions, 0 deletions
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',
+ },
+ ],
+ }
+}