Skip to content

Commit

Permalink
šŸ› fix broken link to Preact/React component section in various README (ā€¦
Browse files Browse the repository at this point in the history
  • Loading branch information
dmanek committed Oct 1, 2021
1 parent 5fa6495 commit e484f7f
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 28 deletions.
2 changes: 1 addition & 1 deletion extensions/amp-accordion/1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ content sections. This component provides a way for viewers to glance at the
content outline and jump to any section. Effective use reduces scrolling needs
on mobile devices.

Use Bento Accordion as a web component ([`<bento-accordion>`](#web-component)), or a Preact/React functional component ([`<BentoAccordion>`](#preact/react-component)).
Use Bento Accordion as a web component ([`<bento-accordion>`](#web-component)), or a Preact/React functional component ([`<BentoAccordion>`](#preactreact-component)).

- A Bento Accordion accepts one or more `<section>` elements as its direct
children.
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-base-carousel/1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Usage

A generic carousel for displaying multiple similar pieces of content along a horizontal or vertical axis. Use Bento Carousel as a web component [`<bento-base-carousel>`](#web-component), or a Preact/React functional component [`<BentoBaseCarousel>`](#preact/react-Component).
A generic carousel for displaying multiple similar pieces of content along a horizontal or vertical axis. Use Bento Carousel as a web component [`<bento-base-carousel>`](#web-component), or a Preact/React functional component [`<BentoBaseCarousel>`](#preactreact-component).

Each of the Bento Carousel componentā€™s immediate children is considered an
item in the carousel. Each of these nodes may also have arbitrary children.
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-embedly-card/1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Behavior

The Bento Embedly Card component provides you with responsive and shareable embeds to drive the reach of your websites,
blog posts, and articles from any URL using [Embedly cards](http://docs.embed.ly/docs/cards). Use it as a web component [`<bento-embedly-card>`](#web-component), or a Preact/React functional component [`<BentoEmbedlyCard>`](#preact/react-Component).
blog posts, and articles from any URL using [Embedly cards](http://docs.embed.ly/docs/cards). Use it as a web component [`<bento-embedly-card>`](#web-component), or a Preact/React functional component [`<BentoEmbedlyCard>`](#preactreact-component).

Cards are the easiest way to leverage Embedly. For any media, cards provide a responsive embed with built-in embed analytics.

Expand Down
7 changes: 2 additions & 5 deletions extensions/amp-facebook/0.1/amp-facebook.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ The URL of the Facebook post/video/comment. For example, a post or video will
look like `https://www.facebook.com/zuck/posts/10102593740125791`. A comment or
comment reply will look like
`https://www.facebook.com/zuck/posts/10102735452532991?comment_id=1070233703036185`.
For comments, see the Facebook documentation on
[how to get a comment's URL](https://developers.facebook.com/docs/plugins/embedded-comments#how-to-get-a-comments-url).

### `data-embed-as`

Expand All @@ -66,9 +64,8 @@ This is not to be confused with
[`amp-facebook-comments`](https://amp.dev/documentation/examples/components/amp-facebook-comments/).

Check out the documentation for differences between
[post embeds](https://developers.facebook.com/docs/plugins/embedded-posts),
[video embeds](https://developers.facebook.com/docs/plugins/embedded-video-player),
and [comment embeds](https://developers.facebook.com/docs/plugins/embedded-comments).
[post embeds](https://developers.facebook.com/docs/plugins/embedded-posts) and
[video embeds](https://developers.facebook.com/docs/plugins/embedded-video-player).

### `data-include-comment-parent`

Expand Down
8 changes: 1 addition & 7 deletions extensions/amp-facebook/1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ teaser:

## Usage

The Bento Facebook component allows you to embed a Facebook post, a Facebook video, or a comment on a Facebook post. It can be used as a web component [`<bento-facebook>`](#web-component), or as a Preact/React functional component [`<BentoFacebook>`](#preact/react-component).
The Bento Facebook component allows you to embed a Facebook post, a Facebook video, or a comment on a Facebook post. It can be used as a web component [`<bento-facebook>`](#web-component), or as a Preact/React functional component [`<BentoFacebook>`](#preactreact-component).

### Web Component

Expand Down Expand Up @@ -164,8 +164,6 @@ The URL of the Facebook post/video/comment. For example, a post or video will
look like `https://www.facebook.com/zuck/posts/10102593740125791`. A comment or
comment reply will look like
`https://www.facebook.com/zuck/posts/10102735452532991?comment_id=1070233703036185`.
For comments, see the Facebook documentation on
[how to get a comment's URL](https://developers.facebook.com/docs/plugins/embedded-comments#how-to-get-a-comments-url).

##### `data-embed-as`

Expand All @@ -186,7 +184,6 @@ The `page` value embeds any public facebook page.
Check out the documentation for differences between
[post embeds](https://developers.facebook.com/docs/plugins/embedded-posts),
[video embeds](https://developers.facebook.com/docs/plugins/embedded-video-player),
[comment embeds](https://developers.facebook.com/docs/plugins/embedded-comments),
[like embeds](https://developers.facebook.com/docs/plugins/like-button),
and [page embeds](https://developers.facebook.com/docs/plugins/page-plugin).

Expand Down Expand Up @@ -333,8 +330,6 @@ The URL of the Facebook post/video/comment. For example, a post or video will
look like `https://www.facebook.com/zuck/posts/10102593740125791`. A comment or
comment reply will look like
`https://www.facebook.com/zuck/posts/10102735452532991?comment_id=1070233703036185`.
For comments, see the Facebook documentation on
[how to get a comment's URL](https://developers.facebook.com/docs/plugins/embedded-comments#how-to-get-a-comments-url).

##### `embedAs`

Expand All @@ -355,7 +350,6 @@ The `page` value embeds any public facebook page.
Check out the documentation for differences between
[post embeds](https://developers.facebook.com/docs/plugins/embedded-posts),
[video embeds](https://developers.facebook.com/docs/plugins/embedded-video-player),
[comment embeds](https://developers.facebook.com/docs/plugins/embedded-comments),
[like embeds](https://developers.facebook.com/docs/plugins/like-button),
and [page embeds](https://developers.facebook.com/docs/plugins/page-plugin).

Expand Down
7 changes: 2 additions & 5 deletions extensions/amp-facebook/amp-facebook.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ The URL of the Facebook post/video/comment. For example, a post or video will
look like `https://www.facebook.com/zuck/posts/10102593740125791`. A comment or
comment reply will look like
`https://www.facebook.com/zuck/posts/10102735452532991?comment_id=1070233703036185`.
For comments, see the Facebook documentation on
[how to get a comment's URL](https://developers.facebook.com/docs/plugins/embedded-comments#how-to-get-a-comments-url).

### `data-embed-as`

Expand All @@ -72,9 +70,8 @@ This is not to be confused with
[`amp-facebook-comments`](https://amp.dev/documentation/examples/components/amp-facebook-comments/).

Check out the documentation for differences between
[post embeds](https://developers.facebook.com/docs/plugins/embedded-posts),
[video embeds](https://developers.facebook.com/docs/plugins/embedded-video-player),
and [comment embeds](https://developers.facebook.com/docs/plugins/embedded-comments).
[post embeds](https://developers.facebook.com/docs/plugins/embedded-posts) and
[video embeds](https://developers.facebook.com/docs/plugins/embedded-video-player).

### `data-include-comment-parent`

Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-fit-text/1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Usage

Expands or shrinks its font size to fit the content within the space given to it. Use Bento Fit Text as a web component [`<bento-fit-text>`](#web-component), or a Preact/React functional component [`<BentoFitText>`](#preact/react-Component).
Expands or shrinks its font size to fit the content within the space given to it. Use Bento Fit Text as a web component [`<bento-fit-text>`](#web-component), or a Preact/React functional component [`<BentoFitText>`](#preactreact-component).

The Bento Fit Text component allows you to manage the size and fit of text within a specified area. For content contained in a Bento Fit Text component, it determines the best font size to fit all of the content within the available space. The expected content for Bento Fit Text is text or other inline content, but it can also contain non-inline content.

Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-sidebar/1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The Bento Sidebar provides a way to display meta content intended for temporary access such as navigation, links, buttons, menus. The sidebar can be revealed by a button tap while the main content remains visually underneath.

Use Bento Sidebar as a web component [`<bento-sidebar>`](#web-component), or a Preact/React functional component [`<BentoSidebar>`](#preact/react-Component).
Use Bento Sidebar as a web component [`<bento-sidebar>`](#web-component), or a Preact/React functional component [`<BentoSidebar>`](#preactreact-component).

### Web Component

Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-soundcloud/1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Usage

The Bento Soundcloud component allows you to embed a Soundcloud clip. Use it as a web component [`<bento-soundcloud>`](#web-component), or a Preact/React functional component [`<BentoSoundcloud>`](#preact/react-Component).
The Bento Soundcloud component allows you to embed a Soundcloud clip. Use it as a web component [`<bento-soundcloud>`](#web-component), or a Preact/React functional component [`<BentoSoundcloud>`](#preactreact-component).

### Web Component

Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-stream-gallery/1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Bento Stream Gallery is for displaying multiple similar pieces of content at a time along a horizontal axis. To implement a more customized UX, see
[`bento-base-carousel`](../../amp-base-carousel/1.0/README.md).

Use Bento Stream Gallery as a web component ([`<bento-stream-gallery>`](#web-component)), or a Preact/React functional component ([`<BentoStreamGallery>`](#preact/react-component)).
Use Bento Stream Gallery as a web component ([`<bento-stream-gallery>`](#web-component)), or a Preact/React functional component ([`<BentoStreamGallery>`](#preactreact-component)).

### Web Component

Expand Down
4 changes: 2 additions & 2 deletions extensions/amp-twitter/1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Behavior

The Bento Twitter component allows you to embed a Tweet or Moment. Use it as a web component [`<bento-twitter>`](#web-component), or a Preact/React functional component [`<BentoTwitter>`](#preact/react-Component).
The Bento Twitter component allows you to embed a Tweet or Moment. Use it as a web component [`<bento-twitter>`](#web-component), or a Preact/React functional component [`<BentoTwitter>`](#preactreact-component).

### Web Component

Expand Down Expand Up @@ -208,7 +208,7 @@ Valid timeline source types include <code>profile</code>, <code>likes</code>, <c
</tr>
<tr>
<td width="40%"><strong>options (optional)</strong></td>
<td>You can specify options for the Tweet, Moment, or Timeline appearance by passing in an object to the <code>options</code> prop.
<td>You can specify options for the Tweet, Moment, or Timeline appearance by passing in an object to the <code>options</code> prop.
For details on the available options, see Twitter's docs <a href="https://developer.twitter.com/en/docs/twitter-for-websites/embedded-tweets/guides/embedded-tweet-parameter-reference">for tweets</a>, <a href="https://developer.twitter.com/en/docs/twitter-for-websites/moments/guides/parameter-reference0">for moments</a> and <a href="https://developer.twitter.com/en/docs/twitter-for-websites/timelines/guides/parameter-reference">for timelines</a>. Note: When passing in the `options` prop, make sure to optimize or memoize the object:
<code>
const TWITTER_OPTIONS = {
Expand Down
4 changes: 2 additions & 2 deletions extensions/amp-wordpress-embed/1.0/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Bento Wordpress Embed
# Bento WordPress Embed

## Usage

An iframe displaying the [excerpt](https://make.wordpress.org/core/2015/10/28/new-embeds-feature-in-wordpress-4-4/) of a WordPress post or page. Use Bento Wordpress Embed as a web component [`<bento-wordpress-embed>`](#web-component), or a Preact/React functional component [`<BentoWordPressEmbed>`](#preact/react-Component).
An iframe displaying the [excerpt](https://make.wordpress.org/core/2015/10/28/new-embeds-feature-in-wordpress-4-4/) of a WordPress post or page. Use Bento WordPress Embed as a web component [`<bento-wordpress-embed>`](#web-component), or a Preact/React functional component [`<BentoWordPressEmbed>`](#preactreact-component).

### Web Component

Expand Down

0 comments on commit e484f7f

Please sign in to comment.