mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-07 16:06:12 +02:00
@@ -3,7 +3,7 @@ import * as SC from "./styles"
|
|||||||
|
|
||||||
export const DiscordButton: FC = ({ children }) => {
|
export const DiscordButton: FC = ({ children }) => {
|
||||||
return (
|
return (
|
||||||
<SC.DiscordButtonWrapper>
|
<SC.DiscordButtonWrapper href="https://discord.gg/programming">
|
||||||
<SC.StyledDiscordLogo /> {children}
|
<SC.StyledDiscordLogo /> {children}
|
||||||
</SC.DiscordButtonWrapper>
|
</SC.DiscordButtonWrapper>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
import styled from "styled-components"
|
import styled from "styled-components"
|
||||||
import DiscordLogo from "../../images/discord-logo.svg"
|
import DiscordLogo from "../../images/discord-logo.svg"
|
||||||
|
|
||||||
export const DiscordButtonWrapper = styled.div`
|
export const DiscordButtonWrapper = styled.a`
|
||||||
margin-top: 32px;
|
margin-top: 32px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-family: "Oxygen", sans-serif;
|
font-family: "Oxygen", sans-serif;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
text-decoration: none;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
background: ${props => props.theme.discord.base};
|
background: ${props => props.theme.discord.base};
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|||||||
Reference in New Issue
Block a user