Skip to content

Commit e0188db

Browse files
committed
Fix: Mislined social links in subscribe section on landing page
1 parent 5805cb1 commit e0188db

2 files changed

Lines changed: 28 additions & 8 deletions

File tree

src/pages/LandingPage/CommunityBlock.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ const CommunityBlock: React.FC = ({}) => {
4949
icon: <Announcement />,
5050
title: 'Announcements',
5151
},
52-
// {
53-
// link: 'https://t.me/+OQ-H4hjc-BU5ZmRl',
54-
// icon: <DiscordIcon />,
55-
// title: 'Discord',
56-
// },
52+
{
53+
link: 'https://discord.gg/cSbHcjBSWM',
54+
icon: <DiscordIcon />,
55+
title: 'Discord',
56+
},
5757
{
5858
link: 'https://blog.quickswap.exchange/',
5959
icon: <BlogIcon />,
@@ -217,7 +217,9 @@ const CommunityBlock: React.FC = ({}) => {
217217
}
218218
>
219219
<a href={val.link} target='_blank' rel='noopener noreferrer'>
220-
{val.icon}
220+
<Box height={64} style={{ alignContent: 'center' }}>
221+
{val.icon}
222+
</Box>
221223
<Typography style={{ color: '#fff' }}>{val.title}</Typography>
222224
</a>
223225
</Box>

src/pages/styles/landing.scss

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,18 @@
452452
fill: white;
453453
}
454454
& img {
455-
width: 64px;
456-
height: 64px;
455+
width: 48px;
456+
height: 48px;
457+
margin-bottom: 8px;
458+
filter: grayscale(1);
459+
@media screen and (max-width: '900px') {
460+
width: 48px;
461+
height: 48px;
462+
}
463+
}
464+
& svg {
465+
width: 48px;
466+
height: 48px;
457467
margin-bottom: 8px;
458468
filter: grayscale(1);
459469
@media screen and (max-width: '900px') {
@@ -464,6 +474,14 @@
464474
&.svgFill svg path {
465475
fill: $textPrimary;
466476
}
477+
&.svgFill,
478+
& svg {
479+
opacity: 0.8;
480+
}
481+
&.svgFill,
482+
& a:hover svg {
483+
opacity: 1;
484+
}
467485
&.noFill svg,
468486
& img {
469487
opacity: 0.8;

0 commit comments

Comments
 (0)