Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/novagaia/gatsby-plugin-appointlet
https://github.com/novagaia/gatsby-plugin-appointlet
appointlet gatsby gatsby-plugin
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/novagaia/gatsby-plugin-appointlet
- Owner: NovaGaia
- License: mit
- Created: 2022-04-17T19:14:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-22T09:17:56.000Z (about 2 years ago)
- Last Synced: 2024-12-21T19:46:58.537Z (about 2 months ago)
- Topics: appointlet, gatsby, gatsby-plugin
- Language: JavaScript
- Homepage:
- Size: 2.01 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# gatsby-plugin-appointlet
Gatsby plugin Appointlet Button for adding your booking page to your website.
![License](https://img.shields.io/github/license/NovaGaia/gatsby-plugin-appointlet?style=flat-square)
![Version](https://img.shields.io/npm/v/gatsby-plugin-appointlet?style=flat-square)
![Gatsby Version](https://img.shields.io/npm/dependency-version/gatsby-plugin-appointlet/peer/gatsby?style=flat-square)
![React Version](https://img.shields.io/github/package-json/dependency-version/NovaGaia/gatsby-plugin-appointlet/peer/react?style=flat-square)### Changelog
**More informations in [`CHANGELOG.md`](https://github.com/NovaGaia/gatsby-plugin-appointlet/blob/main/CHANGELOG.md)**
## Installation
Use this commmand `npm i --save gatsby-plugin-appointlet` or `yarn install gatsby-plugin-appointlet`
## Configuration
Add an env var named `GATSBY_APPOINTLET_URL` = e.g. https://appointlet.link/your-scheduling-page
## Usage
```javascript
// In your gatsby-config.js
module.exports = {
plugins: [
... other plugins
`gatsby-plugin-appointlet`,
... other plugins
],
}
```Add import to your file :
`import { AppointletButton } from 'gatsby-plugin-appointlet'`
Add component to your file :
```javascript
Prenez rendez-vous```
You can set the type of component when you set the `tag` attribute. By default, the component is a `button`.
Every attributes set will be add to `AppointletButton`|`button`.