mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
feat: link to the forum
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Link } from "gatsby"
|
||||
import styled from "styled-components"
|
||||
import styled, { css } from "styled-components"
|
||||
|
||||
export const SidebarWrapper = styled.div`
|
||||
box-sizing: border-box;
|
||||
@@ -39,7 +39,7 @@ export const Menu = styled.nav`
|
||||
padding-top: 20px;
|
||||
`
|
||||
|
||||
export const MenuItem = styled(Link)`
|
||||
export const menuItemStyles = css`
|
||||
padding: 4px 0;
|
||||
font-size: 20px;
|
||||
color: ${props => props.theme.sidebar.foreground};
|
||||
@@ -54,3 +54,11 @@ export const MenuItem = styled(Link)`
|
||||
font-weight: 700;
|
||||
}
|
||||
`
|
||||
|
||||
export const MenuItem = styled(Link)`
|
||||
${menuItemStyles};
|
||||
`
|
||||
|
||||
export const MenuItemExternal = styled.a`
|
||||
${menuItemStyles};
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user