Commit f622a738 authored by alain's avatar alain 🐙
Browse files

practice introduction in frontend

parent 3f2eaa86
......@@ -37,6 +37,7 @@ module.exports = {
'header',
'home',
'domains-page',
'practice-page',
'about',
],
queryLimit: 1000
......
......@@ -10,7 +10,7 @@ const AlternativesPage = ({ data }) => (
<SEO title="Alternatives" />
<section>
<div className="row">
<h1 className="page-title">Alternatives</h1>
<div className="page-introduction" dangerouslySetInnerHTML={{ __html: data.strapiPracticePage.introduction }}></div>
<Alternatives alternatives={data.allStrapiAlternative.nodes} />
</div>
</section>
......@@ -21,6 +21,9 @@ export default AlternativesPage
export const pageQuery = graphql`
query AlternativesQuery {
strapiPracticePage {
introduction
}
allStrapiAlternative(sort: {fields: order}) {
nodes {
id
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment