mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-07 16:06:12 +02:00
feat(resources): implement breadcrumbs
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
import styled from "styled-components"
|
||||
import { Link } from "gatsby"
|
||||
|
||||
export const ResourceBreadcrumbWrapper = styled.div`
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
`
|
||||
|
||||
export const LinkWrapper = styled.div`
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 30px;
|
||||
|
||||
svg {
|
||||
width: 12px;
|
||||
transform: rotate(90deg);
|
||||
margin: 6px;
|
||||
}
|
||||
|
||||
svg path {
|
||||
fill: #04b0a6;
|
||||
}
|
||||
`
|
||||
|
||||
export const StyledLink = styled(Link)`
|
||||
color: #04b0a6;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
color: #045551;
|
||||
}
|
||||
`
|
||||
|
||||
export const CurrentPage = styled.div`
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 30px;
|
||||
`
|
||||
Reference in New Issue
Block a user