Change webmanifest to file for parcel

This commit is contained in:
Robbie Antenesse 2019-09-08 21:47:18 -06:00
parent 79c812c684
commit 3b9d40ab7b
2 changed files with 49 additions and 1 deletions

View File

@ -9,11 +9,18 @@
<meta name="description" content="An attempt at a viable alternative to Goodreads">
<meta name="keywords" content="books, tracking, lists, bookshelves, bookshelf, rating, reviews, reading">
<link rel="manifest" href="manifest.webmanifest">
<meta name="theme-color" content="#000000">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="book-tracker">
<link rel="apple-touch-icon" href="../dev/images/favicon.png">
<link rel="stylesheet" href="styles/index.scss">
<script src="index.js"></script>
</head>
<!-- Choo replaces the body tag with the app. -->
<body></body>
<body>Loading...</body>
</html>

41
app/manifest.webmanifest Normal file
View File

@ -0,0 +1,41 @@
{
"name": "book-tracker",
"short_name": "book-tracker",
"icons": [
{
"src": "../dev/images/icon-128.png",
"sizes": "128x128",
"type": "image/png"
},
{
"src": "../dev/images/icon-144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "../dev/images/icon-152.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src": "../dev/images/icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "../dev/images/icon-256.png",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "../dev/images/icon-512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": "/",
"display": "standalone",
"orientation": "portrait",
"background_color": "#000000",
"theme_color": "#1C4AFF"
}