mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 17:25:59 +02:00
28 lines
642 B
TypeScript
28 lines
642 B
TypeScript
import { graphql } from "gatsby"
|
|
import React, { Fragment } from "react"
|
|
import { MarkdownRemark } from "../../generated/graphql"
|
|
import { ComponentQuery } from "../../typings"
|
|
import { Markdown } from "../components/Markdown"
|
|
import { SEO } from "../components/SEO"
|
|
|
|
function AboutPage({ data }: ComponentQuery<{ md: MarkdownRemark }>) {
|
|
const { md } = data
|
|
|
|
return (
|
|
<Fragment>
|
|
<SEO title="About" />
|
|
<Markdown content={md.html!} />
|
|
</Fragment>
|
|
)
|
|
}
|
|
|
|
export const query = graphql`
|
|
query AboutPage {
|
|
md: markdownRemark(frontmatter: { path: { eq: "/about" } }) {
|
|
html
|
|
}
|
|
}
|
|
`
|
|
|
|
export default AboutPage
|