mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
ui(about): restyle discord join us button
This commit is contained in:
@@ -4,6 +4,7 @@ import * as SC from "./styles"
|
|||||||
export const DiscordButton: FC = ({ children }) => {
|
export const DiscordButton: FC = ({ children }) => {
|
||||||
return (
|
return (
|
||||||
<SC.DiscordButtonWrapper
|
<SC.DiscordButtonWrapper
|
||||||
|
className="button"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
href="https://discord.gg/programming"
|
href="https://discord.gg/programming"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -2,8 +2,7 @@ import styled from "styled-components"
|
|||||||
import DiscordLogo from "../../images/discord-logo.svg"
|
import DiscordLogo from "../../images/discord-logo.svg"
|
||||||
|
|
||||||
export const DiscordButtonWrapper = styled.a`
|
export const DiscordButtonWrapper = styled.a`
|
||||||
margin-top: 32px;
|
display: inline-flex;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-family: "Montserrat", sans-serif;
|
font-family: "Montserrat", sans-serif;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ export const Menu = styled.nav`
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
margin-bottom: 32px;
|
||||||
`
|
`
|
||||||
|
|
||||||
export const MenuItemText = styled.div`
|
export const MenuItemText = styled.div`
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ export const MarkdownWrapper = styled.div`
|
|||||||
padding-left: ${BASE_LINE_HEIGHT}px;
|
padding-left: ${BASE_LINE_HEIGHT}px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:not(.anchor) {
|
a:not(.anchor):not(.button) {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|||||||
Reference in New Issue
Block a user