@@ -7,9 +7,11 @@ const ContactUs = () => {
7
7
const { teamMembers, contactEmail, teamObjective, additionalInformation } =
8
8
contactUs ;
9
9
const [ containerClass , setContainerClass ] = useState ( "" ) ;
10
+
10
11
function emailHandler ( contactEmail ) {
11
12
window . location . href = `mailto:${ contactEmail } ` ;
12
13
}
14
+
13
15
const eduversaEmail = "eduversa.developer@gmail.com" ;
14
16
function contactEduversa ( ) {
15
17
window . location . href = `mailto:${ eduversaEmail } ` ;
@@ -40,18 +42,41 @@ const ContactUs = () => {
40
42
height = { 20 }
41
43
width = { 20 }
42
44
className = "member__email__icon"
43
- > </ Image >
45
+ / >
44
46
< span className = "member__email__link" > { member . email } </ span >
45
47
</ div >
46
48
< p className = "member__expertise" > Expertise: { member . expertise } </ p >
47
49
< p className = "member__description" > { member . description } </ p >
50
+ { member . name === "Ankur Halder (Leader)" && (
51
+ < div className = "member__backlink" >
52
+ < a
53
+ href = "https://www.ankurhalder.in"
54
+ target = "_blank"
55
+ rel = "noopener noreferrer"
56
+ style = { {
57
+ display : "inline-block" ,
58
+ color : "#0070f3" ,
59
+ fontWeight : "bold" ,
60
+ textDecoration : "underline" ,
61
+ fontSize : "16px" ,
62
+ transition : "color 0.3s" ,
63
+ marginTop : "10px" ,
64
+ } }
65
+ onMouseEnter = { ( e ) => ( e . currentTarget . style . color = "#0050c0" ) }
66
+ onMouseLeave = { ( e ) => ( e . currentTarget . style . color = "#0070f3" ) }
67
+ >
68
+ Visit Ankur Halder's Website: ankurhalder.in
69
+ </ a >
70
+ </ div >
71
+ ) }
48
72
</ div >
49
73
) ) ;
50
74
} ;
51
75
52
76
const handleSocialLoginClick = ( provider ) => {
53
77
alert ( `We are coming on ${ provider } soon!` ) ;
54
78
} ;
79
+
55
80
return (
56
81
< Fragment >
57
82
< Head >
@@ -71,7 +96,6 @@ const ContactUs = () => {
71
96
< h3 className = "team-members__heading" > Our Team</ h3 >
72
97
{ renderTeamMembers ( ) }
73
98
</ div >
74
-
75
99
< div className = "contact-email" >
76
100
< h3 className = "contact-email__heading" > Contact Email</ h3 >
77
101
< div className = "contact-email__container" onClick = { contactEduversa } >
@@ -81,16 +105,14 @@ const ContactUs = () => {
81
105
height = { 20 }
82
106
width = { 20 }
83
107
className = "contact-email__container__icon"
84
- > </ Image >
108
+ / >
85
109
< p className = "contact-email__container__content" > { contactEmail } </ p >
86
110
</ div >
87
111
</ div >
88
-
89
112
< div className = "team-objective" >
90
113
< h3 className = "team-objective__heading" > Team Objective</ h3 >
91
114
< p className = "team-objective__content" > { teamObjective } </ p >
92
115
</ div >
93
-
94
116
< div className = "social-media" >
95
117
< h4 className = "social-media__heading" > Connect Us With</ h4 >
96
118
< ul >
@@ -109,7 +131,7 @@ const ContactUs = () => {
109
131
height = { 25 }
110
132
width = { 25 }
111
133
className = "github-icon"
112
- > </ Image >
134
+ / >
113
135
</ li >
114
136
< li onClick = { ( ) => handleSocialLoginClick ( "Twitter" ) } >
115
137
Twitter:
@@ -119,7 +141,7 @@ const ContactUs = () => {
119
141
height = { 25 }
120
142
width = { 25 }
121
143
className = "twitter-icon"
122
- > </ Image >
144
+ / >
123
145
</ li >
124
146
< li onClick = { ( ) => handleSocialLoginClick ( "LinkedIn" ) } >
125
147
LinkedIn:
@@ -129,7 +151,7 @@ const ContactUs = () => {
129
151
height = { 25 }
130
152
width = { 25 }
131
153
className = "linkedin-icon"
132
- > </ Image >
154
+ / >
133
155
</ li >
134
156
< li onClick = { ( ) => handleSocialLoginClick ( "Facebook" ) } >
135
157
Facebook:
@@ -139,7 +161,7 @@ const ContactUs = () => {
139
161
height = { 25 }
140
162
width = { 25 }
141
163
className = "facebook-icon"
142
- > </ Image >
164
+ / >
143
165
</ li >
144
166
< li onClick = { ( ) => handleSocialLoginClick ( "Instagram" ) } >
145
167
Instagram:
@@ -149,7 +171,7 @@ const ContactUs = () => {
149
171
height = { 25 }
150
172
width = { 25 }
151
173
className = "instagram-icon"
152
- > </ Image >
174
+ / >
153
175
</ li >
154
176
</ ul >
155
177
</ div >
0 commit comments