Skip to content

Commit

Permalink
feat: add grayscale and title to sponsors (#6)
Browse files Browse the repository at this point in the history
* fix:block map scrolling without ctrl/cmd key pressed

* feat: add image to blogs page(i dont like it at all)

* fix: change mentors layout

* feat:hover sponsors shows the title

* feat:add grayscale to logos and title on hover
  • Loading branch information
RazvanBalota authored Jan 24, 2024
1 parent 294ccb2 commit 1d5096b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Sponsor.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ import { sponsors } from "../data";
sponsors.map((sponsor) => (
<a
href={sponsor.link}
class="text-center"
class="text-center flex flex-col items-center gap-y-2"
title={sponsor.sponsor}
>
<img
class={`col-span-2 w-full object-contain lg:col-span-1 ${
class={`col-span-2 w-full object-contain lg:col-span-1 grayscale hover:grayscale-0 transition-colors ${
sponsor.height ? sponsor.height : "max-h-20"
}`}
src={sponsor.image}
Expand Down

0 comments on commit 1d5096b

Please sign in to comment.