Compare commits
2 Commits
addd3d29de
...
95519a4718
Author | SHA1 | Date | |
---|---|---|---|
|
95519a4718 | ||
|
b67613c721 |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
build
|
4
.prettierrc
Normal file
4
.prettierrc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"tabWidth": 2,
|
||||||
|
"filepath": "*.{js, html}"
|
||||||
|
}
|
22
gulpfile.js
22
gulpfile.js
@ -42,6 +42,14 @@ gulp.task("images", function () {
|
|||||||
.pipe(connect.reload());
|
.pipe(connect.reload());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Fonts
|
||||||
|
gulp.task("fonts", function () {
|
||||||
|
return gulp
|
||||||
|
.src(["./fonts/**"], { removeBOM: false })
|
||||||
|
.pipe(gulp.dest("./dist/fonts"))
|
||||||
|
.pipe(connect.reload());
|
||||||
|
});
|
||||||
|
|
||||||
gulp.task("html", function () {
|
gulp.task("html", function () {
|
||||||
return gulp
|
return gulp
|
||||||
.src("./index.html")
|
.src("./index.html")
|
||||||
@ -65,10 +73,13 @@ gulp.task("html", function () {
|
|||||||
// Clean
|
// Clean
|
||||||
gulp.task("clean", function () {
|
gulp.task("clean", function () {
|
||||||
return gulp
|
return gulp
|
||||||
.src(["dist/css", "dist/js", "dist/images", "dist/index.html"], {
|
.src(
|
||||||
read: false,
|
["dist/css", "dist/js", "dist/images", "dist/index.html", "dist/fonts"],
|
||||||
allowEmpty: true,
|
{
|
||||||
})
|
read: false,
|
||||||
|
allowEmpty: true,
|
||||||
|
}
|
||||||
|
)
|
||||||
.pipe(clean());
|
.pipe(clean());
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -76,7 +87,7 @@ gulp.task("clean", function () {
|
|||||||
gulp.task(
|
gulp.task(
|
||||||
"default",
|
"default",
|
||||||
gulp.series("clean", async function minifyAll() {
|
gulp.series("clean", async function minifyAll() {
|
||||||
return gulp.parallel("styles", "scripts", "images", "html")();
|
return gulp.parallel("styles", "scripts", "images", "html", "fonts")();
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -96,6 +107,7 @@ gulp.task("watch", function () {
|
|||||||
gulp.watch("./js/*.js", gulp.series("scripts"));
|
gulp.watch("./js/*.js", gulp.series("scripts"));
|
||||||
gulp.watch("./images/**/*", gulp.series("images"));
|
gulp.watch("./images/**/*", gulp.series("images"));
|
||||||
gulp.watch("./index.html", gulp.series("html"));
|
gulp.watch("./index.html", gulp.series("html"));
|
||||||
|
gulp.watch("./fonts/**/*", gulp.series("fonts"));
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task("dev", gulp.series("default", gulp.parallel("connect", "watch")));
|
gulp.task("dev", gulp.series("default", gulp.parallel("connect", "watch")));
|
||||||
|
14
index.html
14
index.html
@ -300,12 +300,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-xl-6 col-lg-6">
|
<div class="col-xl-6 col-lg-6">
|
||||||
<div class="text-center text-lg-left">
|
<div class="text-center text-lg-left">
|
||||||
<img
|
<img src="images/" alt="" width="500" height="406" />
|
||||||
src="images/blur-landing-corporate-03-500x406.png"
|
|
||||||
alt=""
|
|
||||||
width="500"
|
|
||||||
height="406"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -818,12 +813,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-xl-7 col-lg-6">
|
<div class="col-xl-7 col-lg-6">
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
<img
|
<img src="images/" alt="" width="660" height="406" />
|
||||||
src="images/landing-corporate-25-660x406.jpg"
|
|
||||||
alt=""
|
|
||||||
width="660"
|
|
||||||
height="406"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user