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,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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user