import type { MetadataRoute } from 'next'; import { AppConfig } from '@/utils/AppConfig'; export default function manifest(): MetadataRoute.Manifest { return { name: AppConfig.name, short_name: AppConfig.name.slice(0, 12), description: AppConfig.description, start_url: '/', scope: '/', display: 'standalone', background_color: '#ffffff', theme_color: '#09090b', orientation: 'portrait-primary', icons: [ { src: '/app-icon.svg', sizes: 'any', type: 'image/svg+xml', purpose: 'any', }, { src: '/app-icon.svg', sizes: 'any', type: 'image/svg+xml', purpose: 'maskable', }, ], }; }