Skip to content

Commit

Permalink
docs: seo
Browse files Browse the repository at this point in the history
  • Loading branch information
lodev09 committed Apr 28, 2024
1 parent d41100c commit e855a32
Show file tree
Hide file tree
Showing 18 changed files with 37 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/docs/guides/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"position": 4,
"link": {
"type": "generated-index",
"description": "Guides on how to use True Sheet on your React Native app."
"description": "Guides on how to use True Native Bottom Sheet on your React Native app."
}
}
3 changes: 2 additions & 1 deletion docs/docs/guides/dimming/dimming.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Dimming
description: Control the sheet's dimming behavior.
description: Control the bottom sheet's dimming behavior.
keywords: Bottom Sheet Dimming, Bottom Sheet background, React Native Bottom Sheet, Bottom Sheet documentation
---

import dimming from './dimming.gif'
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/guides/footer.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Adding Footer
description: Add a floating Footer component to the sheet.
description: Add a floating footer component to the bottom sheet.
keywords: Bottom Sheet footer, React Native Bottom Sheet, Bottom Sheet documentation
---

Do you need a FAB (Floating Action Button) on the sheet? Or perhaps a small banner at the bottom? We've got you covered!
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/guides/global-methods.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Global Methods
description: Methods that you can access anywhere in your App!
description: Bottom sheet's global methods that you can invoke from anywhere.
keywords: Bottom Sheet global methods, React Native Bottom Sheet, Bottom Sheet documentation
---

`TrueSheet` relies heavily on [component methods](/reference/methods) to present and dismiss the sheet. However, this becomes challenging when the button is deep within the component tree.
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/guides/jest.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Setup Jest
description: Mocking TrueShet with Jest.
description: Mocking the bottom sheet component using Jest.
keywords: Bottom Sheet jest, React Native Bottom Sheet, Bottom Sheet documentation
---

When using `jest`, simply mock the entire package.
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/guides/resizing/resizing.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Resizing
description: Programmatically resize the sheet and listen for size changes.
description: Programmatically resize the bottom sheet and listen for size changes.
keywords: Bottom Sheet resizing, React Native Bottom Sheet, Bottom Sheet documentation
---

import resizing from './resizing.gif'
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/guides/scrolling.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Scrolling
description: Handle scrollable content when using TrueSheet.
description: Handle scrolling content within the bottom sheet.
keywords: Bottom Sheet scrolling, React Native Bottom Sheet, Bottom Sheet documentation
---

Scrolling content within the sheet requires some special configuration on both iOS and Android. Let's admit, some things just don't work out of the box.
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/guides/stacking/stacking.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Stacking
description: Guide on how to present sheet on top of an existing sheet.
description: Guide on how to present bottom sheet on top of an existing sheet.
keywords: Bottom Sheet stacking, React Native Bottom Sheet, Bottom Sheet documentation
---

import stacking from './stacking.gif'
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/guides/troubleshooting.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Troubleshooting
description: Fix common issues when using TrueSheet.
description: Fix common issues when using True Native Bottom Sheet.
keywords: Bottom Sheet troubleshooting, React Native Bottom Sheet, Bottom Sheet documentation
---

### Using `react-native-gesture-handler` on **Android**
Expand Down
2 changes: 2 additions & 0 deletions docs/docs/install.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
sidebar_position: 2
description: Installation of the React Native True Bottom Sheet component.
keywords: Bottom Sheet installation, React Native Bottom Sheet, Bottom Sheet documentation
---

# Installation
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/reference/01-props.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Props
description: TrueSheet props.
description: True Native Bottom Sheet component props.
keywords: Bottom Sheet Props, React Native Bottom Sheet, Bottom Sheet documentation
---

Props available for `TrueSheet`. Extends `ViewProps`.
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/reference/02-methods.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Methods
description: TrueSheet methods.
description: True Native Bottom Sheet component methods.
keywords: Bottom Sheet methods, React Native Bottom Sheet, Bottom Sheet documentation
---

## Component Methods
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/reference/03-types.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Types
description: TrueSheet type reference.
description: True Native Bottom Sheet type reference.
keywords: Bottom Sheet types, React Native Bottom Sheet, Bottom Sheet documentation
---

## `SheetSize`
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/reference/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"label": "Reference",
"position": 5,
"link": {
"type": "generated-index"
"type": "generated-index",
"description": "True Native Bottom Sheet API reference."
}
}
2 changes: 2 additions & 0 deletions docs/docs/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
sidebar_position: 3
description: How to use the React Native True Bottom Sheet component.
keywords: Bottom Sheet usage, React Native Bottom Sheet, Bottom Sheet documentation
---

# Usage
Expand Down
7 changes: 3 additions & 4 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type * as Preset from '@docusaurus/preset-classic'
// import pkg from '../package.json'

const config: Config = {
title: 'React Native True Sheet',
title: 'True Native Bottom Sheet',
tagline: 'The true native bottom sheet experience for your React Native Apps.',
favicon: 'img/favicon.png',
url: 'https://sheet.lodev09.com',
Expand Down Expand Up @@ -113,12 +113,11 @@ const config: Config = {
metadata: [
{
name: 'author',
content: 'Marc Rousavy',
content: 'Jovanni Lo',
},
{
name: 'keywords',
content:
'react, native, sheet, bottom-sheet, react-native, react-native-bottom-sheet, react-native-true-sheet, TrueSheet, True Sheet, Bottom Sheet, documentation, coding, docs, guides, lodev09, jovanni',
content: 'Bottom Sheet, Pure Native Bottom Sheet, React Native Bottom Sheet',
},
{
name: 'og:title',
Expand Down
4 changes: 4 additions & 0 deletions docs/static/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Allow: /

Sitemap: https://sheet.lodev09.com/sitemap.xml
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"type": "git",
"url": "git+https://github.com/lodev09/react-native-true-sheet.git"
},
"author": "lodev09 <[email protected]> (https://github.com/lodev09)",
"author": "Jovanni Lo <[email protected]> (https://github.com/lodev09)",
"license": "MIT",
"bugs": {
"url": "https://github.com/lodev09/react-native-true-sheet/issues"
Expand Down

0 comments on commit e855a32

Please sign in to comment.