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

Make the ad CTA a button #401

Merged
merged 2 commits into from
Oct 12, 2024
Merged

Make the ad CTA a button #401

merged 2 commits into from
Oct 12, 2024

Conversation

davidfischer
Copy link
Contributor

Note: this only applies to the sidebar or (non fixed) footer ad. My idea here was to test it out and see how this performs before rolling it out on the EA styled ads. Any feedback before rolling it out is also valuable.

Screenshot

Screenshot from 2024-10-10 15-36-51

@davidfischer davidfischer requested review from humitos and a team as code owners October 10, 2024 22:39
@humitos
Copy link
Member

humitos commented Oct 11, 2024

My idea here was to test it out and see how this performs before rolling it out on the EA styled ads.

This CSS code won't be required here once it's rolled out in the EA styles?

Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Is there a way to test it? I understand the server needs to return an ad with the "Try it out" text now.

Reminder: we need to re-build the assets before merging. I can do that if you don't want to create the environment.

@davidfischer
Copy link
Contributor Author

This CSS code won't be required here once it's rolled out in the EA styles?

Correct. This is just for the RTD styles.

Is there a way to test it? I understand the server needs to return an ad with the "Try it out" text now.

This should be testable as-is. No server changes are required. This is purely a stylistic change. If there's no CTA on the ad, it won't display a button but we already bold the CTA and this just makes it a button instead.

I've committed the built assets.

@humitos
Copy link
Member

humitos commented Oct 12, 2024

This should be testable as-is. No server changes are required.

Ah, cool! I asked because I wasn't receiving any ad with this button.

I checked today, and I got one. It works fine to me.

Screenshot_2024-10-12_14-46-28

@humitos humitos merged commit 26b1078 into main Oct 12, 2024
4 checks passed
@humitos humitos deleted the davidfischer/cta-as-button branch October 12, 2024 12:47
@humitos
Copy link
Member

humitos commented Oct 12, 2024

Ups... I just saw this broken ad:

Screenshot_2024-10-12_14-59-26

It seems like a missing closing HTML element 😄

@ericholscher
Copy link
Member

@davidfischer is this from the ad having broken HTML? 🤔

@davidfischer
Copy link
Contributor Author

@davidfischer is this from the ad having broken HTML? 🤔

I fixed up this individual ad. The advertiser had kind of messed this up and put a CTA with a typo in there (no space between config. and More)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants