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

initial commit

parents
Pipeline #275 canceled with stages
import React from "react"
import Layout from "../components/layout"
import SEO from "../components/seo"
const NotFoundPage = () => (
<Layout>
<SEO title="404: Not found" />
<h1>NOT FOUND</h1>
<p>You just hit a route that doesn&#39;t exist... the sadness.</p>
</Layout>
)
export default NotFoundPage
import React from "react"
import { graphql } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
const DomainsPage = ({ data }) => (
<Layout>
<SEO title="Domains" />
<h1>Domains</h1>
<ul>
{ data.allStrapiDomain.nodes.map(node => (
<li key={node.id}>
<h3>{ node.title }</h3>
<p>{ node.description }</p>
</li>
)) }
</ul>
</Layout>
)
export default DomainsPage
export const pageQuery = graphql`
query DomainQuery {
allStrapiDomain {
nodes {
id
title
description
}
}
}
`
\ No newline at end of file
import React from "react"
import Layout from "../components/layout"
import SEO from "../components/seo"
const IndexPage = () => (
<Layout>
<SEO title="Home" />
<h1>Index</h1>
<p>Lorem ipsum dolor kit</p>
</Layout>
)
export default IndexPage
import React from "react"
import { graphql } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
const UseCasesPage = ({ data }) => (
<Layout>
<SEO title="Use Cases" />
<h1>Use Cases</h1>
<ul>
{ data.allStrapiUseCase.nodes.map(node => (
<li key={node.id}>
<h3>{ node.title }</h3>
<p>{ node.description }</p>
</li>
)) }
</ul>
</Layout>
)
export default UseCasesPage
export const pageQuery = graphql`
query UseCasesQuery {
allStrapiUseCase {
nodes {
id
title
description
}
}
}
`
\ No newline at end of file
This diff is collapsed.
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