refact: rename Column components to be generic

This commit is contained in:
Jean-Philippe Sirois
2019-11-11 17:18:09 -08:00
parent ba88927304
commit 711da3c517
25 changed files with 553 additions and 555 deletions
+4 -5
View File
@@ -1,9 +1,9 @@
import React, { Fragment } from "react"
import { ColumnLink } from "../components/ColumnLink"
import { Link } from "../components/Link"
import { SEO } from "../components/SEO"
function ResourcesPage() {
function ArchivesPage() {
return (
<Fragment>
<SEO title="Tech Spotlights Archives" />
@@ -11,11 +11,10 @@ function ResourcesPage() {
<p>
This regroups the archives of our occasional, temporary channels that
cover a piece of technology that might be unknown to part of our users.
You can find those on{" "}
<ColumnLink to="/about">The Programmer's Hangout</ColumnLink>.
You can find those on <Link to="/about">The Programmer's Hangout</Link>.
</p>
</Fragment>
)
}
export default ResourcesPage
export default ArchivesPage
+3 -3
View File
@@ -1,7 +1,7 @@
import React, { Fragment } from "react"
import packageJson from "../../package.json"
import { ColumnLink } from "../components/ColumnLink"
import { Link } from "../components/Link"
import { ResourcesList } from "../components/ResourcesList"
import { SEO } from "../components/SEO"
@@ -13,11 +13,11 @@ function ResourcesPage() {
<p>
This is meant as a small knowledge base for commonly answered questions
on our Discord community,{" "}
<ColumnLink to="/about">The Programmer's Hangout</ColumnLink>.
<Link to="/about">The Programmer's Hangout</Link>.
</p>
<p>
All of it is open source, and you can contribute to it on{" "}
<ColumnLink to={packageJson.repository.url}>GitHub</ColumnLink>.
<Link to={packageJson.repository.url}>GitHub</Link>.
</p>
<ResourcesList />
</Fragment>