Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
code
Public Stack Site
Commits
f622a738
Commit
f622a738
authored
Sep 07, 2020
by
alain
🐙
Browse files
practice introduction in frontend
parent
3f2eaa86
Changes
2
Hide whitespace changes
Inline
Side-by-side
frontend/gatsby-config.js
View file @
f622a738
...
...
@@ -37,6 +37,7 @@ module.exports = {
'
header
'
,
'
home
'
,
'
domains-page
'
,
'
practice-page
'
,
'
about
'
,
],
queryLimit
:
1000
...
...
frontend/src/pages/alternatives.js
View file @
f622a738
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment