File tree 1 file changed +21
-1
lines changed 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -696,7 +696,27 @@ module.exports = ({ page }) =>
696
696
a . name . toLowerCase ( ) < b . name . toLowerCase ( ) ? - 1 : 1
697
697
) . map ( logo =>
698
698
< a href = { logo . link } target = "_blank" rel = "noopener noreferrer nofollow" key = { logo . name } >
699
- < img src = { '/users/logos/' + logo . img } title = { logo . name } className = { logo . isRound ? 'round' : null } />
699
+ < picture >
700
+ < source
701
+ media = "(min-width: 1020px)"
702
+ srcset = {
703
+ "https://graphql.5gcdn.net/ext/resize_230x110shrink,auto?src=" +
704
+ encodeURIComponent (
705
+ "https://graphql.github.io/users/logos/" + logo . img
706
+ )
707
+ }
708
+ />
709
+ < img
710
+ src = {
711
+ "https://graphql.5gcdn.net/ext/resize_148x72shrink,auto?src=" +
712
+ encodeURIComponent (
713
+ "https://graphql.github.io/users/logos/" + logo . img
714
+ )
715
+ }
716
+ title = { logo . name }
717
+ className = { logo . isRound ? "round" : null }
718
+ />
719
+ </ picture >
700
720
</ a >
701
721
) }
702
722
</ div >
You can’t perform that action at this time.
0 commit comments