Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 51 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import React, { Component } from "react" |
||
2 | import { graphql } from "gatsby" |
||
3 | import { GatsbyImage } from "gatsby-plugin-image" |
||
4 | |||
5 | import Layout from "../layouts/index" |
||
6 | |||
7 | import SEO from "../components/seo" |
||
8 | |||
9 | class SpaghettiPage extends Component { |
||
10 | render() { |
||
11 | const { affiche } = this.props.data |
||
12 | return ( |
||
13 | <Layout> |
||
14 | <SEO |
||
15 | lang="nl-BE" |
||
16 | title="Mosselfestijn reservaties" |
||
17 | description="Mosselfestijn 2020 - Inschrijvingen" |
||
18 | path={this.props.location.pathname} |
||
19 | /> |
||
20 | <div className={"limited-width_wrapper"}> |
||
21 | <header> |
||
22 | <h1>Spaghettislag ULTRA'S 55</h1> |
||
23 | <h2>Supportersclub KCVV Elewijt</h2> |
||
24 | </header> |
||
25 | <main> |
||
26 | <p>Lalala tekst enz...</p> |
||
27 | </main> |
||
28 | <footer> |
||
29 | <GatsbyImage |
||
30 | image={{ |
||
31 | ...affiche.childImageSharp.gatsbyImageData, |
||
32 | }} |
||
33 | alt="Spaghettislag KCVV Ultra's 55" |
||
34 | /> |
||
35 | </footer> |
||
36 | </div> |
||
37 | </Layout> |
||
38 | ) |
||
39 | } |
||
40 | } |
||
41 | |||
42 | export const pageQuery = graphql` |
||
43 | query { |
||
44 | affiche: file(name: { eq: "spaghetti" }) { |
||
45 | ...KCVVFullWidth |
||
46 | } |
||
47 | } |
||
48 | ` |
||
49 | |||
50 | export default SpaghettiPage |
||
51 |