Community Plugin
View plugin on GitHub

gatsby-plugin-appointlet

Gatsby plugin Appointlet Button for adding your booking page to your website.

License Version Gatsby Version React Version

Changelog

More informations in 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

// 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 :

<AppointletButton tag="div" className="btn btn-primary gap-2">
  <FaCalendarCheck />
  <span>Prenez rendez-vous</span>
</AppointletButton>

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.

© 2022 Gatsby, Inc.