Sfoglia il codice sorgente

add webmanifest

pull/17/head
Aaron Parecki 5 anni fa
parent
commit
871d41767c
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 276C2817346D6056
2 ha cambiato i file con 22 aggiunte e 1 eliminazioni
  1. +19
    -0
      public/manifest.json
  2. +3
    -1
      views/layout.php

+ 19
- 0
public/manifest.json Vedi File

@ -0,0 +1,19 @@
{
"name": "Teacup",
"short_name": "Teacup",
"icons": [
{
"src": "/images/teacup-icon-144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "/icons/teacup-icon-57.png",
"sizes": "57x57",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

+ 3
- 1
views/layout.php Vedi File

@ -26,6 +26,8 @@
<link rel="apple-touch-icon" sizes="114x114" href="/images/teacup-icon-114.png">
<link rel="apple-touch-icon" sizes="144x144" href="/images/teacup-icon-144.png">
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/images/teacup-16px.png" type="image/png">
<script src="/js/jquery-1.7.1.min.js"></script>
@ -66,4 +68,4 @@
</div>
</body>
</html>
</html>

Caricamento…
Annulla
Salva