@@ -4,6 +4,33 @@ import Image from "next/image";
4
4
import Link from "next/link" ;
5
5
6
6
const LandingBottomSection = ( ) => {
7
+ const Links = [
8
+ {
9
+ id : 2 ,
10
+ icon : (
11
+ < Phone className = "w-4 h-4 min-w-4 stroke-secondary" />
12
+ ) ,
13
+ text : "+971507477541" ,
14
+ href : "tel:+971507477541" ,
15
+ } ,
16
+ {
17
+ id : 1 ,
18
+ icon : (
19
+ < Mail className = "w-4 h-4 min-w-4 stroke-secondary" />
20
+ ) ,
21
+ text : "hello@thesociomatic.com" ,
22
+ href : "/contact-us" ,
23
+ } ,
24
+
25
+ {
26
+ id : 3 ,
27
+ icon : (
28
+ < WhatsAppIcon className = "w-4 h-4 min-w-4 stroke-[2px] stroke-secondary" />
29
+ ) ,
30
+ text : "+971507477541 (WhatsApp)" ,
31
+ href : "https://wa.me/+971507477541" ,
32
+ } ,
33
+ ] ;
7
34
return (
8
35
< div className = "container section grid grid-cols-1 md:grid-cols-2 gap-10 items-center" >
9
36
< Image
@@ -14,32 +41,18 @@ const LandingBottomSection = () => {
14
41
className = "rounded-[40px] max-w-md shadow-2xl"
15
42
/>
16
43
< div className = "space-y-4" >
17
- < p className = "inline-block px-4 py-1 rounded-xl border" >
18
- Contact Me
19
- </ p >
44
+ < p className = "inline-block px-4 py-1 rounded-xl border" > Contact Me</ p >
20
45
< h2 > Have Questions?</ h2 >
21
46
< p > Reach out anytime—I'm happy to help!</ p >
22
- < ul className = "space-y-2" >
23
- < Link href = "/contact-us" >
24
-
25
-
26
- < li className = "flex items-center gap-2" >
27
- < Mail className = "w-6 h-6 min-w-6 bg-secondary/10 stroke-secondary rounded-full p-1" /> { " " }
28
- hello@thesociomatic.com
29
- </ li >
47
+ < ul className = "space-y-2 flex flex-col gap-2" >
48
+ { Links . map ( ( link ) => (
49
+ < Link href = { link . href } key = { link . id } >
50
+ < li className = "px-2 py-1 rounded-xl border border-b-4 inline-flex items-center gap-2 hover:shadow-xl hover:border-secondary hover:border-b-4 transaction duration-300 ease-in-out" >
51
+ { link . icon }
52
+ { link . text }
53
+ </ li >
30
54
</ Link >
31
- < li className = "flex items-center gap-2" >
32
- < Phone className = "w-6 h-6 min-w-6 bg-secondary/10 stroke-secondary rounded-full p-1" /> { " " }
33
- +971507477541
34
- </ li >
35
- < li >
36
- < Link
37
- href = "https://wa.me/+971507477541"
38
- passHref = { true }
39
- target = "_blank" className = "flex items-center gap-2" >
40
- < WhatsAppIcon className = "w-6 h-6 min-w-6 bg-secondary/10 stroke-[2px] stroke-secondary rounded-full p-1" /> { " " }
41
- +971507477541 (WhatsApp)
42
- </ Link > </ li >
55
+ ) ) }
43
56
</ ul >
44
57
</ div >
45
58
</ div >
0 commit comments