diff --git a/cypress/e2e/english/landing/i18n.cy.ts b/cypress/e2e/english/landing/i18n.cy.ts index 548c7a29..8c452e78 100644 --- a/cypress/e2e/english/landing/i18n.cy.ts +++ b/cypress/e2e/english/landing/i18n.cy.ts @@ -157,5 +157,9 @@ describe('Landing i18n (Hashnode sourced)', () => { .should('not.equal', 'footer.links.copyright') .should('have.attr', 'href') .should('equal', 'https://www.freecodecamp.org/news/copyright-policy/'); + cy.get("span[data-test-label='powered-by']").should( + 'contain.text', + 'Publication powered by Hashnode' + ); }); }); diff --git a/src/_includes/assets/css/screen.css b/src/_includes/assets/css/screen.css index 6ee65be6..da70cdc3 100644 --- a/src/_includes/assets/css/screen.css +++ b/src/_includes/assets/css/screen.css @@ -2091,8 +2091,10 @@ p.footer-donation a:hover { justify-content: center; } -.footer-bottom .our-nonprofit a { +.footer-bottom .our-nonprofit a, +.footer-bottom .our-nonprofit span { padding: 5px 10px; + font-size: 14px; } @media (min-width: 500px) { @@ -2110,7 +2112,8 @@ p.footer-donation a:hover { font-size: 16.5; } - .footer-bottom .our-nonprofit a { + .footer-bottom .our-nonprofit a, + .footer-bottom .our-nonprofit span { padding: 5px; } } diff --git a/src/_includes/partials/footer.njk b/src/_includes/partials/footer.njk index ebf64afe..dd11ec40 100644 --- a/src/_includes/partials/footer.njk +++ b/src/_includes/partials/footer.njk @@ -235,6 +235,11 @@