Browse Source

add webmanifest

pull/17/head
Aaron Parecki 6 years ago
parent
commit
871d41767c
No known key found for this signature in database GPG Key ID: 276C2817346D6056
2 changed files with 22 additions and 1 deletions
  1. +19
    -0
      public/manifest.json
  2. +3
    -1
      views/layout.php

+ 19
- 0
public/manifest.json View 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 View 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>

Loading…
Cancel
Save