This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new 470b235  Add favicon to plugin portal
     new 873140d  Merge pull request #30 from matthiasblaesing/icon-plugincenter
470b235 is described below

commit 470b23546a0b4aaddee83d427b8e302eac38b0c5
Author: Matthias Bläsing <[email protected]>
AuthorDate: Fri May 22 22:10:29 2020 +0200

    Add favicon to plugin portal
    
    Icon integration follows the sample set by the main apache netbeans
    website. The icons and manifest files are copied from the source code
    of that website.
---
 pp3/module/Application/view/layout/layout.phtml |  11 +++++++++++
 pp3/public/android-chrome-192x192.png           | Bin 0 -> 9488 bytes
 pp3/public/android-chrome-512x512.png           | Bin 0 -> 26768 bytes
 pp3/public/apple-touch-icon.png                 | Bin 0 -> 8922 bytes
 pp3/public/browserconfig.xml                    |   9 +++++++++
 pp3/public/favicon-16x16.png                    | Bin 0 -> 1306 bytes
 pp3/public/favicon-32x32.png                    | Bin 0 -> 1755 bytes
 pp3/public/favicon.ico                          | Bin 0 -> 15086 bytes
 pp3/public/mstile-150x150.png                   | Bin 0 -> 6756 bytes
 pp3/public/safari-pinned-tab.svg                |  19 +++++++++++++++++++
 pp3/public/site.webmanifest                     |  19 +++++++++++++++++++
 11 files changed, 58 insertions(+)

diff --git a/pp3/module/Application/view/layout/layout.phtml 
b/pp3/module/Application/view/layout/layout.phtml
index 7096bab..d63f7f0 100755
--- a/pp3/module/Application/view/layout/layout.phtml
+++ b/pp3/module/Application/view/layout/layout.phtml
@@ -30,6 +30,17 @@
                 ->appendName('viewport', 'width=device-width, 
initial-scale=1.0')
                 ->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
         ?>
+
+        <!-- icons -->
+        <link rel="shortcut icon" type="image/x-icon" href="<?php echo 
$this->basePath('/favicon.ico'); ?>">
+        <link rel="apple-touch-icon" sizes="180x180" href="<?php echo 
$this->basePath('/apple-touch-icon.png'); ?>">
+        <link rel="icon" type="image/png" sizes="32x32" href="<?php echo 
$this->basePath('/favicon-32x32.png'); ?>">
+        <link rel="icon" type="image/png" sizes="16x16" href="<?php echo 
$this->basePath('/favicon-16x16.png'); ?>">
+        <link rel="manifest" href="<?php echo 
$this->basePath('/site.webmanifest'); ?>">
+        <link rel="mask-icon" href="<?php echo 
$this->basePath('/safari-pinned-tab.svg'); ?>" color="#5bbad5">
+        <meta name="msapplication-TileColor" content="#ffc40d">
+        <meta name="theme-color" content="#ffffff">
+
         <!-- Le styles -->
         <?php
         echo $this->headLink()
diff --git a/pp3/public/android-chrome-192x192.png 
b/pp3/public/android-chrome-192x192.png
new file mode 100644
index 0000000..42bcc7a
Binary files /dev/null and b/pp3/public/android-chrome-192x192.png differ
diff --git a/pp3/public/android-chrome-512x512.png 
b/pp3/public/android-chrome-512x512.png
new file mode 100644
index 0000000..29a672a
Binary files /dev/null and b/pp3/public/android-chrome-512x512.png differ
diff --git a/pp3/public/apple-touch-icon.png b/pp3/public/apple-touch-icon.png
new file mode 100644
index 0000000..a1d64cb
Binary files /dev/null and b/pp3/public/apple-touch-icon.png differ
diff --git a/pp3/public/browserconfig.xml b/pp3/public/browserconfig.xml
new file mode 100644
index 0000000..a23b68c
--- /dev/null
+++ b/pp3/public/browserconfig.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<browserconfig>
+    <msapplication>
+        <tile>
+            <square150x150logo src="mstile-150x150.png"/>
+            <TileColor>#ffc40d</TileColor>
+        </tile>
+    </msapplication>
+</browserconfig>
diff --git a/pp3/public/favicon-16x16.png b/pp3/public/favicon-16x16.png
new file mode 100644
index 0000000..c8d1cc2
Binary files /dev/null and b/pp3/public/favicon-16x16.png differ
diff --git a/pp3/public/favicon-32x32.png b/pp3/public/favicon-32x32.png
new file mode 100644
index 0000000..1e71b95
Binary files /dev/null and b/pp3/public/favicon-32x32.png differ
diff --git a/pp3/public/favicon.ico b/pp3/public/favicon.ico
new file mode 100644
index 0000000..a74d6c8
Binary files /dev/null and b/pp3/public/favicon.ico differ
diff --git a/pp3/public/mstile-150x150.png b/pp3/public/mstile-150x150.png
new file mode 100644
index 0000000..b4c97c7
Binary files /dev/null and b/pp3/public/mstile-150x150.png differ
diff --git a/pp3/public/safari-pinned-tab.svg b/pp3/public/safari-pinned-tab.svg
new file mode 100644
index 0000000..7cf68e5
--- /dev/null
+++ b/pp3/public/safari-pinned-tab.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
+<svg version="1.0" xmlns="http://www.w3.org/2000/svg";
+ width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000"
+ preserveAspectRatio="xMidYMid meet">
+<metadata>
+Created by potrace 1.11, written by Peter Selinger 2001-2013
+</metadata>
+<g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
+fill="#000000" stroke="none">
+<path d="M1448 4483 l-1107 -638 -1 -1285 0 -1286 1101 -634 c605 -349 1109
+-635 1118 -635 10 0 514 286 1120 635 l1101 635 0 1285 -1 1285 -147 84 c-81
+46 -575 330 -1099 632 -524 302 -958 552 -965 554 -7 3 -511 -282 -1120 -632z
+m1793 -750 c367 -214 668 -390 669 -393 0 -3 -303 -178 -673 -391 l-672 -385
+-3 -783 c-1 -456 -6 -781 -11 -779 -5 2 -311 178 -680 393 l-671 390 0 775 0
+776 673 391 c369 216 678 392 686 392 7 1 314 -173 682 -386z"/>
+</g>
+</svg>
diff --git a/pp3/public/site.webmanifest b/pp3/public/site.webmanifest
new file mode 100644
index 0000000..1edcfef
--- /dev/null
+++ b/pp3/public/site.webmanifest
@@ -0,0 +1,19 @@
+{
+    "name": "",
+    "short_name": "",
+    "icons": [
+        {
+            "src": "android-chrome-192x192.png",
+            "sizes": "192x192",
+            "type": "image/png"
+        },
+        {
+            "src": "android-chrome-512x512.png",
+            "sizes": "512x512",
+            "type": "image/png"
+        }
+    ],
+    "theme_color": "#ffffff",
+    "background_color": "#ffffff",
+    "display": "standalone"
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to