-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Mailing List): Improve the mailing list visibility
- Loading branch information
Showing
1 changed file
with
81 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,84 @@ | ||
import Link from 'next/link' | ||
import Layout from '../components/Layout' | ||
import NoSSR from 'react-no-ssr'; | ||
import ReactDOM from 'react-dom' | ||
import React from 'react' | ||
|
||
const Index = () => ( | ||
<Layout title={ 'Bring super powers to farmers!' } description={ | ||
`Welcome to the Sencrop Developer Platform! | ||
Build new farming practices by using our API!`.replace(/\n/, '') | ||
} home> | ||
<h1>Sencrop Developer Platform</h1> | ||
<p><strong> | ||
Warning: Our API is currently in a very | ||
early state. Using it right now implies | ||
acknowledging you want to be an early | ||
adopter and you accept we will do lots | ||
of changes in a non backward compatible | ||
way. | ||
</strong></p> | ||
<p> | ||
Welcome on board! At Sencrop, we love | ||
developers. This platform's goal is | ||
intended to bring you everything you | ||
need to invent tomorrow's farming | ||
practices. | ||
</p> | ||
<p> | ||
Wondering what the hell is Sencrop? | ||
Check out our <a | ||
href="http://sencrop.com/en/">corporate | ||
website</a>. | ||
</p> | ||
<p> | ||
If you are new to the Sencrop API, you may | ||
want a <Link href="/guide"><a>quick | ||
introduction</a></Link> to our API usage. | ||
</p> | ||
<p> | ||
Also, you can directly check | ||
our <Link href="/reference"><a>API | ||
reference</a></Link> | ||
for a more direct appraoch. | ||
</p> | ||
<p> | ||
Finally, if you use Swagger and/or JavaScript you may | ||
find interest in our <Link href="/tools"><a>open-source | ||
tools</a></Link>. | ||
</p> | ||
<p> | ||
We wish you an exciting journey through the | ||
Sencrop world! Feel free | ||
to <a href="https://sencrop.typeform.com/to/XzDjNC">contact | ||
us</a> if you have any question! | ||
</p> | ||
<p> | ||
PS: This website source can be found | ||
on <a href="https://github.com/sencrop/sencrop-developer-platform" | ||
>GitHub</a>, | ||
</p> | ||
<h2>Developer Mailing List</h2> | ||
<form method="post" action="https://evomedia.us3.list-manage.com/subscribe/post?u=c993ab1c009fbcbc61dea24cd&id=b7ef162deb" target="_blank"> | ||
<div style={{ | ||
position: 'absolute', | ||
left: '-5000px' | ||
}} | ||
aria-hidden="true" | ||
> | ||
<input type="text" name="b_c993ab1c009fbcbc61dea24cd_b7ef162deb" tabIndex="-1" value="" /> | ||
</div> | ||
<p>Keep informed on our API evolutions:</p> | ||
<label>Email: <input type="email" autoCapitalize="none" autoCorrect="off" name="EMAIL" placeholder="dennis.richie@heaven.org" required="required" /></label> | ||
<input type="submit" name="subscribe" value="Subscribe" /> | ||
</form> | ||
</Layout> | ||
) | ||
|
||
export default Index | ||
export default class Index extends React.Component { | ||
render() { | ||
return <Layout title={ 'Bring super powers to farmers!' } description={ | ||
`Welcome to the Sencrop Developer Platform! | ||
Build new farming practices by using our API!`.replace(/\n/, '') | ||
} home> | ||
<h1>Sencrop Developer Platform</h1> | ||
<p><strong> | ||
Warning: Our API is currently in an | ||
early state and may change. Using it | ||
right now implies acknowledging some | ||
changes may be done in a non backward | ||
compatible way. To keep informed of | ||
those changes, please subscribe to | ||
our <NoSSR onSSR={<span>mailing list</span>}><a href="#mailing_list" onClick={(e) => { | ||
e.preventDefault(); | ||
this.refs.email.focus(); | ||
}}>mailing list</a></NoSSR> and we will | ||
do our best to take in count your use of | ||
the API in future developments. | ||
</strong></p> | ||
<p> | ||
Welcome on board! At Sencrop, we love | ||
developers. This platform's goal is | ||
intended to bring you everything you | ||
need to invent tomorrow's farming | ||
practices. | ||
</p> | ||
<p> | ||
Wondering what the hell is Sencrop? | ||
Check out our <a | ||
href="http://sencrop.com/en/">corporate | ||
website</a>. | ||
</p> | ||
<p> | ||
If you are new to the Sencrop API, you may | ||
want a <Link href="/guide"><a>quick | ||
introduction</a></Link> to our API usage. | ||
</p> | ||
<p> | ||
Also, you can directly check | ||
our <Link href="/reference"><a>API | ||
reference</a></Link> | ||
for a more direct appraoch. | ||
</p> | ||
<p> | ||
Finally, if you use Swagger and/or JavaScript you may | ||
find interest in our <Link href="/tools"><a>open-source | ||
tools</a></Link>. | ||
</p> | ||
<p> | ||
We wish you an exciting journey through the | ||
Sencrop world! Feel free | ||
to <a href="https://sencrop.typeform.com/to/XzDjNC">contact | ||
us</a> if you have any question! | ||
</p> | ||
<p> | ||
PS: This website source can be found | ||
on <a href="https://github.com/sencrop/sencrop-developer-platform" | ||
>GitHub</a>, | ||
</p> | ||
<h2 id="mailing_list">Developer Mailing List</h2> | ||
<form method="post" action="https://evomedia.us3.list-manage.com/subscribe/post?u=c993ab1c009fbcbc61dea24cd&id=b7ef162deb" target="_blank"> | ||
<div style={{ | ||
position: 'absolute', | ||
left: '-5000px' | ||
}} | ||
aria-hidden="true" | ||
> | ||
<input type="text" ref="email" name="b_c993ab1c009fbcbc61dea24cd_b7ef162deb" tabIndex="-1" value="" /> | ||
</div> | ||
<p>Keep informed on our API evolutions:</p> | ||
<label>Email: <input type="email" autoCapitalize="none" autoCorrect="off" name="EMAIL" placeholder="dennis.richie@heaven.org" required="required" id="mailing_list_email" /></label> | ||
<input type="submit" name="subscribe" value="Subscribe" /> | ||
</form> | ||
</Layout>; | ||
} | ||
} |