From 0f8f89933edeaa19859eeff15e178c0a65598333 Mon Sep 17 00:00:00 2001 From: Nicolas Froidure Date: Thu, 18 Jan 2018 09:46:34 +0100 Subject: [PATCH] feat(Mailing List): Improve the mailing list visibility --- pages/index.js | 153 ++++++++++++++++++++++++++----------------------- 1 file changed, 81 insertions(+), 72 deletions(-) diff --git a/pages/index.js b/pages/index.js index cf3ccd7..2c6f573 100644 --- a/pages/index.js +++ b/pages/index.js @@ -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 = () => ( - -

Sencrop Developer Platform

-

- 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. -

-

- 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. -

-

- Wondering what the hell is Sencrop? - Check out our corporate - website. -

-

- If you are new to the Sencrop API, you may - want a quick - introduction to our API usage. -

-

- Also, you can directly check - our API - reference - for a more direct appraoch. -

-

- Finally, if you use Swagger and/or JavaScript you may - find interest in our open-source - tools. -

-

- We wish you an exciting journey through the - Sencrop world! Feel free - to contact - us if you have any question! -

-

- PS: This website source can be found - on GitHub, -

-

Developer Mailing List

-
- -

Keep informed on our API evolutions:

- - -
-
-) - -export default Index +export default class Index extends React.Component { + render() { + return +

Sencrop Developer Platform

+

+ 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 mailing list}> { + e.preventDefault(); + this.refs.email.focus(); + }}>mailing list and we will + do our best to take in count your use of + the API in future developments. +

+

+ 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. +

+

+ Wondering what the hell is Sencrop? + Check out our corporate + website. +

+

+ If you are new to the Sencrop API, you may + want a quick + introduction to our API usage. +

+

+ Also, you can directly check + our API + reference + for a more direct appraoch. +

+

+ Finally, if you use Swagger and/or JavaScript you may + find interest in our open-source + tools. +

+

+ We wish you an exciting journey through the + Sencrop world! Feel free + to contact + us if you have any question! +

+

+ PS: This website source can be found + on GitHub, +

+

Developer Mailing List

+
+ +

Keep informed on our API evolutions:

+ + +
+
; + } +}