-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch opencollective images to self-hosted spritesheet (#4318)
* Generate sprite sheets from opencollective avatars to serve them quicker * Update assetgraph-builder to 8.0.1 * Filter out anonymous donors * Remove sprite padding * Move all supporter names to a title attribute that always exists * Root relative CSS hrefs * Update package-lock.json * Get rid of avatars.js since the sprites don't work that way * Always https protocol on opencollective badges * Add local netlify folder to gitignore * Avoid supporter spritesheet ending up as external stylesheet in body. Caused render flush that resulted in confusing layout shift on reload * Add missing newline in .gitignore
- Loading branch information
Showing
9 changed files
with
273 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.sponsor { | ||
-sprite-selector-for-group: sponsors; | ||
-sprite-location: url(/images/sprite-sponsors.png?pngquant); | ||
-sprite-image-format: png; | ||
height: 64px; | ||
} | ||
.backer { | ||
-sprite-selector-for-group: backers; | ||
-sprite-location: url(/images/sprite-backers.png?pngquant); | ||
-sprite-image-format: png; | ||
width: 32px; | ||
height: 32px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.