mirror of
https://github.com/fosrl/docs-v2.git
synced 2026-09-30 17:59:10 +02:00
29 lines
676 B
TypeScript
29 lines
676 B
TypeScript
import type { MetadataRoute } from 'next';
|
|
import { appName, siteDescription } from '@/lib/shared';
|
|
|
|
export default function manifest(): MetadataRoute.Manifest {
|
|
return {
|
|
name: appName,
|
|
short_name: appName,
|
|
description: siteDescription,
|
|
start_url: '/',
|
|
display: 'standalone',
|
|
background_color: '#FAF9F2',
|
|
theme_color: '#FAF9F2',
|
|
icons: [
|
|
{
|
|
src: '/web-app-manifest-192x192.png',
|
|
sizes: '192x192',
|
|
type: 'image/png',
|
|
purpose: 'maskable',
|
|
},
|
|
{
|
|
src: '/web-app-manifest-512x512.png',
|
|
sizes: '512x512',
|
|
type: 'image/png',
|
|
purpose: 'maskable',
|
|
},
|
|
],
|
|
};
|
|
}
|