ui: first pass on redesign (#228)

This commit is contained in:
Jean-Philippe Sirois
2020-05-11 02:00:57 -04:00
committed by GitHub
parent 12d1346d4b
commit ab8e8edd5a
40 changed files with 779 additions and 362 deletions
+3 -1
View File
@@ -4,6 +4,7 @@ import { Header } from "../components/Header"
import { Markdown } from "../components/Markdown"
import { SEO } from "../components/SEO"
import { humanize } from "../utils"
import { PageContent } from "../components/PageContent"
// @todo maybe find alternative type for data
const Archive: FC<any> = ({ data }) => {
@@ -21,8 +22,9 @@ const Archive: FC<any> = ({ data }) => {
title={title}
createdAt={ctime}
timeToRead={timeToRead}
shifted={false}
/>
<Markdown content={html} />
<PageContent content={<Markdown content={html} />} />
</Fragment>
)
}