import React from 'react'; import Helmet from 'react-helmet'; import Markdown from 'react-markdown'; import { graphql } from 'gatsby'; import Layout from '../components/layout'; import EventWidget from '../components/event-widget'; import Markdownify from '../components/markdownify'; import '../css/imports/collab.css'; const CommunityPage = ({ data }) => { const { title, headline, subhead, primarycta, upcomingevent, howitworks, howtojoin, } = data.markdownRemark.frontmatter; return (

{upcomingevent.hook}

How it works

How to join

); }; export const pageQuery = graphql` query communityPage { markdownRemark(fileAbsolutePath: { regex: "/community/" }) { frontmatter { headline subhead primarycta upcomingevent { hook } howitworks howtojoin } } } `; export default CommunityPage;