Skip to content

Commit

Permalink
fix: some sponsors without background
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Oct 10, 2024
1 parent a69cc87 commit 895327c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/sponsors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ pub fn Sponsors() -> impl IntoView {
description="Evento de tecnología, cinco días con más de 150 charlas y talleres de tecnología, divulgación científica y una gran variedad de temas."
/>
<SponsorCard
image_bg_color="none"
name="Testing Bolivia"
link="https://testingbolivia.com"
image=format!("{assets_folder}/sponsors/testingbolivia.svg")
image=format!("{assets_folder}/sponsors/testingbolivia.png")
description="Evento de tecnología, Hablemos de QA y Testing, su importancia dentro de las empresas y mucho mas."
/>
</div>
Expand All @@ -109,6 +110,7 @@ pub fn SponsorCard(
let colors = HashMap::from([
("white", "bg-white dark:bg-white text-black dark:text-black"),
("black", "bg-black text-white dark:text-black"),
("none", "text-white dark:text-black"),
]);
let current_color = (*colors.get(&image_bg_color).unwrap()).to_string();

Expand Down

0 comments on commit 895327c

Please sign in to comment.