mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-05 23:43:37 +02:00
chore(lint): small clean up of lint errors wip on #312
This commit is contained in:
@@ -9,7 +9,10 @@ import { SEO } from "../../components/SEO"
|
||||
import { FourZeroFourHint } from "../../components/FourZeroFourHint"
|
||||
import { FourZeroFour } from "../../components/FourZeroFour"
|
||||
|
||||
export default ({ data }: ComponentQuery<{ allFile: FileConnection }>) => (
|
||||
// TODO: there has to be a better type for this
|
||||
const FourZeroFourPage: React.FC<{ data: { allFile: FileConnection } }> = ({
|
||||
data,
|
||||
}: ComponentQuery<{ allFile: FileConnection }>) => (
|
||||
<Fragment>
|
||||
<SEO title="404: Archive Not found" />
|
||||
<FourZeroFour title="ARCHIVE NOT FOUND">
|
||||
@@ -26,6 +29,8 @@ export default ({ data }: ComponentQuery<{ allFile: FileConnection }>) => (
|
||||
</Fragment>
|
||||
)
|
||||
|
||||
export default FourZeroFourPage
|
||||
|
||||
export const query = graphql`
|
||||
query {
|
||||
allFile(filter: { sourceInstanceName: { eq: "what-is-archive" } }) {
|
||||
|
||||
@@ -17,7 +17,7 @@ function ArchivesPage() {
|
||||
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{" "}
|
||||
<Link to="/about">The Programmer's Hangout</Link>.
|
||||
<Link to="/about">The Programmer's Hangout</Link>.
|
||||
</p>
|
||||
}
|
||||
/>
|
||||
|
||||
@@ -8,7 +8,10 @@ import { FourZeroFourHint } from "../../components/FourZeroFourHint"
|
||||
import { SEO } from "../../components/SEO"
|
||||
import { FourZeroFour } from "../../components/FourZeroFour"
|
||||
|
||||
export default ({ data }: ComponentQuery<{ allFile: FileConnection }>) => (
|
||||
// TODO: there has to be a better type for this
|
||||
const FourZeroFourPage: React.FC<{ data: { allFile: FileConnection } }> = ({
|
||||
data,
|
||||
}: ComponentQuery<{ allFile: FileConnection }>) => (
|
||||
<Fragment>
|
||||
<SEO title="404: Resource Not found" />
|
||||
<FourZeroFour title="RESOURCE NOT FOUND">
|
||||
@@ -25,6 +28,8 @@ export default ({ data }: ComponentQuery<{ allFile: FileConnection }>) => (
|
||||
</Fragment>
|
||||
)
|
||||
|
||||
export default FourZeroFourPage
|
||||
|
||||
export const query = graphql`
|
||||
query {
|
||||
allFile(filter: { sourceInstanceName: { eq: "resources" } }) {
|
||||
|
||||
@@ -18,7 +18,7 @@ function ResourcesPage() {
|
||||
<p>
|
||||
This is meant as a small knowledge base for commonly answered
|
||||
questions on our Discord community,{" "}
|
||||
<Link to="/about">The Programmer's Hangout</Link>.
|
||||
<Link to="/about">The Programmer's Hangout</Link>.
|
||||
</p>
|
||||
<p>
|
||||
All of it is open source, and you can contribute to it on{" "}
|
||||
|
||||
Reference in New Issue
Block a user