This commit is contained in:
2024-10-15 19:15:58 +02:00
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

@@ -81,9 +81,9 @@ const animateOnScroll = `
</div> </div>
<div class="col-md-6 animate-on-scroll"> <div class="col-md-6 animate-on-scroll">
<div <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> </div>
</div> </div>
@@ -156,15 +156,20 @@ const animateOnScroll = `
</h2> </h2>
<div class="row g-4"> <div class="row g-4">
{ {
[1, 2, 3, 4, 5, 6].map((num) => ( [1, 2, 3, 4, 5, 6].map((num) => (
<div class="col-md-4 animate-on-scroll"> <div class="col-md-4 animate-on-scroll">
<div class="bg-light p-4 text-center"> <div class="bg-light p-4 text-center">
<p>Imagen de impacto {num}</p> <img
</div> src={`../../public/imgs/imgimp${num}.jpg`}
</div> alt={`Imagen de impacto ${num}`}
)) class="img-fluid img-fit"
/>
</div>
</div>
))
} }
</div> </div>
</div> </div>
</section> </section>
@@ -294,4 +299,12 @@ const animateOnScroll = `
height: 40px; height: 40px;
margin-right: 10px; margin-right: 10px;
} }
.img-fit{
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 8px;
}
</style> </style>