Skip to content

Commit

Permalink
Include app manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed May 27, 2017
1 parent 8a4f4ba commit ab434c6
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/build-theme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ zip -r dones.zip \
functions.php \
index.php \
LICENSE.md \
manifest.json \
README.md \
screenshot.png \
style.css \
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="<?php bloginfo( 'charset' ); ?>">
<link rel="manifest" href="<?php echo get_theme_file_uri( '/manifest.json' ); ?>">
<style><?php @include( dirname( __FILE__ ) . '/dist/critical.css.php' ); ?></style>
<?php wp_head() ?>
</head>
Expand Down
29 changes: 29 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "Dones",
"short_name": "Dones",
"start_url": ".",
"display": "standalone",
"background_color": "#F7F7F8",
"description": "Simple team task management and tracking",
"icons": [ {
"src": "img/icon-32.png",
"sizes": "32x32",
"type": "image/png"
}, {
"src": "img/icon-180.png",
"sizes": "180x180",
"type": "image/png"
}, {
"src": "img/icon-192.png",
"sizes": "192x192",
"type": "image/png"
}, {
"src": "img/icon-270.png",
"sizes": "270x270",
"type": "image/png"
}, {
"src": "img/icon-512.png",
"sizes": "512x512",
"type": "image/png"
} ]
}

0 comments on commit ab434c6

Please sign in to comment.