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 +43
-12
lines changed Expand file tree Collapse file tree 2 files changed +43
-12
lines changed Original file line number Diff line number Diff line change 10
10
11
11
@media screen and (max-width : 992px ) {
12
12
flex-direction : column ;
13
- gap : rem (2 );
13
+ gap : rem (4 );
14
14
padding : rem (4 );
15
15
}
16
16
47
47
color : var (--ifm-color-danger );
48
48
padding : 0 rem (0.5 );
49
49
}
50
+ .Communities {
51
+ display : flex ;
52
+ align-items : center ;
53
+ gap : rem (1.7 );
54
+ }
50
55
.communityButton {
51
56
font-family : ' Ubuntu' , sans-serif ;
52
57
color : var (--ifm-color-white );
53
58
border : 2px solid var (--ifm-color-secondary-darkest );
54
- padding : rem (0.5 );
55
- border-radius : rem (1 );
59
+ padding : rem (0.8 ) rem ( 1.6 );
60
+ border-radius : rem (1.7 );
56
61
font-size : rem (1.4 );
57
62
font-weight : bold ;
58
63
}
64
+ .Telegram {
65
+ display : flex ;
66
+ justify-content : center ;
67
+ align-items : center ;
68
+ gap : rem (0.8 );
69
+ }
70
+ .TelegramIcon {
71
+ width : rem (2 );
72
+ height : rem (1.657 );
73
+ }
59
74
}
60
75
}
Original file line number Diff line number Diff line change @@ -12,15 +12,31 @@ const Footer = () => {
12
12
< p className = { styles . FooterBodyContent } >
13
13
Discuss ideas and share solutions with developers worldwide.
14
14
</ p >
15
- < a
16
- data-testid = 'community-link'
17
- style = { { textDecoration : 'none' } }
18
- href = 'https://deriv.vanillacommunity.com/'
19
- target = '_blank'
20
- rel = 'noreferrer'
21
- >
22
- < button className = { styles . communityButton } > Join our community</ button >
23
- </ a >
15
+ < div className = { styles . Communities } >
16
+ < a
17
+ data-testid = 'community-link'
18
+ style = { { textDecoration : 'none' } }
19
+ href = 'https://deriv.vanillacommunity.com/'
20
+ target = '_blank'
21
+ rel = 'noreferrer'
22
+ >
23
+ < button className = { styles . communityButton } > Join our community</ button >
24
+ </ a >
25
+ < a
26
+ data-testid = 'telegram-link'
27
+ style = { { textDecoration : 'none' } }
28
+ href = 'https://t.me/+g6FV5tFY1u9lZGE1'
29
+ target = '_blank'
30
+ rel = 'noreferrer'
31
+ >
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 >
39
+ </ div >
24
40
</ section >
25
41
< section className = { styles . FooterBody } >
26
42
< Text type = 'subtitle-1' as = 'h2' align = 'center' className = { styles . FooterContent } >
You can’t perform that action at this time.
0 commit comments