Skip to content

Commit

Permalink
docs: 📝 Fix links and update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed May 13, 2022
1 parent e268638 commit ddaaa68
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
12 changes: 6 additions & 6 deletions apps/docs/docs/embed/javascript-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_position: 4

# Javascript library

Typebot Javascript library is open-source ([check out the repository](https://github.com/typebot-io/typebot-js)). Feel free to contribute if you're a developer and wish to improve its features.
Typebot Javascript library is open-source ([check out the repository](https://github.com/baptisteArno/typebot.io/tree/main/packages/typebot-js)). Feel free to contribute if you're a developer and wish to improve its features.

Whenever a typebot is embedded on your website, you have access to commands to automatically trigger actions on your embedding depending on its type.

Expand All @@ -15,11 +15,11 @@ Whenever a typebot is embedded on your website, you have access to commands to a
You can use these commands:

```js
Typebot.getPopupActions().open();
Typebot.getPopupActions().open()
```

```js
Typebot.getPopupActions().close();
Typebot.getPopupActions().close()
```

You can bind these commands on a button element, for example:
Expand All @@ -35,7 +35,7 @@ You can bind these commands on a button element, for example:
You can use this command:

```js
Typebot.getBubbleActions().openProactiveMessage();
Typebot.getBubbleActions().openProactiveMessage()
```

You can bind this command on a button element, for example:
Expand All @@ -51,11 +51,11 @@ You can bind this command on a button element, for example:
You can use these commands:

```js
Typebot.getBubbleActions().open();
Typebot.getBubbleActions().open()
```

```js
Typebot.getBubbleActions().close();
Typebot.getBubbleActions().close()
```

You can bind these commands on a button element, for example:
Expand Down
5 changes: 2 additions & 3 deletions apps/docs/docs/embed/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You can choose to embed your typebot in 3 different ways.

## Standard

Embeds the typebot in a box with the size of your choice. This type is used at the top of [Typebot's homepage](https://www.typebot.io/)
Embeds the typebot in a box with the size of your choice anywhere on your app. This is what is used on Typebot homepage:

<img src="/img/embeddings/standard.png" alt="Standard"/>

Expand All @@ -22,7 +22,6 @@ Embeds the typebot in a Popup that overlays your website. It can be triggered af

## Bubble

Embeds the typebot as a "chat bubble" at the bottom right corner of your site. Can be triggered automatically or with a click. It can also come with a "proactive message". An example can be found in [Typebot's pricing page](https://www.typebot.io/pricing)
Embeds the typebot as a "chat bubble" at the bottom right corner of your site. Can be triggered automatically or with a click. It can also come with a "proactive message".

<img src="/img/embeddings/bubble1.png" alt="Bubble 1" width="600px"/>
<img src="/img/embeddings/bubble2.png" alt="Bubble 2" width="600px"/>
Binary file modified apps/docs/static/img/embeddings/bubble1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/docs/static/img/embeddings/bubble2.png
Binary file not shown.
Binary file modified apps/docs/static/img/embeddings/standard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/wordpress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "wordpress",
"version": "2.1.8",
"main": "index.js",
"repository": "https://github.com/typebot-io/wordpress.git",
"repository": "https://github.com/baptisteArno/typebot.io",
"author": "baptisteArno",
"license": "AGPL-3.0-or-later",
"devDependencies": {
Expand Down

5 comments on commit ddaaa68

@vercel
Copy link

@vercel vercel bot commented on ddaaa68 May 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

builder-v2-git-main-typebot-io.vercel.app
builder-v2-typebot-io.vercel.app
app.typebot.io

@vercel
Copy link

@vercel vercel bot commented on ddaaa68 May 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./apps/docs

docs.typebot.io
docs-typebot-io.vercel.app
docs-git-main-typebot-io.vercel.app

@vercel
Copy link

@vercel vercel bot commented on ddaaa68 May 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on ddaaa68 May 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.