feat: adicionando imagens
10
gulpfile.js
@ -19,6 +19,9 @@ const paths = {
|
|||||||
all: "src/scripts/**/*.js",
|
all: "src/scripts/**/*.js",
|
||||||
main: "src/scripts/app.js",
|
main: "src/scripts/app.js",
|
||||||
},
|
},
|
||||||
|
images: {
|
||||||
|
all: "src/assets/**",
|
||||||
|
},
|
||||||
output: "dist",
|
output: "dist",
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -34,10 +37,11 @@ function sentinel() {
|
|||||||
watch(paths.html.all, { ignoreInitial: false }, html);
|
watch(paths.html.all, { ignoreInitial: false }, html);
|
||||||
watch(paths.styles.all, { ignoreInitial: false }, styles);
|
watch(paths.styles.all, { ignoreInitial: false }, styles);
|
||||||
watch(paths.scripts.all, { ignoreInitial: false }, scripts);
|
watch(paths.scripts.all, { ignoreInitial: false }, scripts);
|
||||||
|
watch(paths.images.all, { ignoreInitial: false }, images);
|
||||||
}
|
}
|
||||||
|
|
||||||
function html() {
|
function html() {
|
||||||
return src(paths.html.all).pipe(dest(paths.output));
|
return src(paths.html.all).pipe(dest(paths.output)).pipe(connect.reload());
|
||||||
}
|
}
|
||||||
|
|
||||||
function styles() {
|
function styles() {
|
||||||
@ -62,4 +66,8 @@ function scripts() {
|
|||||||
.pipe(connect.reload());
|
.pipe(connect.reload());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function images() {
|
||||||
|
return src(paths.images.all).pipe(dest(paths.output));
|
||||||
|
}
|
||||||
|
|
||||||
exports.default = parallel(server, sentinel);
|
exports.default = parallel(server, sentinel);
|
||||||
|
BIN
src/assets/imgs/image-item-list-1.png
Normal file
After Width: | Height: | Size: 107 KiB |
BIN
src/assets/imgs/image-item-list-2.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
src/assets/imgs/image-item-list-3.png
Normal file
After Width: | Height: | Size: 116 KiB |
BIN
src/assets/imgs/image-item-list-4.png
Normal file
After Width: | Height: | Size: 136 KiB |
9
src/assets/svgs/image-item-list-1.svg
Normal file
After Width: | Height: | Size: 182 KiB |
9
src/assets/svgs/image-item-list-2.svg
Normal file
After Width: | Height: | Size: 88 KiB |
9
src/assets/svgs/image-item-list-3.svg
Normal file
After Width: | Height: | Size: 216 KiB |
9
src/assets/svgs/image-item-list-4.svg
Normal file
After Width: | Height: | Size: 261 KiB |
@ -11,8 +11,10 @@ textarea {
|
|||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
.input-image-container {
|
.input-image-container {
|
||||||
|
width: 23.81%;
|
||||||
|
height: 212px;
|
||||||
.input-image-content {
|
.input-image-content {
|
||||||
width: 32%;
|
width: 100%;
|
||||||
height: 212px;
|
height: 212px;
|
||||||
border: 2px solid $input-image-border-color;
|
border: 2px solid $input-image-border-color;
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<main>
|
<main>
|
||||||
<section class="container">
|
<section class="container">
|
||||||
<h1 data-test=""title-form>Adicionar um Ponto Turístico</h1>
|
<h1 data-test="title-form">Adicionar um Ponto Turístico</h1>
|
||||||
<form>
|
<form>
|
||||||
<div class="form-container">
|
<div class="form-container">
|
||||||
<div class="form-inputs">
|
<div class="form-inputs">
|
||||||
|