feat: new favicons and minor fixes
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 188 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 39 KiB |
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square150x150logo src="/mstile-150x150.png"/>
|
||||
<TileColor>#da532c</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
</browserconfig>
|
||||
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
3
public/icon0.svg
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
public/icon1.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 28 KiB |
@@ -1,19 +1,21 @@
|
||||
{
|
||||
"name": "",
|
||||
"short_name": "",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#020817",
|
||||
"background_color": "#020817",
|
||||
"display": "standalone"
|
||||
"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"
|
||||
}
|
||||
|
||||
BIN
public/web-app-manifest-192x192.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
public/web-app-manifest-512x512.png
Normal file
|
After Width: | Height: | Size: 153 KiB |
BIN
src/app/apple-icon.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
src/app/favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
3
src/app/icon0.svg
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
src/app/icon1.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
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
@@ -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"
|
||||
}
|
||||
@@ -5,12 +5,14 @@ export default function Document() {
|
||||
<Html lang="ru">
|
||||
<Head>
|
||||
<meta property="og:site_name" content="Расписание занятий в Колледже связи ПГУТИ" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/icon1.png" />
|
||||
<link rel="icon" type="image/svg+xml" href="/icon0.svg" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<link rel="manifest" href="/site.webmanifest" />
|
||||
<meta name="msapplication-TileColor" content="#da532c" />
|
||||
<meta name="theme-color" content="#ffffff" />
|
||||
<meta name="msapplication-TileColor" content="#bc7b7b" />
|
||||
<meta name="theme-color" content="#bc7b7b" />
|
||||
<meta name="apple-mobile-web-app-title" content="Расписание КС" />
|
||||
</Head>
|
||||
<body>
|
||||
<Main />
|
||||
|
||||