add icons and logos

This commit is contained in:
Kacper Donat 2018-09-22 18:12:24 +02:00
parent 07df323c0d
commit ad58f2a502
25 changed files with 101360 additions and 6 deletions

View File

@ -1,15 +1,30 @@
{
"name": "Czy Dojadę?",
"short_name": "Czy Dojadę",
"short_name": "Czy Dojadę?",
"orientation": "portrait",
"lang": "pl_PL",
"start_url": ".",
"display": "fullscreen",
"background_color": "#fff",
"theme_color": "white",
"background_color": "#005ea8",
"theme_color": "#005ea8",
"description": "Odpowiedź na odwieczne pytanie ludzkości - czy tramwaje jeżdżą?",
"icons": [{
"src": "images/icon.svg",
"src": "images/icon-256.png",
"sizes": "256x256"
},{
"src": "images/icon-512.png",
"sizes": "512x512"
},{
"src": "images/icon-64.png",
"sizes": "64x64"
},{
"src": "images/icon-128.png",
"sizes": "128x128"
},{
"src": "images/icon-192.png",
"sizes": "192x192"
},{
"src": "images/icon-96.png",
"sizes": "96x96"
}]
}

96944
resources/images/app-icon.ai Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 859 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

1439
resources/images/favicon.ai Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -1 +0,0 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><title>unknown</title><path d="M488,128h-8V80c0-44.8-99.2-80-224-80S32,35.2,32,80v48H24A24,24,0,0,0,0,152v80a24,24,0,0,0,24,24h8V416a32,32,0,0,0,32,32v32a32,32,0,0,0,32,32h48a32,32,0,0,0,32-32V448H336v32a32,32,0,0,0,32,32h48a32,32,0,0,0,32-32V448a32,32,0,0,0,32-32V256h8a24,24,0,0,0,24-24V152A24,24,0,0,0,488,128ZM144,480H96V448h48Zm272,0H368V448h48ZM448,96h0v32h0l0,128h0v32h0V416H64V288h0V256h0V128h0V96h0V80.31C67.31,67,131.41,32,256,32S444.69,67,448,80.31ZM254.48,308a28,28,0,1,0,28,28A28,28,0,0,0,254.48,308Zm-.33-224c-44.82,0-70,17.51-91.23,44.74a12,12,0,0,0,2.64,17.18l13.14,9.15a12,12,0,0,0,16.24-2.38C209.89,133.65,225,124,254.15,124c39.68,0,57.44,20.2,57.44,40.21,0,43.79-77.44,37.07-77.44,107.41V272a12,12,0,0,0,12,12h16a12,12,0,0,0,12-12v-.38c0-43.56,77.44-40,77.44-107.41C351.59,113.75,306.47,84,254.15,84Z"/></svg>

Before

Width:  |  Height:  |  Size: 923 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
resources/images/ios-80.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
resources/images/ios.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

1402
resources/images/logo.ai Normal file

File diff suppressed because one or more lines are too long

BIN
resources/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -6,6 +6,18 @@
<link rel="stylesheet" href="{{ asset('main.css') }}" />
<link rel="manifest" href="manifest.json" />
<!-- icons -->
<link rel="icon" href="images/favicon.png" sizes="16x16" />
<link rel="icon" href="images/favicon-2x.png" sizes="32x32" />
<link rel="icon" href="images/favicon.ico" />
<!-- Apple shit -->
<link rel="apple-touch-icon" href="images/ios.png" sizes="512x512">
<link rel="apple-touch-icon" href="images/ios-80.png" sizes="80x80">
<link rel="apple-touch-icon" href="images/ios-192.png" sizes="192x192">
<meta name="apple-mobile-web-app-title" content="Czy Dojadę?">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>{% block title %}Czy dojadę?{% endblock %}</title>
</head>
<body>

View File

@ -55,7 +55,7 @@ const config = {
},
plugins: [
new MiniCssExtractPlugin({ filename: '[name].css' }),
new CopyWebpackPlugin([{ from: './resources/images/', to: 'images/' }]),
new CopyWebpackPlugin([{ from: './resources/images/', to: 'images/', ignore: ['*.ai'] }]),
new ImageminPlugin({ test: /\.(jpe?g|png|gif|svg)$/i })
],
optimization: {