{"size": 387, "ext": "js", "max_stars_repo_path": "community/sample-apps/react-static-graphql/src/pages/index.js", "max_stars_repo_name": "gh-oss-contributor/graphql-engine-1", "max_stars_repo_stars_event_min_datetime": "2018-07-10T09:22:08.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T18:26:49.000Z", "max_issues_repo_path": "community/sample-apps/react-static-graphql/src/pages/index.js", "max_issues_repo_name": "gh-oss-contributor/graphql-engine-1", "max_issues_repo_issues_event_min_datetime": "2018-07-10T08:31:19.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T18:07:44.000Z", "max_forks_repo_path": "community/sample-apps/react-static-graphql/src/pages/index.js", "max_forks_repo_name": "gh-oss-contributor/graphql-engine-1", "max_forks_repo_forks_event_min_datetime": "2018-07-10T09:21:30.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-31T16:00:06.000Z"}
{"max_stars_count": 27416, "max_issues_count": 7682, "max_forks_count": 2753, "avg_line_length": 38.7, "max_line_length": 190, "alphanum_fraction": 0.7105943152}
import React from 'react'
import { withSiteData } from 'react-static'

export default withSiteData(() => (
  <div style={{ textAlign: 'center' }}>
    <h1>Welcome to React-Static</h1>
    <p>This demo integrates <a href="https://github.com/hasura/graphql-engine">Hasura GraphQL Engine</a> and allows you to generate static sites with your Postgres database using GraphQL</p>
  </div>
))
