WebApp manifest added to allow users "Add to Homescreen" documentations (#2377)

* manifest config added and src/images/react_logo.png added for icon

* inverted commas fix as per linter

* added legacy:true option for ios

* legacy:true lint fix

* added meta tags for ios and moved logo from src to static
This commit is contained in:
Saurabh Daware
2019-10-09 21:35:28 +05:30
committed by Brian Vaughn
parent 0a7beebf2b
commit 0726327dbb
4 changed files with 18 additions and 0 deletions

View File

@@ -19,6 +19,11 @@ export default class HTML extends React.Component {
content="width=device-width, initial-scale=1.0"
/>
<link rel="icon" href="/favicon.ico" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="apple-touch-icon" href="/logo-180x180.png" />
<meta name="apple-mobile-web-app-title" content="React" />
{this.props.headComponents}
</head>
<body {...this.props.bodyAttributes}>