feat: adicionando imagens

This commit is contained in:
Ana Carolina Duarte Cavalcante 2022-11-15 21:05:25 -03:00
parent 114d928dea
commit acafeceaf4
11 changed files with 49 additions and 3 deletions

View File

@ -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);

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 182 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 88 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 216 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 261 KiB

View File

@ -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;
} }

View File

@ -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">