mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-09 23:44:08 +02:00
Merge pull request #313 from the-programmers-hangout/feat-about-join-us
feat(about): convert join us to a 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;
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
path: /about
|
path: /about
|
||||||
---
|
---
|
||||||
|
|
||||||
|
import { DiscordButton } from "../../components/DiscordButton"
|
||||||
|
|
||||||
## What is The Programmers Hangout?
|
## What is The Programmers Hangout?
|
||||||
|
|
||||||
The Programmer's Hangout (TPH) is a discord community geared towards programming. The use of the word "geared" here is important because more accurately it's a discord for programmers of all kinds. If you're a green noob with 5 lines of code under your belt, or if you're a veteran with 15 years of industry experience, TPH has a place for you. More than that, there are over 30,000 people here. You can guarantee you won't be the only person with your experience level on the server.
|
The Programmer's Hangout (TPH) is a discord community geared towards programming. The use of the word "geared" here is important because more accurately it's a discord for programmers of all kinds. If you're a green noob with 5 lines of code under your belt, or if you're a veteran with 15 years of industry experience, TPH has a place for you. More than that, there are over 30,000 people here. You can guarantee you won't be the only person with your experience level on the server.
|
||||||
@@ -10,7 +12,7 @@ The Programmer's Hangout (TPH) is a discord community geared towards programming
|
|||||||
|
|
||||||
All you need to do is click. You'll be prompted to create yourself a Discord account if you don't already have one. We recommend setting one up, then reading the #rules-and-info channel.
|
All you need to do is click. You'll be prompted to create yourself a Discord account if you don't already have one. We recommend setting one up, then reading the #rules-and-info channel.
|
||||||
|
|
||||||
[Join us](https://discord.gg/programming)
|
<DiscordButton>join us</DiscordButton>
|
||||||
|
|
||||||
## When was this server made?
|
## When was this server made?
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user