seo update for graphiql-online (#857)

This commit is contained in:
Praveen Durairaj 2018-10-26 08:28:51 +05:30 committed by Shahidh K Muhammed
parent e437604f57
commit 7fa6203b4f
3 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,8 @@
## GraphiQL Demo ## GraphiQL Demo
This version of GraphiQL is a fork of the original version with a simple header management UI and a fix for subscription. This version of GraphiQL is a fork of the original version with a simple header management UI.
You can access it live here - https://graphiql-online.com
## Usage of Environment Variables ## Usage of Environment Variables

View File

@ -35,7 +35,10 @@ class ApiExplorer extends Component {
return ( return (
<div className={'container-fluid ' + styles.padd_remove}> <div className={'container-fluid ' + styles.padd_remove}>
<Helmet title="GraphiQL" /> <Helmet
title="GraphiQL Online with Headers | Built by Hasura"
description="An online version of GraphiQL. Manage headers easily. Test your GraphQL servers."
/>
<div className={wrapperClass}>{requestWrapper}</div> <div className={wrapperClass}>{requestWrapper}</div>
</div> </div>
); );

View File

@ -1,5 +1,6 @@
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import Helmet from 'react-helmet';
import './App.css'; import './App.css';
import { updateGraphQLEndpoint } from '../ApiExplorer/Actions'; import { updateGraphQLEndpoint } from '../ApiExplorer/Actions';
@ -15,6 +16,10 @@ class LoginComponent extends React.Component {
const { dispatch } = this.props; const { dispatch } = this.props;
return ( return (
<div className="loginWrapper"> <div className="loginWrapper">
<Helmet
title="GraphiQL Online with Headers | Built by Hasura"
description="An online version of GraphiQL. Manage headers easily. Test your GraphQL servers."
/>
<h2 className="loginHeading"> Online GraphiQL </h2> <h2 className="loginHeading"> Online GraphiQL </h2>
<div className="login"> <div className="login">
<div> <div>