Skip to content

Commit

Permalink
Adds web app manifest file (kriasoft#1519)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzzy authored Jan 30, 2018
1 parent 59314e8 commit 2c85581
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
Binary file removed public/apple-touch-icon.png
Binary file not shown.
Binary file added public/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"icons": [
{
"src": "icon.png",
"sizes": "192x192",
"type": "image/png"
}
],
"start_url": "/"
}
3 changes: 2 additions & 1 deletion src/components/Html.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ class Html extends React.Component {
{scripts.map(script => (
<link key={script} rel="preload" href={script} as="script" />
))}
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="apple-touch-icon" href="/icon.png" />
{styles.map(style => (
<style
key={style.id}
Expand Down

0 comments on commit 2c85581

Please sign in to comment.