feat: new favicons and minor fixes
This commit is contained in:
BIN
src/app/apple-icon.png
Normal file
BIN
src/app/apple-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
BIN
src/app/favicon.ico
Normal file
BIN
src/app/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
3
src/app/icon0.svg
Normal file
3
src/app/icon0.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 76 KiB |
BIN
src/app/icon1.png
Normal file
BIN
src/app/icon1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
32
src/app/layout.tsx
Normal file
32
src/app/layout.tsx
Normal file
@@ -0,0 +1,32 @@
|
||||
import type { Metadata } from 'next'
|
||||
import React from 'react'
|
||||
|
||||
export const metadata: Metadata = {
|
||||
appleWebApp: {
|
||||
title: 'Расписание КС',
|
||||
},
|
||||
icons: {
|
||||
icon: [
|
||||
{ url: '/favicon.ico' },
|
||||
{ url: '/icon1.png', sizes: '32x32', type: 'image/png' },
|
||||
{ url: '/icon0.svg', type: 'image/svg+xml' },
|
||||
],
|
||||
apple: [
|
||||
{ url: '/apple-touch-icon.png' },
|
||||
],
|
||||
},
|
||||
manifest: '/site.webmanifest',
|
||||
}
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<html lang="ru">
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
|
||||
21
src/app/manifest.json
Normal file
21
src/app/manifest.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "Расписание КС ПГУТИ",
|
||||
"short_name": "Расписание КС",
|
||||
"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"
|
||||
}
|
||||
],
|
||||
"theme_color": "#bc7b7b",
|
||||
"background_color": "#3e0000",
|
||||
"display": "standalone"
|
||||
}
|
||||
Reference in New Issue
Block a user