Skip to content

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

Merged
processprocess merged 11 commits intoampproject:mainfrom
processprocess:shopping-attachment-cta
Nov 3, 2021
Merged

✨ Render page level CTA when amp-story-shopping-attachment exists#36721
processprocess merged 11 commits intoampproject:mainfrom
processprocess:shopping-attachment-cta

Conversation

@processprocess
Copy link
Copy Markdown
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
Copy Markdown

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