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

feat: Switch to Ethical Ads #522

Merged
merged 4 commits into from Feb 9, 2024
Merged

feat: Switch to Ethical Ads #522

merged 4 commits into from Feb 9, 2024

Conversation

nzakas
Copy link
Member

@nzakas nzakas commented Feb 7, 2024

Prerequisites checklist

What is the purpose of this pull request?

Switches our ad to Ethical Ads from Carbon Ads.

What changes did you make? (Give an overview)

Migrated the site code to use Ethical Ads. Due to #520, this change is only visible on the homepage but will be visible on all pages once that is fixed.

We'll also need to duplicate this on the docs site.

Related Issues

Is there anything you'd like reviewers to focus on?

Copy link

netlify bot commented Feb 7, 2024

Deploy Preview for new-eslint ready!

Name Link
🔨 Latest commit 1fcc1cd
🔍 Latest deploy log https://app.netlify.com/sites/new-eslint/deploys/65c6604b2609b00008584c36
😎 Deploy Preview https://deploy-preview-522--new-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 7, 2024

Deploy Preview for zh-hans-eslint ready!

Name Link
🔨 Latest commit 1fcc1cd
🔍 Latest deploy log https://app.netlify.com/sites/zh-hans-eslint/deploys/65c6604bf0d4e500083ee943
😎 Deploy Preview https://deploy-preview-522--zh-hans-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 7, 2024

Deploy Preview for es-eslint ready!

Name Link
🔨 Latest commit 1fcc1cd
🔍 Latest deploy log https://app.netlify.com/sites/es-eslint/deploys/65c6604b0f1d0200087b0d81
😎 Deploy Preview https://deploy-preview-522--es-eslint.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 7, 2024

Deploy Preview for fr-eslint ready!

Name Link
🔨 Latest commit 1fcc1cd
🔍 Latest deploy log https://app.netlify.com/sites/fr-eslint/deploys/65c6604b81123c0008f95d4c
😎 Deploy Preview https://deploy-preview-522--fr-eslint.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 7, 2024

Deploy Preview for hi-eslint ready!

Name Link
🔨 Latest commit 1fcc1cd
🔍 Latest deploy log https://app.netlify.com/sites/hi-eslint/deploys/65c6604b0f1d0200087b0d78
😎 Deploy Preview https://deploy-preview-522--hi-eslint.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 7, 2024

Deploy Preview for pt-br-eslint ready!

Name Link
🔨 Latest commit 1fcc1cd
🔍 Latest deploy log https://app.netlify.com/sites/pt-br-eslint/deploys/65c6604b0f1d0200087b0d7c
😎 Deploy Preview https://deploy-preview-522--pt-br-eslint.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 7, 2024

Deploy Preview for de-eslint ready!

Name Link
🔨 Latest commit 1fcc1cd
🔍 Latest deploy log https://app.netlify.com/sites/de-eslint/deploys/65c6604bf0d4e500083ee941
😎 Deploy Preview https://deploy-preview-522--de-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 7, 2024

Deploy Preview for ja-eslint ready!

Name Link
🔨 Latest commit 1fcc1cd
🔍 Latest deploy log https://app.netlify.com/sites/ja-eslint/deploys/65c6604a81123c0008f95d48
😎 Deploy Preview https://deploy-preview-522--ja-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@harish-sethuraman
Copy link
Member

Have duplicated the same in eslint repo eslint/eslint#18090

@nzakas nzakas marked this pull request as ready for review February 8, 2024 22:05
Comment on lines -44 to -45
serve: CESDV2QM
placement: eslintorg
Copy link
Member

Choose a reason for hiding this comment

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

should we consider doing the same here? keep serve and placement?

Comment on lines 138 to 143

// [data-ea-publisher].loaded .ea-content a:hover,
// [data-ea-type].loaded .ea-content a:hover {
// text-decoration: none;
// color: var(--link-color);
// }
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// [data-ea-publisher].loaded .ea-content a:hover,
// [data-ea-type].loaded .ea-content a:hover {
// text-decoration: none;
// color: var(--link-color);
// }

similar to the other PR

@mdjermanovic
Copy link
Member

This switches ads on eslint.org only. Shall we do the same for translation sites (e.g., es.eslint.org) as well?

@nzakas
Copy link
Member Author

nzakas commented Feb 9, 2024

@mdjermanovic yes, just needed to verify that it was okay to put the ads there, and it is.

Copy link
Member

@harish-sethuraman harish-sethuraman left a comment

Choose a reason for hiding this comment

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

LGTM

@nzakas nzakas merged commit fe8bb96 into main Feb 9, 2024
37 checks passed
@nzakas nzakas deleted the ethical-ads branch February 9, 2024 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

None yet

4 participants