Skip to content

Commit d5e11bf

Browse files
committed
docs: clarify purpose and examples
1 parent 5f2db28 commit d5e11bf

File tree

7 files changed

+12
-8
lines changed

7 files changed

+12
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"bugs": {
66
"url": "https://github.com/pyrax/react-netlify-forms/issues"
77
},
8-
"description": "Netlify Forms as components and hook with default form handlers.",
8+
"description": "React components and hooks giving you the power of Netlify Forms. Start building serverless forms on Netlify with React.",
99
"keywords": [
1010
"react",
1111
"netlify",

www/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<h1 style="display:none;">react-netlify-forms</h1>
44

5-
> Netlify Forms as components and hook with default form handlers. Honeypot fields and reCAPTCHA are included as ready-to-use components.
5+
> React components and hooks giving you the power of Netlify Forms. Start building serverless forms on Netlify with React. Honeypot fields and reCAPTCHA are included as ready-to-use components.
66
77
[![NPM](https://img.shields.io/npm/v/react-netlify-forms.svg)](https://www.npmjs.com/package/react-netlify-forms) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
88

@@ -16,7 +16,7 @@
1616

1717
## Features
1818

19-
Why should you use react-netlify-forms?
19+
It gives you all the features of Netlify Forms as simple and **reusable** React components which have been tested on Netlify.
2020

2121
- Default form handlers with support for file uploads.
2222
- Spam prevention through included honeypot and reCAPTCHA components.

www/gatsby-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
pathPrefix: `/react-netlify-forms`,
77
siteMetadata: {
88
title: `react-netlify-forms`,
9-
description: `Netlify Forms as components and hook with default form handlers.`,
9+
description: `React components and hooks giving you the power of Netlify Forms. Start building serverless forms on Netlify with React.`,
1010
author: `Pyrax`
1111
},
1212
plugins: [

www/src/pages/examples/contact-form.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ Then, you can use the `NetlifyForm` component in place of the standard form tag.
3232
)}
3333
{error && (
3434
<p sx={{ variant: 'alerts.muted', p: 3 }}>
35-
Sorry, we could not reach our servers. Please try again later.
35+
Sorry, we could not reach servers. Because it only works on Netlify,
36+
our GitHub demo does not provide a response.
3637
</p>
3738
)}
3839
<div>

www/src/pages/examples/formik.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ function NewsletterForm() {
7272
)}
7373
{netlify.error && (
7474
<p sx={{ variant: 'alerts.muted', p: 3 }}>
75-
Sorry, we could not reach our servers. Please try again later.
75+
Sorry, we could not reach servers. Because it only works on Netlify,
76+
our GitHub demo does not provide a response.
7677
</p>
7778
)}
7879
<div>

www/src/pages/examples/react-hook-form.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ function NewsletterForm() {
5252
)}
5353
{netlify.error && (
5454
<p sx={{ variant: 'alerts.muted', p: 3 }}>
55-
Sorry, we could not reach our servers. Please try again later.
55+
Sorry, we could not reach servers. Because it only works on Netlify,
56+
our GitHub demo does not provide a response.
5657
</p>
5758
)}
5859
<div>

www/src/pages/examples/recaptcha.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ Then, you can use the `NetlifyForm` component in place of the standard form tag.
4343
)}
4444
{error && (
4545
<p sx={{ variant: 'alerts.muted', p: 3 }}>
46-
Sorry, we could not reach our servers. Please try again later.
46+
Sorry, we could not reach servers. Because it only works on Netlify,
47+
our GitHub demo does not provide a response.
4748
</p>
4849
)}
4950
<div>

0 commit comments

Comments
 (0)