This repository was archived by the owner on May 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-19
lines changed Expand file tree Collapse file tree 2 files changed +15
-19
lines changed Original file line number Diff line number Diff line change 60
60
border-radius : rem (1.7 );
61
61
font-size : rem (1.4 );
62
62
font-weight : bold ;
63
+ text-decoration : none ;
64
+ cursor : pointer ;
63
65
}
64
66
.Telegram {
65
67
display : flex ;
Original file line number Diff line number Diff line change @@ -13,29 +13,23 @@ const Footer = () => {
13
13
Discuss ideas and share solutions with developers worldwide.
14
14
</ p >
15
15
< div className = { styles . Communities } >
16
- < a
16
+ < button
17
+ className = { styles . communityButton }
18
+ onClick = { ( ) => window . open ( 'https://deriv.vanillacommunity.com/' ) }
17
19
data-testid = 'community-link'
18
- style = { { textDecoration : 'none' } }
19
- href = 'https://deriv.vanillacommunity.com/'
20
- target = '_blank'
21
- rel = 'noreferrer'
22
20
>
23
- < button className = { styles . communityButton } > Join our community</ button >
24
- </ a >
25
- < a
21
+ Join our community
22
+ </ button >
23
+ < button
24
+ className = { styles . communityButton }
25
+ onClick = { ( ) => window . open ( 'https://t.me/+g6FV5tFY1u9lZGE1' ) }
26
26
data-testid = 'telegram-link'
27
- style = { { textDecoration : 'none' } }
28
- href = 'https://t.me/+g6FV5tFY1u9lZGE1'
29
- target = '_blank'
30
- rel = 'noreferrer'
31
27
>
32
- < button className = { styles . communityButton } >
33
- < div className = { styles . Telegram } >
34
- < img src = '/img/telegram.svg' className = { styles . TelegramIcon } />
35
- < p > Telegram</ p >
36
- </ div >
37
- </ button >
38
- </ a >
28
+ < div className = { styles . Telegram } >
29
+ < img src = '/img/telegram.svg' className = { styles . TelegramIcon } />
30
+ < p > Telegram</ p >
31
+ </ div >
32
+ </ button >
39
33
</ div >
40
34
</ section >
41
35
< section className = { styles . FooterBody } >
You can’t perform that action at this time.
0 commit comments