-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simplified icons, added full support for all add to home screen platforms #442
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,19 +7,93 @@ | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>Web Starter Kit</title> | ||
|
||
<!-- Add to homescreen for Chrome on Android --> | ||
<!-- Hide the browser UI when installed to home screen (Chrome, Safari) --> | ||
<meta name="mobile-web-app-capable" content="yes"> | ||
<link rel="icon" sizes="192x192" href="images/touch/chrome-touch-icon-192x192.png"> | ||
|
||
<!-- Add to homescreen for Safari on iOS --> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
|
||
<!-- Set the correct name when installed to home screen (IE, Safari) --> | ||
<meta name="application-name" content="Web Starter Kit"> | ||
<meta name="apple-mobile-web-app-title" content="Web Starter Kit"> | ||
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png"> | ||
|
||
<!-- Tile icon for Win8 (144x144 + tile color) --> | ||
<meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png"> | ||
<meta name="msapplication-TileColor" content="#3372DF"> | ||
<!-- Icons --> | ||
|
||
<!-- Icon in the highest resolution we need it for, reused for Safari --> | ||
<link rel="icon" sizes="228x228" href="images/touch/icon-192x192.png"> | ||
<link rel="apple-touch-icon" href="images/touch/icon-192x192.png"> | ||
|
||
<!-- Multiple icons for IE11 on Win8 (actual images are 1.8 larger, per MS recommendation) --> | ||
<meta name="msapplication-square70x70logo" content="images/touch/icon-128x128.png"> | ||
<meta name="msapplication-square150x150logo" content="images/touch/icon-270x270.png"> | ||
<meta name="msapplication-wide310x150logo" content="images/touch/icon-558x270.png"> | ||
<meta name="msapplication-square310x310logo" content="images/touch/icon-558x558.png"> | ||
|
||
<!-- Tile icon for IE10 on Win8 (144x144 + tile color) --> | ||
<meta name="msapplication-TileImage" content="images/touch/icon-144x144-precomposed.png"> | ||
<meta name="msapplication-TileColor" content="#3372DF"> | ||
|
||
<!-- Safari specific --> | ||
|
||
<!-- Status bar style --> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
|
||
<!-- Startup Image--> | ||
|
||
<!-- iOS 6 & 7 iPad (retina, portrait) --> | ||
<link href="images/touch/apple-touch-startup-image-1536x2008.png" | ||
media="(device-width: 768px) and (device-height: 1024px) | ||
and (orientation: portrait) | ||
and (-webkit-device-pixel-ratio: 2)" | ||
rel="apple-touch-startup-image"> | ||
|
||
<!-- iOS 6 & 7 iPad (retina, landscape) --> | ||
<link href="images/touch/apple-touch-startup-image-1496x2048.png" | ||
media="(device-width: 768px) and (device-height: 1024px) | ||
and (orientation: landscape) | ||
and (-webkit-device-pixel-ratio: 2)" | ||
rel="apple-touch-startup-image"> | ||
|
||
<!-- iOS 6 iPad (portrait) --> | ||
<link href="images/touch/apple-touch-startup-image-768x1004.png" | ||
media="(device-width: 768px) and (device-height: 1024px) | ||
and (orientation: portrait) | ||
and (-webkit-device-pixel-ratio: 1)" | ||
rel="apple-touch-startup-image"> | ||
|
||
<!-- iOS 6 iPad (landscape) --> | ||
<link href="images/touch/apple-touch-startup-image-748x1024.png" | ||
media="(device-width: 768px) and (device-height: 1024px) | ||
and (orientation: landscape) | ||
and (-webkit-device-pixel-ratio: 1)" | ||
rel="apple-touch-startup-image"> | ||
|
||
<!-- iOS 6 & 7 iPhone 5 --> | ||
<link href="images/touch/apple-touch-startup-image-640x1096.png" | ||
media="(device-width: 320px) and (device-height: 568px) | ||
and (-webkit-device-pixel-ratio: 2)" | ||
rel="apple-touch-startup-image"> | ||
|
||
<!-- iOS 6 & 7 iPhone (retina) --> | ||
<link href="images/touch//apple-touch-startup-image-640x920.png" | ||
media="(device-width: 320px) and (device-height: 480px) | ||
and (-webkit-device-pixel-ratio: 2)" | ||
rel="apple-touch-startup-image"> | ||
|
||
<!-- iOS 6 iPhone --> | ||
<link href="images/touch/apple-touch-startup-image-320x460.png" | ||
media="(device-width: 320px) and (device-height: 480px) | ||
and (-webkit-device-pixel-ratio: 1)" | ||
rel="apple-touch-startup-image"> | ||
|
||
<!-- MS specific --> | ||
|
||
<!-- Tooltip (Desktop) --> | ||
<meta name="msapplication-tooltip" content="Start the Web Starter Kit app"> | ||
|
||
<!-- Start url when pinned (Desktop) --> | ||
<meta name="msapplication-starturl" content="./"> | ||
|
||
<!-- Color of navigation buttons (back/forward) (Desktop) --> | ||
<meta name="msapplication-navbutton-color" content="#FF3300" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. weird indentation on all of the above There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Open for other suggestions on how to visually nest. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't visually nest. Rather prefix the comments: |
||
|
||
<!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones --> | ||
<!-- | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need switching to a 228x228 image.