Skip to content

Commit 577c243

Browse files
author
brianshattuck
committed
add SocialMedia section
1 parent 54fd008 commit 577c243

File tree

5 files changed

+254
-123
lines changed

5 files changed

+254
-123
lines changed
15.8 KB
Loading
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
'use client';
2+
import React from 'react';
3+
import { Button, Box, Typography } from '@material-ui/core';
4+
import { TelegramIcon, TwitterIcon } from './SocialIcon';
5+
import { Link } from 'react-router-dom';
6+
import SocialMediaBg from 'assets/images/launchpad/social_media_bg.png';
7+
8+
const JoinSocialMedia: React.FC = () => {
9+
return (
10+
<Box className='section socialMediaSection'>
11+
<Box className='cover_title'>
12+
<Typography className='title2'>Follow on Social Media</Typography>
13+
<Typography className='desc'>
14+
Follow QuickLaunch on social media channels for exclusive updates on
15+
upcoming crypto launches, industry insights, and real-time
16+
discussions. Connect with like-minded individuals and be the first to
17+
know about the latest opportunities for IDOs on Polygon.
18+
</Typography>
19+
</Box>
20+
<Box className='cover_social_icons'>
21+
<a
22+
href='https://t.me/QuickLaunchOfficial'
23+
target='_blank'
24+
rel='noreferrer'
25+
>
26+
<TelegramIcon className='social_icon'></TelegramIcon>
27+
</a>
28+
<a
29+
href='https://x.com/quickswapdex?s=21&t=nQjWO49uC8GB7M59QlcWjQ'
30+
target='_blank'
31+
rel='noreferrer'
32+
>
33+
<TwitterIcon className='social_icon'></TwitterIcon>
34+
</a>
35+
</Box>
36+
<Box className='social_media_bg'>
37+
<img src={SocialMediaBg} alt='social-media-bg' />
38+
</Box>
39+
</Box>
40+
);
41+
};
42+
43+
export default JoinSocialMedia;

src/pages/LaunchpadPage/LaunchpadPage.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import React, { useState } from 'react';
22
import HeroSection from 'pages/LaunchpadPage/HeroSection';
33
import StepsToJoin from 'pages/LaunchpadPage/StepsToJoin';
4+
import JoinSocialMedia from 'pages/LaunchpadPage/JoinSocialMedia';
5+
46
import 'pages/styles/launchpad.scss';
57

68
const LaunchpadPage: React.FC = () => {
@@ -17,6 +19,7 @@ const LaunchpadPage: React.FC = () => {
1719
openModal={openModal}
1820
setOpenModal={setOpenModal}
1921
/>
22+
<JoinSocialMedia />
2023
</div>
2124
);
2225
};
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* eslint-disable react/react-in-jsx-scope */
2+
export const TelegramIcon: React.FC<React.SVGProps<SVGSVGElement>> = (
3+
props,
4+
) => (
5+
<svg viewBox='0 0 24 24' fill='currentColor' {...props}>
6+
<path d='M20.665 3.717l-17.73 6.837c-1.21.486-1.203 1.161-.222 1.462l4.552 1.42l10.532-6.645c.498-.303.953-.14.579.192l-8.533 7.701l-.321 4.843c.47 0 .677-.216.95-.477l2.283-2.22l4.743 3.503c.87.48 1.496.233 1.714-.814l3.101-14.606c.317-1.269-.486-1.843-1.648-1.466z' />
7+
</svg>
8+
);
9+
10+
export const YoutubeIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
11+
<svg viewBox='0 0 24 24' fill='currentColor' {...props}>
12+
<path d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z' />
13+
</svg>
14+
);
15+
16+
export const DiscordIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
17+
<svg viewBox='0 0 24 24' fill='currentColor' {...props}>
18+
<path d='M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z' />
19+
</svg>
20+
);
21+
22+
export const GithubIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
23+
<svg viewBox='0 0 24 24' fill='currentColor' {...props}>
24+
<path d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12' />
25+
</svg>
26+
);
27+
28+
export const TwitterIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
29+
<svg viewBox='0 0 24 24' fill='currentColor' {...props}>
30+
<path d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z' />
31+
</svg>
32+
);

0 commit comments

Comments
 (0)