mirror of
https://github.com/fosrl/docs-v2.git
synced 2026-10-01 10:19:23 +02:00
add better favicon support
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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',
|
||||
},
|
||||
],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user