update gulpfile
This commit is contained in:
parent
e65cf7667d
commit
5ad92bea16
@ -18,9 +18,7 @@ var banner = ['/*!\n',
|
|||||||
].join('');
|
].join('');
|
||||||
|
|
||||||
// Default task
|
// Default task
|
||||||
gulp.task('default', function() {
|
gulp.task('default', ['less', 'minify-css', 'minify-js', 'copy']);
|
||||||
// default tasks here
|
|
||||||
});
|
|
||||||
|
|
||||||
// Less task to compile the less files and add the banner
|
// Less task to compile the less files and add the banner
|
||||||
gulp.task('less', function() {
|
gulp.task('less', function() {
|
||||||
@ -102,6 +100,3 @@ gulp.task('dev', ['browserSync', 'less', 'minify-css', 'minify-js'], function()
|
|||||||
gulp.watch('*.html', browserSync.reload);
|
gulp.watch('*.html', browserSync.reload);
|
||||||
gulp.watch('js/**/*.js', browserSync.reload);
|
gulp.watch('js/**/*.js', browserSync.reload);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Build Task
|
|
||||||
gulp.task('build', ['less', 'minify-css', 'minify-js', 'copy']);
|
|
@ -14,9 +14,6 @@
|
|||||||
<!-- Bootstrap Core CSS -->
|
<!-- Bootstrap Core CSS -->
|
||||||
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Theme CSS -->
|
|
||||||
<link href="css/agency.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom Fonts -->
|
<!-- Custom Fonts -->
|
||||||
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
||||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
|
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
|
||||||
@ -24,6 +21,9 @@
|
|||||||
<link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
||||||
<link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
|
<!-- Theme CSS -->
|
||||||
|
<link href="css/agency.min.css" rel="stylesheet">
|
||||||
|
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
@ -41,8 +41,7 @@
|
|||||||
<!-- Brand and toggle get grouped for better mobile display -->
|
<!-- Brand and toggle get grouped for better mobile display -->
|
||||||
<div class="navbar-header page-scroll">
|
<div class="navbar-header page-scroll">
|
||||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||||
<span class="sr-only">Toggle navigation</span>
|
<span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i>
|
||||||
Menu <i class="fa fa-bars"></i>
|
|
||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand page-scroll" href="#page-top">Start Bootstrap</a>
|
<a class="navbar-brand page-scroll" href="#page-top">Start Bootstrap</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -52,7 +52,7 @@ $(function() {
|
|||||||
//clear all fields
|
//clear all fields
|
||||||
$('#contactForm').trigger("reset");
|
$('#contactForm').trigger("reset");
|
||||||
},
|
},
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
filter: function() {
|
filter: function() {
|
||||||
return $(this).is(":visible");
|
return $(this).is(":visible");
|
||||||
|
Loading…
Reference in New Issue
Block a user