You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "shahar1 (via GitHub)" <gi...@apache.org> on 2025/12/27 18:43:06 UTC
Re: [PR] Improve dark mode toggling and color constrast [airflow-site]
shahar1 commented on code in PR #1355:
URL: https://github.com/apache/airflow-site/pull/1355#discussion_r2649271673
##########
landing-pages/site/layouts/partials/boxes/testimonial.html:
##########
@@ -20,9 +20,15 @@
{{ $title := .title }}
<div class="card">
<div class="box-event box-event__use-cases hoverable-icon">
- <div class="box-event__use-cases--testimonial--logo">
+ <div class="box-event__use-cases--testimonial--logo logo-{{ $title | urlize }}">
{{ with .logo }}
- <img src="/usecase-logos/{{ . }}" alt="{{ $title }} logo" />
+ <img class="logo-default" src="/usecase-logos/{{ . }}" alt="{{ $title }} logo" />
+ {{ end }}
+ {{ if eq $title "RancherBySUSE" }}
+ <img class="logo-dark-mode" src="/usecase-logos/rancher-suse-white.svg" alt="{{ $title }} logo" />
+ {{ end }}
+ {{ if eq $title "Sift" }}
+ <img class="logo-dark-mode" src="/usecase-logos/sift_logo_white.svg" alt="{{ $title }} logo" />
{{ end }}
Review Comment:
I'm aware that it's quite hardcodish - I prefer to deal with it later, if and when we manage to add more testimonials :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org