This is an automated email from the ASF dual-hosted git repository. rusackas pushed a commit to branch docs/add-netlify-ci-badge in repository https://gitbox.apache.org/repos/asf/superset.git
commit 3447a4abb61ae84d0938f298cdf314da79c0eed7 Author: Evan Rusackas <[email protected]> AuthorDate: Mon Jan 26 10:38:42 2026 -0800 docs: add Netlify to CI services footer and improve layout Update the docs homepage footer to acknowledge both CI services: - Applitools for visual testing - Netlify for deploy previews Changes: - Rename footer section from "We use [Applitools]" to "CI powered by" - Add Netlify logo with link to netlify.com - Improve layout with flexbox for better alignment - Add hover effects and consistent spacing - Update responsive styles for mobile Co-Authored-By: Claude Opus 4.5 <[email protected]> --- docs/docusaurus.config.ts | 6 ++-- docs/i18n/en/docusaurus-theme-classic/footer.json | 2 +- docs/src/styles/main.less | 38 +++++++++++++++++++--- docs/static/img/netlify.svg | Bin 0 -> 4081 bytes 4 files changed, 38 insertions(+), 8 deletions(-) diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index 320299e7c60..c364131a3c0 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -473,8 +473,10 @@ const config: Config = { footer: { links: [], copyright: ` - <div class="footer__applitools"> - We use <a href="https://applitools.com/" target="_blank" rel="nofollow"><img src="/img/applitools.png" title="Applitools" /></a> + <div class="footer__ci-services"> + <span>CI powered by</span> + <a href="https://applitools.com/" target="_blank" rel="nofollow"><img src="/img/applitools.png" alt="Applitools" title="Applitools - Visual Testing" /></a> + <a href="https://www.netlify.com/" target="_blank" rel="nofollow"><img src="/img/netlify.svg" alt="Netlify" title="Netlify - Deploy Previews" /></a> </div> <p>Copyright © ${new Date().getFullYear()}, The <a href="https://www.apache.org/" target="_blank" rel="noreferrer">Apache Software Foundation</a>, diff --git a/docs/i18n/en/docusaurus-theme-classic/footer.json b/docs/i18n/en/docusaurus-theme-classic/footer.json index 4602bfa823c..4e813d8ebb9 100644 --- a/docs/i18n/en/docusaurus-theme-classic/footer.json +++ b/docs/i18n/en/docusaurus-theme-classic/footer.json @@ -1,6 +1,6 @@ { "copyright": { - "message": "\n <div class=\"footer__applitools\">\n We use <a href=\"https://applitools.com/\" target=\"_blank\" rel=\"nofollow\"><img src=\"/img/applitools.png\" title=\"Applitools\" /></a>\n </div>\n <p>Copyright © 2024,\n The <a href=\"https://www.apache.org/\" target=\"_blank\" rel=\"noreferrer\">Apache Software Foundation</a>,\n Licensed under the Apache <a href=\"https://apache.org/licenses/LICENSE-2.0\" target=\"_bl [...] + "message": "\n <div class=\"footer__ci-services\">\n <span>CI powered by</span>\n <a href=\"https://applitools.com/\" target=\"_blank\" rel=\"nofollow\"><img src=\"/img/applitools.png\" alt=\"Applitools\" title=\"Applitools - Visual Testing\" /></a>\n <a href=\"https://www.netlify.com/\" target=\"_blank\" rel=\"nofollow\"><img src=\"/img/netlify.svg\" alt=\"Netlify\" title=\"Netlify - Deploy Previews\" /></a>\n </div>\n <p>C [...] "description": "The footer copyright" } } diff --git a/docs/src/styles/main.less b/docs/src/styles/main.less index 01bd472bb0a..56d6d006cc1 100644 --- a/docs/src/styles/main.less +++ b/docs/src/styles/main.less @@ -226,17 +226,36 @@ a > span > svg { font-size: 15px; } -.footer__applitools { +.footer__ci-services { background-color: #0d3e49; color: #e1e1e1; position: absolute; top: 0; left: 0; width: 100%; - padding: 16px 0; + padding: 12px 0; + display: flex; + align-items: center; + justify-content: center; + gap: 16px; + + span { + font-size: 13px; + opacity: 0.85; + } + + a { + display: inline-flex; + align-items: center; + transition: opacity 0.2s; + + &:hover { + opacity: 0.8; + } + } img { - height: 34px; + height: 28px; } } @@ -252,7 +271,16 @@ a > span > svg { } @media only screen and (max-width: 996px) { - .footer__applitools img { - height: 28px; + .footer__ci-services { + gap: 12px; + padding: 10px 16px; + + span { + font-size: 12px; + } + + img { + height: 22px; + } } } diff --git a/docs/static/img/netlify.svg b/docs/static/img/netlify.svg new file mode 100644 index 00000000000..5fb327b9d1c Binary files /dev/null and b/docs/static/img/netlify.svg differ
