add icons

This commit is contained in:
MaysWind 2017-12-09 23:05:29 +08:00
parent 2ef2aa3cf5
commit 03f6553137
6 changed files with 12 additions and 2 deletions

View file

@ -78,7 +78,9 @@ gulp.task('manifest', function () {
'dist/css/**', 'dist/css/**',
'dist/js/**', 'dist/js/**',
'dist/fonts/fontawesome-webfont.woff2', 'dist/fonts/fontawesome-webfont.woff2',
'dist/*.html' 'dist/*.html',
'dist/*.ico',
'dist/*.png'
], {base: 'dist/'}) ], {base: 'dist/'})
.pipe($.manifest({ .pipe($.manifest({
hash: true, hash: true,
@ -116,6 +118,8 @@ gulp.task('serve', ['styles', 'scripts', 'fonts'], function () {
gulp.watch([ gulp.watch([
'src/*.html', 'src/*.html',
'src/*.ico',
'src/*.png',
'src/langs/*.txt', 'src/langs/*.txt',
'src/views/*.html', 'src/views/*.html',
'src/imgs/**/*', 'src/imgs/**/*',

BIN
src/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
src/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -5,13 +5,19 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui" name="viewport"> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui" name="viewport">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes"/> <meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-title" content="AriaNg"/> <meta name="apple-mobile-web-app-title" content="AriaNg"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/> <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<meta name="description" content="Aria2 Ng Frontend"> <meta name="msapplication-TileColor" content="#3c4852">
<meta name="msapplication-TileImage" content="tileicon.png">
<meta name="description" content="AriaNg, a modern web frontend making aria2 easier to use.">
<meta name="theme-color" content="#3c4852"> <meta name="theme-color" content="#3c4852">
<meta name="format-detection" content="telephone=no"/> <meta name="format-detection" content="telephone=no"/>
<title>AriaNg</title> <title>AriaNg</title>
<link rel="icon" href="favicon.png">
<!--[if IE]><link rel="shortcut icon" href="favicon.ico"><![endif]-->
<link rel="apple-touch-icon" href="touchicon.png">
<!-- build:css css/bootstrap-3.3.7.min.css --> <!-- build:css css/bootstrap-3.3.7.min.css -->
<link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css"/> <link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css"/>
<!-- endbuild --> <!-- endbuild -->

BIN
src/tileicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
src/touchicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB