Files
outdoor-tour-pwa/src/app/manifest.ts
T

28 lines
705 B
TypeScript

import type { MetadataRoute } from 'next';
export const dynamic = 'force-static';
export default function manifest(): MetadataRoute.Manifest {
return {
name: 'Next.js PWA',
short_name: 'NextPWA',
description: 'A Progressive Web App built with Next.js',
//start_url: '/', Disables the default website install popup
display: 'fullscreen',
orientation: "portrait-primary",
background_color: '#000000',
theme_color: '#ffffff',
icons: [
{
src: '/icons/icon-192x192.png',
sizes: '192x192',
type: 'image/png',
},
{
src: '/icons/icon-512x512.png',
sizes: '512x512',
type: 'image/png',
},
],
}
}