Skip to content

Commit

Permalink
Merge pull request #101 from codigoencasa/docs/quick
Browse files Browse the repository at this point in the history
Docs/quick
  • Loading branch information
leifermendez authored Apr 2, 2024
2 parents 7fe7113 + a67ab60 commit 74f2509
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ env:
on:
push:
branches:
- master
- prod
jobs:
install:
runs-on: ubuntu-latest
Expand Down
9 changes: 9 additions & 0 deletions src/components/mdx.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ export const Image = function Img(props) {
)
}

export function Video(props) {
return (
<div className='my-6 bg-gray-100 rounded-2xl dark:bg-zinc-800'>
{props?.label ? <div className="flex py-1 flex-wrap items-start gap-x-4 px-4 dark:border-zinc-800 dark:bg-transparent"><h3 className="mr-auto m-0 text-xs font-thin">{props.label}</h3></div> : <></> }
<iframe width="800" className='rounded-2xl ' height="450" src={'https://www.youtube.com/embed/'+props.yt} title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />
</div>
)
}

function InfoIcon(props) {
return (
<svg viewBox="0 0 16 16" aria-hidden="true" {...props}>
Expand Down
3 changes: 3 additions & 0 deletions src/pages/en/providers/meta/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ The [WhatsApp Business Platform](https://business.whatsapp.com/products/business
You can get more information about deploying a [Meta Bot](/deploy/meta)
</Warning>

## Video

If you are one of those people who prefer to watch videos, here is a short tutorial on how to implement the Meta base.
<Video label="Video Meta Provider" yt="armCpc_cue0"/>
---

You must create a new application. To do this, click on the **Create application** button.
Expand Down

0 comments on commit 74f2509

Please sign in to comment.