Skip to content

Commit e6ff2c3

Browse files
feat: cambios apple store btn y huella hídrica btn
1 parent 2a2b178 commit e6ff2c3

File tree

4 files changed

+86
-30
lines changed

4 files changed

+86
-30
lines changed

src/Sections/About.astro

Lines changed: 40 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ import LogoCiac from "../assets/images/Ciac.png";
44
import Huella from "../assets/images/huella.svg";
55
import LogoNuevoMiHuella from "../assets/images/miHuellaNuevo.png";
66
import GoogleBtn from "../assets/images/GooglePlay Button.png";
7+
import HuellaHidricaBtn from "../assets/images/huella-hidrica.png";
8+
import AppStoreBtn from "../assets/images/AppStore Button.png";
79
---
810

9-
<section id="nosotros" class="min-h-[75vh] min-w-[100%] bg-huella-text-gray-ligth" >
11+
<section
12+
id="nosotros"
13+
class="min-h-[75vh] min-w-[100%] bg-huella-text-gray-ligth"
14+
>
1015
<img
1116
src={Huella.src}
1217
alt="Imagen Huella"
@@ -35,18 +40,32 @@ import GoogleBtn from "../assets/images/GooglePlay Button.png";
3540
>.
3641
</p>
3742
</div>
38-
<a
39-
href="https://play.google.com/store/apps/details?id=org.labtecnosocial.mihuella"
40-
class="transition-transform transform hover:scale-110 hover:bg-transparent ease-in-out duration-300"
41-
>
42-
<img
43-
src={GoogleBtn.src}
44-
alt="Google play button"
45-
width={250}
46-
height={40}
47-
loading="lazy"
48-
/>
49-
</a>
43+
<div class="flex flex-row md:gap-10">
44+
<a
45+
href="https://play.google.com/store/apps/details?id=org.labtecnosocial.mihuella"
46+
class="transition-transform transform hover:scale-110 hover:bg-transparent ease-in-out duration-300"
47+
>
48+
<img
49+
src={GoogleBtn.src}
50+
alt="Google play button"
51+
width={250}
52+
height={40}
53+
loading="lazy"
54+
/>
55+
</a>
56+
<a
57+
href="https://apps.apple.com/us/app/mi-huella-en-el-planeta/id6748420106"
58+
class="transition-transform transform hover:scale-110 hover:bg-transparent ease-in-out duration-300"
59+
>
60+
<img
61+
src={AppStoreBtn.src}
62+
alt="Apple Store button"
63+
width={225}
64+
height={20}
65+
loading="lazy"
66+
/>
67+
</a>
68+
</div>
5069

5170
<img src={LogoNuevoMiHuella.src} alt="Nuevo Logo MiHuella" width='250px"' />
5271
<div class="flex gap-20">
@@ -58,4 +77,11 @@ import GoogleBtn from "../assets/images/GooglePlay Button.png";
5877
/>
5978
</div>
6079
</article>
61-
</section>
80+
<img
81+
src={HuellaHidricaBtn.src}
82+
alt="Botón de la Huella Hídrica"
83+
width="15%"
84+
class="absolute opacity-80 hover:opacity-100 bottom-5 right-20"
85+
loading="lazy"
86+
/>
87+
</section>

src/Sections/Hero.astro

Lines changed: 46 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
---
22
import Cellphone from "../assets/images/cellphone.png";
33
import GoogleBtn from "../assets/images/GooglePlay Button.png";
4+
import HuellaHidricaBtn from "../assets/images/huella-hidrica.png";
5+
import AppStoreBtn from "../assets/images/AppStore Button.png";
46
---
5-
<main style="margin-top: 200px;"class="min-h-[75vh] min-w-[100%] bg-huella-text-gray-ligth">
7+
8+
<main
9+
style="margin-top: 140px;"
10+
class="min-h-[75vh] min-w-[100%] bg-huella-text-gray-ligth"
11+
>
612
<article
713
class="flex flex-col md:flex-row items-center justify-center gap-8 md:gap-32 h-full px-4 md:px-[100px] mx-auto my-auto max-w-[2440px]"
814
>
9-
<div class="flex flex-col gap-7 md:gap-11 items-center md:w-[500px] ">
15+
<div class="flex flex-col gap-7 md:gap-11 items-center md:w-[500px]">
1016
<h1
1117
class="text-center text-4xl md:text-6xl font-bold text-pretty animate-fade-up"
1218
>
@@ -22,24 +28,48 @@ import GoogleBtn from "../assets/images/GooglePlay Button.png";
2228
calcular y seguir tu impacto ambiental a través del consumo de energía, transporte
2329
y alimentación.
2430
</p>
25-
<a
26-
href="https://play.google.com/store/apps/details?id=org.labtecnosocial.mihuella"
27-
class="transition-transform transform hover:scale-110 hover:bg-transparent ease-in-out duration-300"
28-
>
29-
<img
30-
src={GoogleBtn.src}
31-
alt="Google play button"
32-
width={250}
33-
height={20}
34-
loading="lazy"
35-
/>
36-
</a>
31+
<div class="flex flex-col md:flex-row items-center justify-center gap-8 md:gap-10 h-full px-4 mx-auto my-auto max-w-[2440px]">
32+
<a
33+
href="https://play.google.com/store/apps/details?id=org.labtecnosocial.mihuella"
34+
class="transition-transform transform hover:scale-110 hover:bg-transparent ease-in-out duration-300"
35+
>
36+
<img
37+
src={GoogleBtn.src}
38+
alt="Google play button"
39+
width={250}
40+
height={20}
41+
loading="lazy"
42+
class="md:gap-3"
43+
/>
44+
</a>
45+
46+
<a
47+
href="https://apps.apple.com/us/app/mi-huella-en-el-planeta/id6748420106"
48+
class="transition-transform transform hover:scale-110 hover:bg-transparent ease-in-out duration-300">
49+
<img
50+
src={AppStoreBtn.src}
51+
alt="Apple Store button"
52+
width={225}
53+
height={20}
54+
loading="lazy"
55+
/>
56+
</a>
57+
</div>
3758
</div>
3859
<img
3960
src={Cellphone.src}
4061
alt="Imagen celular"
41-
class="md:max-h-[600px] md:h-auto w-auto animate-fade-up "
62+
class="md:max-h-[600px] md:h-auto w-auto animate-fade-up"
4263
loading="lazy"
4364
/>
4465
</article>
45-
</main>
66+
<a href="#">
67+
<img
68+
src={HuellaHidricaBtn.src}
69+
alt="Botón de la Huella Hídrica"
70+
width="15%"
71+
class="absolute opacity-80 hover:opacity-100 bottom-5 right-20"
72+
loading="lazy"
73+
/>
74+
</a>
75+
</main>
20 KB
Loading
7.26 KB
Loading

0 commit comments

Comments
 (0)