mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
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:
committed by
Brian Vaughn
parent
0a7beebf2b
commit
0726327dbb
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user