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

✨ Render page level CTA when amp-story-shopping-attachment exists #36721

Merged

Conversation

processprocess
Copy link
Contributor

@processprocess processprocess commented Nov 2, 2021

Adds amp-story-shopping-attachment to list of elements that need a CTA button rendered.
Adds visual test for default and dark theme.
Adds example for dark theme.

Fixes #36697

@processprocess processprocess marked this pull request as ready for review November 2, 2021 20:37
@amp-owners-bot
Copy link

amp-owners-bot bot commented Nov 2, 2021

Hey @gmajoulet, @newmuis! These files were changed:

extensions/amp-story/1.0/amp-story-page.js

@processprocess processprocess merged commit 76380b7 into ampproject:main Nov 3, 2021
@processprocess processprocess deleted the shopping-attachment-cta branch November 3, 2021 20:37
rileyajones pushed a commit to rileyajones/amphtml that referenced this pull request Nov 4, 2021
…pproject#36721)

* Add shopping attachment to list of attachment elements with CTA UI.

* Add visual test

* Remove whitespace

* Use amp-story-draggable-drawer-root

* Add dark theme page to example.

* Update ID

* use shopping attachment.

* remove empty space

* Update diff path.
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.

[amp story shopping] Build shopping CTA
3 participants