mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-07 16:06:12 +02:00
style: format codebase
This commit is contained in:
@@ -53,7 +53,7 @@ export function Breadcrumb({ relativePath, basePath }: IBreadcrumbProps) {
|
||||
<ChevronUp />
|
||||
</SC.LinkWrapper>
|
||||
|
||||
{breadcrumbItems.map(item => {
|
||||
{breadcrumbItems.map((item) => {
|
||||
if (item.type === "folder") {
|
||||
foldersDepth++
|
||||
if (foldersDepth > 1) {
|
||||
|
||||
@@ -25,12 +25,12 @@ export const LinkWrapper = styled.div`
|
||||
}
|
||||
|
||||
svg path {
|
||||
fill: ${props => (props.theme.name === "dark" ? "#f9f9f9" : "#172129")};
|
||||
fill: ${(props) => (props.theme.name === "dark" ? "#f9f9f9" : "#172129")};
|
||||
}
|
||||
`
|
||||
|
||||
export const StyledLink = styled(Link)`
|
||||
color: ${props => (props.theme.name === "dark" ? "#f9f9f9" : "#172129")};
|
||||
color: ${(props) => (props.theme.name === "dark" ? "#f9f9f9" : "#172129")};
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
text-decoration: underline;
|
||||
|
||||
Reference in New Issue
Block a user