Skip to content

Commit

Permalink
sponsors: handle light/dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmk committed Oct 9, 2024
1 parent bf43316 commit b2393d7
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
21 changes: 21 additions & 0 deletions images/sponsors/coderabbit-logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 10 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,16 @@ <h3>Drop-in Vim</h3>
<h2 id="sponsors-header">Sponsors</h2>
<div id="sponsors" class="sponsors-main">
<p>
<a href="https://coderabbit.ai/"><img width="300" class="img-fluid" src="images/sponsors/coderabbit-logo.svg" title="Visit https://coderabbit.ai to learn more." alt="Visit https://coderabbit.ai to learn more."/></a>
<a href="https://coderabbit.ai/">
<picture title="Visit https://coderabbit.ai to learn more." alt="Visit https://coderabbit.ai to learn more.">
<!-- light mode: -->
<source srcset="images/sponsors/coderabbit-logo.svg" media="(prefers-color-scheme: light)"/>
<!-- dark mode: -->
<source srcset="images/sponsors/coderabbit-logo-dark.svg" media="(prefers-color-scheme: dark)"/>
<!-- no color preference: -->
<img width="300" class="img-fluid" src="images/sponsors/coderabbit-logo.svg">
</picture>
</a>
</p>
<p>
<a href="https://www.warp.dev/?utm_source=github&utm_medium=referral&utm_campaign=neovim_20231211"><img width="300" class="img-fluid" src="images/sponsors/warp-300px.png" title="Visit warp.dev to learn more." alt="Visit warp.dev to learn more."/>
Expand Down

0 comments on commit b2393d7

Please sign in to comment.