Skip to content

Commit

Permalink
fix: remove vimeo examples (#1460)
Browse files Browse the repository at this point in the history
* fix: remove vimeo example

* fix: remove vimeo

* fix: remove embedded vimeo

* chore: format

---------

Co-authored-by: Eric Garcia <eng618@garciaericn.com>
  • Loading branch information
alisonjoseph and eng618 committed May 23, 2024
1 parent 867fbb1 commit 73db2e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 21 deletions.
16 changes: 6 additions & 10 deletions packages/example/src/pages/components/Video/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ The `<Video>` component can render a Vimeo player or a html video player.

## Example

<Title>Vimeo</Title>

<Video title="Carbon homepage video" vimeoId="359578263" />

<Title>Video</Title>

<Video src="/videos/hero-video.mp4" poster="/images/poster.png">
Expand All @@ -35,12 +31,6 @@ The `<Video>` component can render a Vimeo player or a html video player.

## Code

<Title>Vimeo</Title>

```mdx path=components/Video/Video.js src=https://github.com/carbon-design-system/gatsby-theme-carbon/tree/main/packages/gatsby-theme-carbon/src/components/Video
<Video title="Carbon homepage video" vimeoId="322021187" />
```

<Title>Video</Title>

```mdx path=components/Video/Video.js src=https://github.com/carbon-design-system/gatsby-theme-carbon/tree/main/packages/gatsby-theme-carbon/src/components/Video
Expand All @@ -63,6 +53,12 @@ import localPoster from './local-poster.jpg';
<Video src={localVideo} poster={localPoster} />
```

<Title>Vimeo</Title>

```mdx path=components/Video/Video.js src=https://github.com/carbon-design-system/gatsby-theme-carbon/tree/main/packages/gatsby-theme-carbon/src/components/Video
<Video title="Carbon homepage video" vimeoId="322021187" />
```

### Props

| property | propType | required | default | description |
Expand Down
4 changes: 0 additions & 4 deletions packages/example/src/pages/demo/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,3 @@ gangway rutters.
## Images

![Large blocky illustration](../../images/large-image.jpg)

## Videos

<Video title="Eyes" vimeoId="310583077" />
10 changes: 3 additions & 7 deletions packages/example/src/pages/getting-started/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,9 @@ site.

## 👀 Watch a newbie try it out

This is a demo of a new Carbon team member spinning up a Gatsby Theme Carbon
site while following the steps listed above. To forward through the
introduction, play from min `3:50`.

<div style={{ border: '1px solid #c6c6c6' }}>
<Video title="Gatsby Theme Carbon Site Demo" vimeoId="437931932" />
</div>
This is a [demo of a new Carbon team member spinning up a Gatsby Theme Carbon
site](https://player.vimeo.com/video/437931932 while following the steps listed
above. To forward through the introduction, play from min `3:50`.

## 🔍 What’s in here?

Expand Down

0 comments on commit 73db2e9

Please sign in to comment.