-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Built out tile component and prepared temporary site before preview r…
…elease
- Loading branch information
1 parent
0d7fbbf
commit a5b6fa1
Showing
28 changed files
with
2,058 additions
and
157 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
import styled from 'styled-components'; | ||
import { Heart } from 'react-feather'; | ||
import Typography from '@/components/common/Typography'; | ||
import { Grid, GridItem, Section, Stack } from '@/components/common/layout'; | ||
import TwitterSvg from '@/assets/twitter-icon.svg' | ||
import DiscordSvg from '@/assets/discord-icon.svg' | ||
import GitHubSvg from '@/assets/github-icon.svg' | ||
import links from '@/data/links'; | ||
|
||
const TwitterIcon = styled(TwitterSvg)` | ||
width: 48px; | ||
height: 48px; | ||
` | ||
const DiscordIcon = styled(DiscordSvg)` | ||
width: 48px; | ||
height: 48px; | ||
` | ||
const GitHubIcon = styled(GitHubSvg)` | ||
width: 48px; | ||
height: 48px; | ||
` | ||
|
||
const SocialSection = () => { | ||
return ( | ||
<Section contained gutterY> | ||
<Grid columns={{ xs: 1, md: 2, lg: 4}} gap> | ||
<GridItem> | ||
<Stack gap={1} align="center" style={{ textAlign: 'center' }}> | ||
<TwitterIcon /> | ||
<Typography variant="headline-body">Keep up to date</Typography> | ||
<Typography variant="body-reduced"> | ||
Stay in the know! Follow us @CodeEditApp on Twitter to get the | ||
latest updates. | ||
</Typography> | ||
<Typography variant="body-reduced"><a href={links.twitter}>Follow Us</a></Typography> | ||
</Stack> | ||
</GridItem> | ||
<GridItem> | ||
<Stack gap={1} align="center" style={{ textAlign: 'center' }}> | ||
<DiscordIcon /> | ||
<Typography variant="headline-body">Join the conversation</Typography> | ||
<Typography variant="body-reduced"> | ||
Some of the best ideas come from our community. Join us to influence CodeEdit. | ||
</Typography> | ||
<Typography variant="body-reduced"><a href={links.discord}>Start a conversation</a></Typography> | ||
</Stack> | ||
</GridItem> | ||
<GridItem> | ||
<Stack gap={1} align="center" style={{ textAlign: 'center' }}> | ||
<GitHubIcon /> | ||
<Typography variant="headline-body">Start Contributing</Typography> | ||
<Typography variant="body-reduced"> | ||
Help shape the future of CodeEdit. Submit an issue or become a contributor today. | ||
</Typography> | ||
<Typography variant="body-reduced"><a href={links.githubRepo}>Check it out</a></Typography> | ||
</Stack> | ||
</GridItem> | ||
<GridItem> | ||
<Stack gap={1} align="center" style={{ textAlign: 'center' }}> | ||
<Heart size={48} /> | ||
<Typography variant="headline-body">Become a Sponsor</Typography> | ||
<Typography variant="body-reduced"> | ||
Don't have time to contribute? You can show your support by becaoming a sponsor. | ||
</Typography> | ||
<Typography variant="body-reduced"><a href={links.githubSponsor}>Sponsor the Project</a></Typography> | ||
</Stack> | ||
</GridItem> | ||
</Grid> | ||
</Section> | ||
); | ||
} | ||
|
||
export default SocialSection; |
Oops, something went wrong.