Imagen de los 17 objetivos añadida e imagnes de impacto

This commit is contained in:
2024-10-14 23:25:04 +02:00
parent 36e9991c31
commit f713857f9c
9 changed files with 26 additions and 10 deletions

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}

BIN
public/imgs/17Objetivos.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
public/imgs/imgimp1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

BIN
public/imgs/imgimp2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

BIN
public/imgs/imgimp3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

BIN
public/imgs/imgimp4.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
public/imgs/imgimp5.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

BIN
public/imgs/imgimp6.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

View File

@@ -80,9 +80,9 @@ const animateOnScroll = `
</div>
<div class="col-md-6 animate-on-scroll">
<div
class="bg-secondary text-white p-5 text-center"
class=" text-white p-5 text-center"
>
<p>Aquí iría una imagen de los 17 ODS</p>
<img src="../../public/imgs/17Objetivos.png" alt="" class="img-thumbnail .img-fluid">
</div>
</div>
</div>
@@ -158,7 +158,12 @@ const animateOnScroll = `
[1, 2, 3, 4, 5, 6].map((num) => (
<div class="col-md-4 animate-on-scroll">
<div class="bg-light p-4 text-center">
<p>Imagen de impacto {num}</p>
<img
src={`../../public/imgs/imgimp${num}.jpg`}
alt={`Imagen de impacto ${num}`}
class="img-fluid img-fit"
/>
</div>
</div>
))
@@ -291,4 +296,12 @@ const animateOnScroll = `
height: 40px;
margin-right: 10px;
}
.img-fit{
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 8px;
}
</style>