mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-09-27 00:50:06 +03:00
add webmanifest and robots
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import {MetadataRoute} from 'next'
|
||||
|
||||
export default function manifest(): MetadataRoute.Manifest {
|
||||
return {
|
||||
id: '?pwa-home=1',
|
||||
name: 'AimeNet',
|
||||
description: 'Aime Card Switcher',
|
||||
start_url: '/',
|
||||
categories: ['utilities', 'games', 'entertainment'],
|
||||
orientation: 'portrait-primary',
|
||||
display: 'standalone',
|
||||
background_color: '#140606',
|
||||
theme_color: '#d2005b',
|
||||
icons: [
|
||||
{
|
||||
src: '/favicon.ico',
|
||||
sizes: 'any',
|
||||
type: 'image/x-icon',
|
||||
},
|
||||
],
|
||||
shortcuts: [
|
||||
{
|
||||
url: '/',
|
||||
name: 'Servers',
|
||||
description: 'View, add or connect to servers'
|
||||
},
|
||||
{
|
||||
url: '/cards',
|
||||
name: 'Cards',
|
||||
description: 'Manage stored cards'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { MetadataRoute } from 'next'
|
||||
|
||||
export default function robots(): MetadataRoute.Robots {
|
||||
return {
|
||||
rules: {
|
||||
userAgent: '*',
|
||||
disallow: '/'
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user