Merge branch 'main' of https://git.h4ckdata.es/h4ckx0r/webSostenible
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"liveServer.settings.port": 5501
|
||||
}
|
||||
BIN
public/imgs/17Objetivos.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
public/imgs/imgimp1.jpg
Normal file
|
After Width: | Height: | Size: 150 KiB |
BIN
public/imgs/imgimp2.jpg
Normal file
|
After Width: | Height: | Size: 89 KiB |
BIN
public/imgs/imgimp3.jpg
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
public/imgs/imgimp4.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
public/imgs/imgimp5.jpg
Normal file
|
After Width: | Height: | Size: 139 KiB |
BIN
public/imgs/imgimp6.jpg
Normal file
|
After Width: | Height: | Size: 256 KiB |
@@ -81,9 +81,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>
|
||||
@@ -159,7 +159,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>
|
||||
))
|
||||
@@ -294,4 +299,12 @@ const animateOnScroll = `
|
||||
height: 40px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.img-fit{
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
object-fit: cover;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||