mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-06 23:43:45 +02:00
refact: rename Column components to be generic
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { graphql } from "gatsby"
|
||||
import React, { FC, Fragment } from "react"
|
||||
import { ColumnHeader } from "../components/ColumnHeader"
|
||||
import { Header } from "../components/Header"
|
||||
import { Markdown } from "../components/Markdown"
|
||||
import { SEO } from "../components/SEO"
|
||||
import { humanize } from "../utils"
|
||||
@@ -15,7 +15,7 @@ const Archive: FC<any> = ({ data }) => {
|
||||
return (
|
||||
<Fragment>
|
||||
<SEO title={title} description={excerpt} />
|
||||
<ColumnHeader
|
||||
<Header
|
||||
relativePath={relativePath}
|
||||
basePath="/archives"
|
||||
title={title}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { graphql } from "gatsby"
|
||||
import React, { FC, Fragment } from "react"
|
||||
import { ColumnHeader } from "../components/ColumnHeader"
|
||||
import { Header } from "../components/Header"
|
||||
import { Markdown } from "../components/Markdown"
|
||||
import { SEO } from "../components/SEO"
|
||||
|
||||
@@ -14,7 +14,7 @@ const LanguagePost: FC<any> = ({ data }) => {
|
||||
return (
|
||||
<Fragment>
|
||||
<SEO title={frontmatter.title} description={excerpt} />
|
||||
<ColumnHeader
|
||||
<Header
|
||||
relativePath={relativePath}
|
||||
basePath="/resources"
|
||||
title={frontmatter.title}
|
||||
|
||||
Reference in New Issue
Block a user