import type { MetadataRoute } from 'next'
import { config } from '@/lib/config'

export default function manifest(): MetadataRoute.Manifest {
    return {
        name: config.appName,
        short_name: config.appName,
        description: config.appDescription,
        start_url: '/',
        display: 'standalone',
        background_color: config.colors.backgroundColor,
        theme_color: config.colors.themeColor,
        icons: [
            {
                src: '/favicon.ico',
                sizes: 'any',
                type: 'image/x-icon',
            },
        ],
    }
}
