text: import React, { Component } from "react"
  import { graphql } from "gatsby"
  
  import Layout from '../components/layout'
  
  
  // <div className="grid gap col-2-1">
  //             <h1 className="page-title">{StaticPage.title}</h1>
  //             <div className="excerpt" dangerouslySetInnerHTML={{ __html: StaticPage.excerpt }} />
  //           </div>
  //           <div dangerouslySetInnerHTML={{ __html: StaticPage.content }} />
  
  
  class Page extends Component {
    render() {
      const StaticPage = this.props.data.wordpressPage
  
      return (
        <>
          <Layout>
  
            <section id="wrapper">
              <header>
                <div className="inner">
                  <h2>{StaticPage.title}</h2>
                  <div dangerouslySetInnerHTML={{ __html: StaticPage.excerpt }}></div>
                </div>
              </header>
  
              {/* <!-- Content --> */}
                <div className="wrapper">
                  <div className="inner" dangerouslySetInnerHTML={{ __html: StaticPage.content }} />
                  {/* <div className="inner">
                    <h3 className="major">Lorem ipsum dolor</h3>
                    <p>Morbi mattis mi consectetur tortor elementum, varius pellentesque velit convallis. Aenean tincidunt lectus auctor mauris maximus, ac scelerisque ipsum tempor. Duis vulputate ex et ex tincidunt, quis lacinia velit aliquet. Duis non efficitur nisi, id malesuada justo. Maecenas sagittis felis ac sagittis semper. Curabitur purus leo donec vel dolor at arcu tincidunt bibendum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Fusce ut aliquet justo. Donec id neque ipsum. Integer eget ultricies odio. Nam vel ex a orci fringilla tincidunt. Aliquam eleifend ligula non velit accumsan cursus. Etiam ut gravida sapien.</p>
  
                    <p>Vestibulum ultrices risus velit, sit amet blandit massa auctor sit amet. Sed eu lectus sem. Phasellus in odio at ipsum porttitor mollis id vel diam. Praesent sit amet posuere risus, eu faucibus lectus. Vivamus ex ligula, tempus pulvinar ipsum in, auctor porta quam. Proin nec commodo, vel scelerisque nisi scelerisque. Suspendisse id quam vel tortor tincidunt suscipit. Nullam auctor orci eu dolor consectetur, interdum ullamcorper ante tincidunt. Mauris felis nec felis elementum varius.</p>
  
                    <h3 className="major">Vitae phasellus</h3>
                    <p>Cras mattis ante fermentum, malesuada neque vitae, eleifend erat. Phasellus non pulvinar erat. Fusce tincidunt, nisl eget mattis egestas, purus ipsum consequat orci, sit amet lobortis lorem lacus in tellus. Sed ac elementum arcu. Quisque placerat auctor laoreet.</p>
  
                    <section className="features">
                      <article>
                        <a href="#" className="image"><img src="images/pic04.jpg" alt="" /></a>
                        <h3 className="major">Sed feugiat lorem</h3>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing vehicula id nulla dignissim dapibus ultrices.</p>
                        <a href="#" className="special">Learn more</a>
                      </article>
                      <article>
                        <a href="#" className="image"><img src="images/pic05.jpg" alt="" /></a>
                        <h3 className="major">Nisl placerat</h3>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing vehicula id nulla dignissim dapibus ultrices.</p>
                        <a href="#" className="special">Learn more</a>
                      </article>
                    </section> */}
  
                </div>
              </section>
          </Layout>
        </>
      )
    }
  }
  
  export default Page
  
  export const pageQuery = graphql`
    query($id: String!) {
      wordpressPage(id: { eq: $id }) {
        title
        excerpt
        content
      }
      site {
        id
        siteMetadata {
          title
        }
      }
    }
  `
  