1
1
---
2
+ import Button from " @ui/Button.astro" ;
2
3
const socialLinks = [
3
4
{ href: " https://linkedin.com/company/europython/" , icon: " linkedin" },
4
5
{ href: " https://instagram.com/europython/" , icon: " instagram" },
@@ -10,56 +11,52 @@ const socialLinks = [
10
11
---
11
12
12
13
<div class =" full-bleed w-full bg-[#d4d5e5] flex flex-col items-center justify-center py-08 px-4 text-center" >
13
- <div class =" w-full bg-[#d4d5e5] flex flex-col items-center justify-center py-20 px-4 text-center relative z-10" >
14
- <h1 class =" text-4xl md:text-6xl font-bold mb-10 leading-tight text-[#17223A]" >
15
- Follow us<br />for updates
16
- </h1 >
14
+ <div class =" w-full bg-[#d4d5e5] flex flex-col items-center justify-center py-20 px-4 text-center relative z-10" >
15
+ <h1 class =" text-4xl md:text-6xl font-bold mb-10 leading-tight text-[#17223A]" >
16
+ Follow us<br />for updates!
17
+ </h1 >
17
18
18
- <div class =" flex justify-center flex-wrap gap-6 mb-8" >
19
- { socialLinks .map (({ href , icon }) => (
20
- <a
21
- href = { href }
22
- target = " _blank"
23
- rel = " noopener noreferrer"
24
- class = " w-16 h-16 flex items-center justify-center border-2 border-yellow-400 rounded-full hover:scale-110 transition-transform"
25
- >
26
- < img src = { ` /icons/ ${icon }.svg ` } alt = { icon } class = " w-6 h-6 " / >
27
- </a >
28
- ))}
29
- </div >
19
+ <div class =" flex justify-center flex-wrap gap-6 mb-8" >
20
+ { socialLinks .map (({ href , icon }) => (
21
+ <a
22
+ href = { href }
23
+ target = " _blank"
24
+ rel = " noopener noreferrer"
25
+ class = " w-16 h-16 flex items-center justify-center border-2 border-yellow-400 rounded-full hover:scale-110 transition-transform"
26
+ >
27
+ < i class = { ` fab fa- ${icon } text-2xl text-[#17223A] ` } ></ i >
28
+ </a >
29
+ ))}
30
+ </div >
30
31
31
- <p class =" text-[#151f38] mb-8 text-sm md:text-base" >
32
- Subscribe to our conference newsletter and get<br />
33
- the latest updates and special deals
34
- </p >
32
+ <p class =" text-[#151f38] mb-8 text-sm md:text-base" >
33
+ Subscribe to our conference newsletter and get<br />
34
+ the latest updates and special deals
35
+ </p >
35
36
36
- <form
37
- id =" subscribeForm"
38
- class =" flex flex-col sm:flex-row justify-center items-center gap-4"
39
- >
40
- <input
41
- id =" emailInput"
42
- type =" email"
43
- name =" email"
44
- placeholder =" Your email"
45
- required
46
- class =" px-4 py-3 rounded-[10px] bg-white text-black text-base font-medium w-72 text-center"
47
- />
48
- <button
49
- type =" submit"
50
- class =" font-bold text-lg px-4 py-4 bg-button rounded-[10px] inline-block leading-4 hover:bg-button-hover not-prose outline-solid outline bg-transparent text-xl text-secondary outline-secondary text-black"
37
+ <form
38
+ id =" subscribeForm"
39
+ class =" flex flex-col sm:flex-row justify-center items-center gap-4"
51
40
>
52
- Subscribe
53
- </button >
54
- </form >
41
+ <input
42
+ id =" emailInput"
43
+ type =" email"
44
+ name =" email"
45
+ placeholder =" Your email"
46
+ required
47
+ class =" px-4 py-3 rounded-[10px] bg-white text-black text-base font-medium w-72 text-center"
48
+ />
55
49
56
- <p
57
- id =" subscribeMessage"
58
- class =" hidden mt-4 text-green-600 text-lg font-medium transition-opacity duration-500 opacity-0"
59
- >
60
- Please check your email to confirm. 📬
61
- </p >
62
- </div >
50
+ <Button outline type =" submit" > Subscribe </Button >
51
+ </form >
52
+
53
+ <p
54
+ id =" subscribeMessage"
55
+ class =" hidden mt-4 text-green-600 text-lg font-medium transition-opacity duration-500 opacity-0"
56
+ >
57
+ Please check your email to confirm. 📬
58
+ </p >
59
+ </div >
63
60
</div >
64
61
65
62
<script >
0 commit comments