feat(archives): bootstrap what-is-archives from Github

This commit is contained in:
Jean-Philippe Sirois
2019-11-11 15:40:52 -08:00
parent 51eeb489e5
commit 7cc1e4c899
33 changed files with 578 additions and 242 deletions
+3 -2
View File
@@ -1,7 +1,7 @@
import { graphql } from "gatsby"
import React, { FC, Fragment } from "react"
import { ColumnHeader } from "../components/ColumnHeader"
import { Markdown } from "../components/Markdown"
import { ResourceHeader } from "../components/ResourceHeader"
import { SEO } from "../components/SEO"
import "katex/dist/katex.min.css"
@@ -14,8 +14,9 @@ const LanguagePost: FC<any> = ({ data }) => {
return (
<Fragment>
<SEO title={frontmatter.title} description={excerpt} />
<ResourceHeader
<ColumnHeader
relativePath={relativePath}
basePath="/resources"
title={frontmatter.title}
authors={fields.authors}
createdAt={frontmatter.created_at}