diff --git a/resources/celerity/map.php b/resources/celerity/map.php index f59f0cbb3d..ead164bbeb 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -219,9 +219,15 @@ return array( 'rsrc/externals/raphael/g.raphael.js' => '40dde778', 'rsrc/externals/raphael/g.raphael.line.js' => '40da039e', 'rsrc/externals/raphael/raphael.js' => '51ee6b43', + 'rsrc/favicons/apple-touch-icon-120x120.png' => '43742962', + 'rsrc/favicons/apple-touch-icon-152x152.png' => '669eaec3', + 'rsrc/favicons/apple-touch-icon-76x76.png' => 'ecdef672', + 'rsrc/favicons/favicon-128.png' => '47cdff03', + 'rsrc/favicons/favicon-16x16.png' => 'ee2523ac', + 'rsrc/favicons/favicon-32x32.png' => 'b6a8150e', + 'rsrc/favicons/favicon-96x96.png' => '8f7ea177', 'rsrc/image/BFCFDA.png' => 'd5ec91f4', 'rsrc/image/actions/edit.png' => '2fc41442', - 'rsrc/image/apple-touch-icon.png' => '8458dda7', 'rsrc/image/avatar.png' => '3eb28cd9', 'rsrc/image/checker_dark.png' => 'd8e65881', 'rsrc/image/checker_light.png' => 'a0155918', diff --git a/src/view/page/PhabricatorBarePageView.php b/src/view/page/PhabricatorBarePageView.php index 11f3848da2..9561319504 100644 --- a/src/view/page/PhabricatorBarePageView.php +++ b/src/view/page/PhabricatorBarePageView.php @@ -75,11 +75,30 @@ class PhabricatorBarePageView extends AphrontPageView { 'maximum-scale=1', )); } - $icon_tag = phutil_tag( + $icon_tag_76 = phutil_tag( 'link', array( 'rel' => 'apple-touch-icon', - 'href' => celerity_get_resource_uri('/rsrc/image/apple-touch-icon.png'), + 'href' => celerity_get_resource_uri( + '/rsrc/favicons/apple-touch-icon-76x76.png'), + )); + + $icon_tag_120 = phutil_tag( + 'link', + array( + 'rel' => 'apple-touch-icon', + 'sizes' => '120x120', + 'href' => celerity_get_resource_uri( + '/rsrc/favicons/apple-touch-icon-120x120.png'), + )); + + $icon_tag_152 = phutil_tag( + 'link', + array( + 'rel' => 'apple-touch-icon', + 'sizes' => '152x152', + 'href' => celerity_get_resource_uri( + '/rsrc/favicons/apple-touch-icon-152x152.png'), )); $apple_tag = phutil_tag( @@ -100,9 +119,11 @@ class PhabricatorBarePageView extends AphrontPageView { $developer = PhabricatorEnv::getEnvConfig('phabricator.developer-mode'); return hsprintf( - '%s%s%s%s%s%s', + '%s%s%s%s%s%s%s%s', $viewport_tag, - $icon_tag, + $icon_tag_76, + $icon_tag_120, + $icon_tag_152, $apple_tag, $referrer_tag, CelerityStaticResourceResponse::renderInlineScript( diff --git a/webroot/favicon.ico b/webroot/favicon.ico index dc0a4f5913..e074800241 100644 Binary files a/webroot/favicon.ico and b/webroot/favicon.ico differ diff --git a/webroot/rsrc/favicons/apple-touch-icon-120x120.png b/webroot/rsrc/favicons/apple-touch-icon-120x120.png new file mode 100644 index 0000000000..1ee45709aa Binary files /dev/null and b/webroot/rsrc/favicons/apple-touch-icon-120x120.png differ diff --git a/webroot/rsrc/favicons/apple-touch-icon-152x152.png b/webroot/rsrc/favicons/apple-touch-icon-152x152.png new file mode 100644 index 0000000000..69ab6d3554 Binary files /dev/null and b/webroot/rsrc/favicons/apple-touch-icon-152x152.png differ diff --git a/webroot/rsrc/favicons/apple-touch-icon-76x76.png b/webroot/rsrc/favicons/apple-touch-icon-76x76.png new file mode 100644 index 0000000000..3afc5777f1 Binary files /dev/null and b/webroot/rsrc/favicons/apple-touch-icon-76x76.png differ diff --git a/webroot/rsrc/favicons/favicon-128.png b/webroot/rsrc/favicons/favicon-128.png new file mode 100644 index 0000000000..495b8edf7b Binary files /dev/null and b/webroot/rsrc/favicons/favicon-128.png differ diff --git a/webroot/rsrc/favicons/favicon-16x16.png b/webroot/rsrc/favicons/favicon-16x16.png new file mode 100644 index 0000000000..cd7a66fd9c Binary files /dev/null and b/webroot/rsrc/favicons/favicon-16x16.png differ diff --git a/webroot/rsrc/favicons/favicon-32x32.png b/webroot/rsrc/favicons/favicon-32x32.png new file mode 100644 index 0000000000..b98590889e Binary files /dev/null and b/webroot/rsrc/favicons/favicon-32x32.png differ diff --git a/webroot/rsrc/favicons/favicon-96x96.png b/webroot/rsrc/favicons/favicon-96x96.png new file mode 100644 index 0000000000..a62787803f Binary files /dev/null and b/webroot/rsrc/favicons/favicon-96x96.png differ diff --git a/webroot/rsrc/image/apple-touch-icon.png b/webroot/rsrc/image/apple-touch-icon.png deleted file mode 100644 index 493b3cb2c2..0000000000 Binary files a/webroot/rsrc/image/apple-touch-icon.png and /dev/null differ