1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Add missing favicons and manifests, update html metas

This commit is contained in:
Antoine Boulanger
2019-02-11 11:40:43 -05:00
parent 7b1d79b3ec
commit 5281c12e96
20 changed files with 82 additions and 20 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 795 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1,29 @@
<?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="700.000000pt" height="700.000000pt" viewBox="0 0 700.000000 700.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M900 3500 l0 -3501 1513 4 c831 3 1530 7 1552 10 22 3 67 8 100 12
33 3 76 8 95 11 19 3 53 7 75 10 52 6 96 14 115 19 8 2 33 7 56 9 104 13 399
99 549 161 437 179 770 482 952 865 62 130 121 311 148 451 31 159 43 316 40
519 -1 113 -5 221 -9 240 -3 19 -8 49 -10 65 -44 307 -196 607 -420 830 -195
194 -362 287 -696 392 -9 3 -2 10 20 20 153 68 254 126 365 208 246 183 446
475 530 775 23 83 29 109 41 179 3 18 8 43 11 55 13 52 11 444 -2 541 -68 478
-242 804 -580 1088 -120 100 -300 206 -515 300 -120 53 -479 150 -635 172 -23
3 -50 7 -60 9 -11 2 -45 7 -76 10 -31 4 -66 9 -78 11 -11 2 -62 7 -113 11 -51
3 -104 9 -118 11 -14 3 -661 7 -1437 10 l-1413 4 0 -3501z m2765 2315 c149
-22 167 -26 240 -46 120 -34 233 -85 304 -137 71 -51 148 -141 189 -219 69
-133 93 -240 97 -438 7 -258 -44 -433 -170 -585 -132 -158 -387 -275 -662
-304 -29 -3 -77 -9 -105 -12 -40 -4 -1026 -8 -1189 -5 l-26 1 0 880 -1 881
617 -2 c447 -1 641 -5 706 -14z m210 -2779 c469 -79 716 -328 773 -781 8 -68
8 -266 -1 -341 -13 -115 -72 -271 -135 -359 -167 -234 -437 -367 -794 -391
-71 -4 -1246 -9 -1354 -5 l-21 1 -1 938 c0 515 2 941 5 945 6 9 1470 3 1528
-7z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

9
www/browserconfig.xml Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="assets/images/favicons/mstile-150x150.png"/>
<TileColor>#ffffff</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -1,16 +1,18 @@
<!doctype html> <!doctype html>
<!--[if lte IE 9]> <html lang="fr" class="has-no-js ie9"> <![endif]--> <html class="has-no-js" lang="en" data-debug="true">
<!--[if gt IE 9]><!--> <html lang="fr" class="has-no-js" data-debug="true"> <!--<![endif]-->
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Boilerplate</title>
<meta name="description" content=""> <meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#f2f2f2">
<title>Home | Boilerplate </title>
<link rel="apple-touch-icon" href="assets/images/apple-touch-icon.png"> <meta name="msapplication-TileColor" content="#ffffff">
<link rel="icon" href="assets/images/favicon.png"> <meta name="theme-color" content="#ffffff">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicons/favicon-16x16.png">
<link rel="mask-icon" href="assets/images/favicons/safari-pinned-tab.svg" color="#000000">
<link rel="stylesheet" href="assets/styles/main.css"> <link rel="stylesheet" href="assets/styles/main.css">
</head> </head>
@@ -31,15 +33,15 @@
</header> </header>
<div id="js-pjax-wrapper"> <div id="js-pjax-wrapper">
<div class="js-pjax-container" data-template="home" > <div class="js-pjax-container" data-template="home">
<div class="o-scroll" data-module="Scroll"> <div class="o-scroll" data-module="Scroll">
<div data-module="Example">Home page with Example module</div> <div data-module="Example">Home page with Example module</div>
</div> </div>
</div> </div>
</div> </div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="assets/scripts/jquery-3.2.1.min.js"><\/script>')</script> <script>window.jQuery || document.write('<script src="assets/scripts/jquery-3.3.1.min.js"><\/script>')</script>
<script src="assets/scripts/vendors.js"></script> <script src="assets/scripts/vendors.js"></script>
<script src="assets/scripts/app.js"></script> <script src="assets/scripts/app.js"></script>
</body> </body>

View File

@@ -1,21 +1,23 @@
<!doctype html> <!doctype html>
<!--[if lte IE 9]> <html lang="fr" class="has-no-js ie9"> <![endif]--> <html class="has-no-js" lang="en" data-debug="true">
<!--[if gt IE 9]><!--> <html lang="fr" class="has-no-js"> <!--<![endif]-->
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Page | Boilerplate</title>
<meta name="description" content=""> <meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#f2f2f2">
<title>Page | Boilerplate</title>
<link rel="apple-touch-icon" href="assets/images/apple-touch-icon.png"> <meta name="msapplication-TileColor" content="#ffffff">
<link rel="icon" href="assets/images/favicon.png"> <meta name="theme-color" content="#ffffff">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicons/favicon-16x16.png">
<link rel="mask-icon" href="assets/images/favicons/safari-pinned-tab.svg" color="#000000">
<link rel="stylesheet" href="assets/styles/main.css"> <link rel="stylesheet" href="assets/styles/main.css">
</head> </head>
<body> <body>
<header> <header>
<ul> <ul>
<li> <li>
@@ -33,7 +35,7 @@
<div id="js-pjax-wrapper"> <div id="js-pjax-wrapper">
<div class="js-pjax-container" data-template="page" data-transition="pageTransition"> <div class="js-pjax-container" data-template="page" data-transition="pageTransition">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus tempore officia temporibus error rem id, vel perspiciatis eveniet placeat, ducimus fugit vitae sequi, quas deserunt ab eius expedita quia nulla. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus tempore officia temporibus error rem id, vel perspiciatis eveniet placeat, ducimus fugit vitae sequi, quas deserunt ab eius expedita quia nulla.
</div> </div>
</div> </div>

19
www/site.webmanifest Normal file
View File

@@ -0,0 +1,19 @@
{
"name": "Boilerplate",
"short_name": "Boilerplate",
"icons": [
{
"src": "assets/images/favicons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "assets/images/favicons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}