Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bento documentation for amp-date-countdown #32256

Merged
merged 6 commits into from
Jan 27, 2021
Merged

Conversation

nainar
Copy link
Contributor

@nainar nainar commented Jan 27, 2021

Add Bento documentation for amp-date-countdown

Bento docs for amp-date-countdown
@nainar
Copy link
Contributor Author

nainar commented Jan 27, 2021

@CrystalOnScript or @caroqliu for review. Thank you!

extensions/amp-date-countdown/amp-date-countdown.md Outdated Show resolved Hide resolved
</template>
</amp-date-countdown>
<div class="buttons" style="margin-top: 8px;">
<button id="ar-button">Change locale to Arabic</button>
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like amp-date-countdown doesn't support Arabic: https://amp.dev/documentation/components/amp-date-countdown/?format=websites#locale-(optional) please replace here and in the click event with a new value.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed!

extensions/amp-date-countdown/amp-date-countdown.md Outdated Show resolved Hide resolved
extensions/amp-date-countdown/amp-date-countdown.md Outdated Show resolved Hide resolved
Comment on lines +121 to +122
layout="fixed-height"
height="50">
Copy link
Contributor

Choose a reason for hiding this comment

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

@dvoytenko This sample complains when you remove layout and height FYI

Copy link
Contributor

Choose a reason for hiding this comment

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

(We should remove them if we can btw)

nainar and others added 2 commits January 27, 2021 13:39
Co-authored-by: Caroline Liu <10456171+caroqliu@users.noreply.github.com>
extensions/amp-date-countdown/amp-date-countdown.md Outdated Show resolved Hide resolved
Comment on lines +121 to +122
layout="fixed-height"
height="50">
Copy link
Contributor

Choose a reason for hiding this comment

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

(We should remove them if we can btw)

nainar and others added 3 commits January 27, 2021 13:46
Co-authored-by: Caroline Liu <10456171+caroqliu@users.noreply.github.com>
@nainar nainar merged commit 781f4dc into master Jan 27, 2021
PetrBlaha pushed a commit to PetrBlaha/amphtml that referenced this pull request Jan 28, 2021
* Bento docs for amp-date-countdown

Bento docs for amp-date-countdown

* Apply suggestions from code review

Co-authored-by: Caroline Liu <10456171+caroqliu@users.noreply.github.com>

* Fix copy pasta errors

* Update extensions/amp-date-countdown/amp-date-countdown.md

Co-authored-by: Caroline Liu <10456171+caroqliu@users.noreply.github.com>

* Travis pliss pass

* prettify

Co-authored-by: Caroline Liu <10456171+caroqliu@users.noreply.github.com>
@rsimha rsimha deleted the amp-date-countdown-bento branch March 1, 2021 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants