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