Skip to content

Commit

Permalink
Jsdelivr: update sponsors (#686)
Browse files Browse the repository at this point in the history
* Add new sponsor svg - Render

* About: replace Render's img

* LandingTop: upd render's img

* Sponsors: upd render's img, fix styles

* Sponsors: rm old render's img

* LandingTop: rm old render's img

* Sponsors: rm macarne

* Sponsrs: rm unused styles

* Sponsors: rm macarne's svg
  • Loading branch information
xbpcb authored Sep 25, 2024
1 parent af62667 commit 2e80f26
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 103 deletions.
Binary file removed src/assets/img/landing/render.png
Binary file not shown.
Binary file removed src/assets/img/landing/[email protected]
Binary file not shown.
77 changes: 0 additions & 77 deletions src/assets/img/sponsors/macarne.svg

This file was deleted.

9 changes: 9 additions & 0 deletions src/assets/img/sponsors/render-black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/img/sponsors/render.png
Binary file not shown.
Binary file removed src/assets/img/sponsors/[email protected]
Binary file not shown.
13 changes: 8 additions & 5 deletions src/assets/less/pages/sponsors.less
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,14 @@
height: 30px;
}
}

&.render {
height: 30px;

@media (min-width: 576px) {
height: 40px;
}
}
}

.sp-text {
Expand All @@ -303,11 +311,6 @@
}

&.row-gold .sp-item {
&.auto-height {
min-height: 272px;
height: auto;
}

@media (min-width: @screen-lg-min) {
height: 272px;
}
Expand Down
5 changes: 2 additions & 3 deletions src/views/components/landing-top.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,9 @@ <h3>over {{_.formatBytesWithUnit(networkStats.bandwidth.total, 'TB')}}</h3>

<div class="sponsors-logos_item">
<a target="_blank" rel="noopener noreferrer" href="https://render.com/">
<img width="186"
<img width="262"
height="50"
src="{{@shared.assetsHost}}/img/landing/render.png"
srcset="{{@shared.assetsHost}}/img/landing/[email protected] 2x"
src="{{@shared.assetsHost}}/img/sponsors/render-black.svg"
title="Sponsored by render.com">
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/views/pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,9 @@ <h2 class="about-header">Our Sponsors</h2>
loading="lazy"/>
</div>
<div class="about-sponsors_row_cell">
<img width="184"
<img width="209"
height="40"
src="{{@shared.assetsHost}}/img/about/render.svg"
src="{{@shared.assetsHost}}/img/sponsors/render-black.svg"
loading="lazy"/>
</div>

Expand Down
17 changes: 1 addition & 16 deletions src/views/pages/sponsors.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h3 class="sp-header platinum-header" id="platinum">PLATINUM</h3>

<div class="sp-item">
<div class="sp">
<img class="sp-img" width="224" height="60" src="{{@shared.assetsHost}}/img/sponsors/render.png" srcset="{{@shared.assetsHost}}/img/sponsors/[email protected] 2x">
<img class="sp-img render" width="157" height="30" src="{{@shared.assetsHost}}/img/sponsors/render-black.svg">

<div class="sp-text">
Main hosting provider for jsDelivr related websites and APIs.
Expand Down Expand Up @@ -197,21 +197,6 @@ <h3 class="sp-header gold-header" id="gold">GOLD</h3>
</a>
</div>
</div>

<div class="sp-item auto-height">
<div class="sp">
<img class="sp-img" width="217" height="60" src="{{@shared.assetsHost}}/img/sponsors/macarne.svg" loading="lazy">

<div class="sp-text">
In a world where every millisecond counts, Macarne LLC stands as the unparalleled champion of hosting solutions tailored for the gaming industry.
</div>

<a target="_blank" rel="noopener noreferrer" href="https://macarne.com" class="sp-link">
<img width="20" height="20" src="{{@shared.assetsHost}}/img/icons/share.svg">
macarne.com
</a>
</div>
</div>
</div>

<h3 class="sp-header bronze-header" id="bronze">BRONZE</h3>
Expand Down

0 comments on commit 2e80f26

Please sign in to comment.