Skip to content

Commit 6b46c5c

Browse files
committed
Add learn more link
1 parent 62b0231 commit 6b46c5c

File tree

1 file changed

+37
-15
lines changed

1 file changed

+37
-15
lines changed

src/components/Banner.astro

Lines changed: 37 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,37 @@
11
---
2-
import { Image } from "astro:assets";
2+
import { Image } from 'astro:assets';
33
4-
import logoBuildWithAI from "../assets/images/buildWithAILogo.svg";
5-
import boliviaLogo from "../assets/images/bolivia-logo.svg";
4+
import logoBuildWithAI from '../assets/images/buildWithAILogo.svg';
5+
import boliviaLogo from '../assets/images/bolivia-logo.svg';
66
---
77

88
<section class="banner">
9-
<div class="banner_actions flex flex-col justify-center w-full lg:w-1/2 xl:w-1/2 h-full items-center">
10-
<Image src={logoBuildWithAI} alt="Build with AI Logo" class="w-full xl:w-2/3" />
11-
<a
12-
href="https://b.link/RegistroBuildWithAI"
13-
class="banner__button flex items-center justify-center px-3 py-2 uppercase w-250"
14-
target="_blank"
15-
rel="noopener noreferrer"
16-
>
17-
Regístrate Aquí
18-
</a>
9+
<div
10+
class="banner_actions flex flex-col justify-center w-full lg:w-1/2 xl:w-1/2 h-full items-center"
11+
>
12+
<Image
13+
src={logoBuildWithAI}
14+
alt="Build with AI Logo"
15+
class="w-full xl:w-2/3"
16+
/>
17+
<div class="flex gap-3">
18+
<a
19+
href="https://b.link/RegistroBuildWithAI"
20+
class="banner__button flex items-center justify-center px-3 py-2 uppercase w-250"
21+
target="_blank"
22+
rel="noopener noreferrer"
23+
>
24+
Regístrate Aquí
25+
</a>
26+
<a
27+
href="https://b.link/BuildWithAIHackathon"
28+
class="banner__button banner__button--secondary flex items-center justify-center px-3 py-2 uppercase w-250"
29+
target="_blank"
30+
rel="noopener noreferrer"
31+
>
32+
Más información
33+
</a>
34+
</div>
1935
</div>
2036
<Image
2137
src={boliviaLogo}
@@ -26,14 +42,20 @@ import boliviaLogo from "../assets/images/bolivia-logo.svg";
2642

2743
<style>
2844
.banner {
29-
background-image: url("../assets/images/black-lines.svg");
45+
background-image: url('../assets/images/black-lines.svg');
3046
background-size: cover;
3147
background-repeat: no-repeat;
32-
height: 100vh;
48+
height: 100dvh;
3349

3450
.banner__button {
3551
background: #000;
3652
color: white;
53+
54+
&.banner__button--secondary {
55+
background: #fff;
56+
border: 1px solid #000;
57+
color: #000;
58+
}
3759
}
3860
}
3961
</style>

0 commit comments

Comments
 (0)