mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-07 07:56:12 +02:00
feat: persist layout state across pages
This commit is contained in:
+3
-4
@@ -1,7 +1,6 @@
|
||||
import React from "react"
|
||||
import React, { Fragment } from "react"
|
||||
import { graphql } from "gatsby"
|
||||
import { Markdown } from "../components/Markdown"
|
||||
import { Layout } from "../components/Layout"
|
||||
import { MarkdownRemark, Query } from "../generated/graphql"
|
||||
import { SEO } from "../components/SEO"
|
||||
|
||||
@@ -9,10 +8,10 @@ function AboutPage({ data }: ComponentQuery<{ md: MarkdownRemark }>) {
|
||||
const { md } = data
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<Fragment>
|
||||
<SEO title="About" />
|
||||
<Markdown content={md.html!} />
|
||||
</Layout>
|
||||
</Fragment>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user