mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-06 16:06:12 +02:00
feat(resources): implement breadcrumbs
This commit is contained in:
@@ -2,9 +2,11 @@ import React, { Fragment } from "react"
|
||||
|
||||
import { StackedAvatars } from "../StackedAvatars"
|
||||
import ChevronUp from "../../icons/chevron-up.svg"
|
||||
import { ResourceBreadcrumb } from "../ResourceBreadcrumb"
|
||||
import * as SC from "./styles"
|
||||
|
||||
interface ResourceHeaderProps {
|
||||
relativePath: any
|
||||
title: any
|
||||
authors: any
|
||||
createdAt: any
|
||||
@@ -42,6 +44,7 @@ function ExtraLink({
|
||||
}
|
||||
|
||||
export function ResourceHeader({
|
||||
relativePath,
|
||||
title,
|
||||
authors,
|
||||
createdAt,
|
||||
@@ -57,6 +60,8 @@ export function ResourceHeader({
|
||||
|
||||
return (
|
||||
<SC.ResourceHeaderWrapper>
|
||||
<ResourceBreadcrumb relativePath={relativePath} />
|
||||
|
||||
<SC.Title>{title}</SC.Title>
|
||||
|
||||
<SC.Top>
|
||||
|
||||
Reference in New Issue
Block a user