Skip to content

Commit 0e3570e

Browse files
committed
chore(docs): small updates
1 parent 98a9081 commit 0e3570e

File tree

4 files changed

+24
-11
lines changed

4 files changed

+24
-11
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
> 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.
44
5-
[![NPM](https://flat.badgen.net/npm/v/react-netlify-forms)](https://www.npmjs.com/package/react-netlify-forms)
6-
[![minzipped package size](https://flat.badgen.net/bundlephobia/minzip/react-netlify-forms)](https://www.npmjs.com/package/react-netlify-forms)
7-
[![JavaScript Style Guide](https://flat.badgen.net/badge/code%20style/standard/f2a)](https://standardjs.com)
8-
[![License](https://flat.badgen.net/github/license/Pyrax/react-netlify-forms)](https://github.com/Pyrax/react-netlify-forms/blob/master/LICENSE.md)
5+
[![NPM Version](https://img.shields.io/npm/v/react-netlify-forms)](https://www.npmjs.com/package/react-netlify-forms)
6+
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/react-netlify-forms)](http://bundlephobia.com/package/react-netlify-forms)
7+
[![Checked with Biome](https://img.shields.io/badge/Checked_with-Biome-60a5fa?&logo=biome)](https://biomejs.dev)
98

109
[Go to documentation with live demo.](https://pyrax.github.io/react-netlify-forms)
1110

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
2-
title: Page Not Found
2+
title: "Page not found (404)"
33
description: The page you're looking for doesn't exist
4+
tableOfContents: false
45
---
56

6-
# Page Not Found
7-
87
Requested page does not exist. Please check your path.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Examples for using react-netlify-forms
3+
sidebar:
4+
hidden: true
5+
---
6+
7+
import { LinkCard, CardGrid } from '@astrojs/starlight/components';
8+
9+
<CardGrid>
10+
<LinkCard title="Basic" description="Simple contact form to get started without any dependencies" href="/examples/contact-form/" />
11+
<LinkCard title="reCAPTCHA" description="Using reCAPTCHA to prevent spam" href="/examples/recaptcha/" />
12+
<LinkCard title="Formik" description="Building a newsletter signup form with Formik" href="/examples/formik/" />
13+
<LinkCard title="react-hook-form" description="Building a newsletter signup form with react-hook-form" href="/examples/react-hook-form/" />
14+
</CardGrid>

packages/docs/src/content/docs/index.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ import { Aside, Tabs, TabItem } from '@astrojs/starlight/components'
1111

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

14-
[![NPM](https://flat.badgen.net/npm/v/react-netlify-forms)](https://www.npmjs.com/package/react-netlify-forms)
15-
[![minzipped package size](https://flat.badgen.net/bundlephobia/minzip/react-netlify-forms)](https://www.npmjs.com/package/react-netlify-forms)
16-
[![JavaScript Style Guide](https://flat.badgen.net/badge/code%20style/standard/f2a)](https://standardjs.com)
17-
[![License](https://flat.badgen.net/github/license/Pyrax/react-netlify-forms)](https://github.com/Pyrax/react-netlify-forms/blob/master/LICENSE.md)
14+
<ul style="display: inline-flex; list-style-type: none; gap: .25rem; align-items: flex-end;">
15+
<li>[![NPM Version](https://img.shields.io/npm/v/react-netlify-forms)](https://www.npmjs.com/package/react-netlify-forms)</li>
16+
<li>[![npm bundle size](https://img.shields.io/bundlephobia/minzip/react-netlify-forms)](http://bundlephobia.com/package/react-netlify-forms)</li>
17+
<li>[![Checked with Biome](https://img.shields.io/badge/Checked_with-Biome-60a5fa?&logo=biome)](https://biomejs.dev)</li>
18+
</ul>
1819

1920
</center>
2021

0 commit comments

Comments
 (0)