ADD: Manifest

This commit is contained in:
Evg 2023-06-22 05:16:30 +03:00
parent ad5643f039
commit 7d881a1947
3 changed files with 49 additions and 0 deletions

BIN
public/favicon-512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

47
public/manifest.json Normal file
View File

@ -0,0 +1,47 @@
{
"background_color": "#ffffff",
"description": "Темы по интересам, лента, блоги. Каталог сайтов. Платформа для коллективных блогов, скрипт мультиблога, сообщества LibArea.",
"dir": "ltr",
"display": "standalone",
"name": "LibArea — сообщество",
"orientation": "any",
"scope": "/",
"short_name": "LibArea — сообщество",
"start_url": "/",
"theme_color": "#ffffff",
"categories": [
"education",
"lifestyle",
"navigation",
"news",
"social",
"sports"
],
"icons": [
{
"src": "/favicon.ico",
"type": "image/x-icon",
"sizes": "16x16"
},
{
"src": "/favicon-120.ico",
"type": "image/x-icon",
"sizes": "120x120"
},
{
"src": "/favicon-512.png",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "https://libarea.ru/assets/images/libarea.jpg",
"type": "image/jpeg",
"sizes": "1000x390"
},
{
"src": "/favicon.ico",
"type": "image/x-icon"
}
],
"shortcuts": []
}

View File

@ -11,6 +11,8 @@
<?php getRequestHead()->output(); ?>
<link rel="icon" sizes="16x16" href="/favicon.ico" type="image/x-icon">
<link rel="icon" sizes="120x120" href="/favicon-120.ico" type="image/x-icon">
<link rel="icon" sizes="512x512" href="/favicon-512.png" type="image/png">
<link rel="manifest" href="/manifest.json">
<meta name="csrf-token" content="<?= csrf_token(); ?>">
<link rel="search" type="application/opensearchdescription+xml" href="<?= url('opensearch'); ?>" title="<?= __('app.search'); ?>">