Browse Source

Added favicons

pull/1/head
NGPixel 8 years ago
parent
commit
f2a8a9739f
29 changed files with 53 additions and 1 deletions
  1. 4
      README.md
  2. 2
      assets/browserconfig.xml
  3. BIN
      assets/favicon.ico
  4. BIN
      assets/favicons/android-icon-144x144.png
  5. BIN
      assets/favicons/android-icon-192x192.png
  6. BIN
      assets/favicons/android-icon-36x36.png
  7. BIN
      assets/favicons/android-icon-48x48.png
  8. BIN
      assets/favicons/android-icon-72x72.png
  9. BIN
      assets/favicons/android-icon-96x96.png
  10. BIN
      assets/favicons/apple-icon-114x114.png
  11. BIN
      assets/favicons/apple-icon-120x120.png
  12. BIN
      assets/favicons/apple-icon-144x144.png
  13. BIN
      assets/favicons/apple-icon-152x152.png
  14. BIN
      assets/favicons/apple-icon-180x180.png
  15. BIN
      assets/favicons/apple-icon-57x57.png
  16. BIN
      assets/favicons/apple-icon-60x60.png
  17. BIN
      assets/favicons/apple-icon-72x72.png
  18. BIN
      assets/favicons/apple-icon-76x76.png
  19. BIN
      assets/favicons/apple-icon-precomposed.png
  20. BIN
      assets/favicons/apple-icon.png
  21. BIN
      assets/favicons/favicon-16x16.png
  22. BIN
      assets/favicons/favicon-32x32.png
  23. BIN
      assets/favicons/favicon-96x96.png
  24. BIN
      assets/favicons/ms-icon-144x144.png
  25. BIN
      assets/favicons/ms-icon-150x150.png
  26. BIN
      assets/favicons/ms-icon-310x310.png
  27. BIN
      assets/favicons/ms-icon-70x70.png
  28. 41
      assets/manifest.json
  29. 7
      views/layout.pug

4
README.md

@ -1,3 +1,7 @@
<a href="https://github.com/Requarks/wiki">
<img src="https://raw.githubusercontent.com/Requarks/wiki/master/assets/favicons/favicon-96x96.png" alt="Requarks Wiki" title="Requarks Wiki" align="right" />
</a>
# Requarks Wiki
[![License](https://img.shields.io/badge/license-AGPLv3-blue.svg)](https://github.com/requarks/wiki/blob/master/LICENSE)

2
assets/browserconfig.xml

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig><msapplication><tile><square70x70logo src="/favicons/ms-icon-70x70.png"/><square150x150logo src="/favicons/ms-icon-150x150.png"/><square310x310logo src="/favicons/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>

BIN
assets/favicon.ico

Before After

BIN
assets/favicons/android-icon-144x144.png

Before After
Width: 144  |  Height: 144  |  Size: 9.5 KiB

BIN
assets/favicons/android-icon-192x192.png

Before After
Width: 192  |  Height: 192  |  Size: 13 KiB

BIN
assets/favicons/android-icon-36x36.png

Before After
Width: 36  |  Height: 36  |  Size: 2.0 KiB

BIN
assets/favicons/android-icon-48x48.png

Before After
Width: 48  |  Height: 48  |  Size: 2.7 KiB

BIN
assets/favicons/android-icon-72x72.png

Before After
Width: 72  |  Height: 72  |  Size: 4.0 KiB

BIN
assets/favicons/android-icon-96x96.png

Before After
Width: 96  |  Height: 96  |  Size: 5.6 KiB

BIN
assets/favicons/apple-icon-114x114.png

Before After
Width: 114  |  Height: 114  |  Size: 7.0 KiB

BIN
assets/favicons/apple-icon-120x120.png

Before After
Width: 120  |  Height: 120  |  Size: 7.5 KiB

BIN
assets/favicons/apple-icon-144x144.png

Before After
Width: 144  |  Height: 144  |  Size: 9.5 KiB

BIN
assets/favicons/apple-icon-152x152.png

Before After
Width: 152  |  Height: 152  |  Size: 10 KiB

BIN
assets/favicons/apple-icon-180x180.png

Before After
Width: 180  |  Height: 180  |  Size: 13 KiB

BIN
assets/favicons/apple-icon-57x57.png

Before After
Width: 57  |  Height: 57  |  Size: 3.1 KiB

BIN
assets/favicons/apple-icon-60x60.png

Before After
Width: 60  |  Height: 60  |  Size: 3.3 KiB

BIN
assets/favicons/apple-icon-72x72.png

Before After
Width: 72  |  Height: 72  |  Size: 4.0 KiB

BIN
assets/favicons/apple-icon-76x76.png

Before After
Width: 76  |  Height: 76  |  Size: 4.3 KiB

BIN
assets/favicons/apple-icon-precomposed.png

Before After
Width: 192  |  Height: 192  |  Size: 14 KiB

BIN
assets/favicons/apple-icon.png

Before After
Width: 192  |  Height: 192  |  Size: 14 KiB

BIN
assets/favicons/favicon-16x16.png

Before After
Width: 16  |  Height: 16  |  Size: 1.2 KiB

BIN
assets/favicons/favicon-32x32.png

Before After
Width: 32  |  Height: 32  |  Size: 1.9 KiB

BIN
assets/favicons/favicon-96x96.png

Before After
Width: 96  |  Height: 96  |  Size: 5.6 KiB

BIN
assets/favicons/ms-icon-144x144.png

Before After
Width: 144  |  Height: 144  |  Size: 9.5 KiB

BIN
assets/favicons/ms-icon-150x150.png

Before After
Width: 150  |  Height: 150  |  Size: 10 KiB

BIN
assets/favicons/ms-icon-310x310.png

Before After
Width: 310  |  Height: 310  |  Size: 28 KiB

BIN
assets/favicons/ms-icon-70x70.png

Before After
Width: 70  |  Height: 70  |  Size: 3.9 KiB

41
assets/manifest.json

@ -0,0 +1,41 @@
{
"name": "Wiki",
"icons": [
{
"src": "\/favicons\/android-icon-36x36.png",
"sizes": "36x36",
"type": "image\/png",
"density": "0.75"
},
{
"src": "\/favicons\/android-icon-48x48.png",
"sizes": "48x48",
"type": "image\/png",
"density": "1.0"
},
{
"src": "\/favicons\/android-icon-72x72.png",
"sizes": "72x72",
"type": "image\/png",
"density": "1.5"
},
{
"src": "\/favicons\/android-icon-96x96.png",
"sizes": "96x96",
"type": "image\/png",
"density": "2.0"
},
{
"src": "\/favicons\/android-icon-144x144.png",
"sizes": "144x144",
"type": "image\/png",
"density": "3.0"
},
{
"src": "\/favicons\/android-icon-192x192.png",
"sizes": "192x192",
"type": "image\/png",
"density": "4.0"
}
]
}

7
views/layout.pug

@ -5,11 +5,16 @@ html
meta(charset='UTF-8')
meta(name='theme-color', content='#009688')
meta(name='msapplication-TileColor', content='#009688')
meta(name='msapplication-TileImage', content='/favicons/ms-icon-144x144.png')
title= appconfig.title
// Favicon
each favsize in [57, 60, 72, 76, 114, 120, 144, 152, 180]
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href='/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
each favsize in [32, 96, 16]
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize href='/images/favicon-' + favsize + 'x' + favsize + '.png')
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href='/favicons/favicon-' + favsize + 'x' + favsize + '.png')
link(rel='manifest', href='/manifest.json')
// CSS
link(type='text/css', rel='stylesheet', href='/css/libs.css')

Loading…
Cancel
Save