File tree Expand file tree Collapse file tree 3 files changed +42
-12
lines changed Expand file tree Collapse file tree 3 files changed +42
-12
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,16 @@ export default function Sponsor({
25
25
) ;
26
26
}
27
27
28
+ function LinkTo ( { href } ) {
29
+ return href ? (
30
+ < Link className = { styles . name } to = { href } >
31
+ { name }
32
+ </ Link >
33
+ ) : (
34
+ < div className = { styles . name } > { name } </ div >
35
+ ) ;
36
+ }
37
+
28
38
return (
29
39
< div
30
40
className = { clsx (
@@ -40,12 +50,7 @@ export default function Sponsor({
40
50
< Avatar src = { avatar ? "https://www.graphile.org" + avatar : null } />
41
51
) : null }
42
52
43
- < Link
44
- className = { styles . name }
45
- to = { href ?? "https://www.graphile.org/sponsor" }
46
- >
47
- { name }
48
- </ Link >
53
+ < LinkTo href = { href } />
49
54
</ div >
50
55
) ;
51
56
}
Original file line number Diff line number Diff line change 7
7
margin : 0.5rem ;
8
8
padding : 1rem ;
9
9
flex : 0 0 18rem ;
10
- font-size : 1.5rem ;
10
+ font-size : 1.2rem ;
11
+ }
12
+
13
+ .leaders {
14
+ flex : 0 0 12rem ;
11
15
}
12
16
13
17
.featured ,
23
27
}
24
28
25
29
.leaders .name {
26
- font-size : 1.24 rem ;
27
- padding-top : 1 rem ;
30
+ font-size : 1.2 rem ;
31
+ padding-top : 0.8 rem ;
28
32
}
29
33
.name {
30
34
color : var (--ifm-color-primary-darker );
70
74
border-radius : inherit;
71
75
border : inherit;
72
76
}
77
+
78
+ .backers : last-child {
79
+ display : none;
80
+ }
81
+
82
+ .backers : first-child {
83
+ display : flex;
84
+ }
85
+
86
+ @media screen and (max-width : 995px ) {
87
+ .leaders {
88
+ display : none;
89
+ }
90
+ .backers : first-child {
91
+ display : none;
92
+ }
93
+ .backers : last-child {
94
+ display : flex;
95
+ }
96
+ }
Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ to fund ongoing development on Graphile Worker through sponsorship. THANK YOU!
31
31
</Sponsors >
32
32
<Sponsors level = " leaders" >
33
33
<Sponsor name = " Robert Claypool" />
34
+ <Sponsor name = " nigelrmtaylor" />
34
35
<Sponsor
35
36
name = " Principia Mentis"
36
37
avatar = " /images/sponsors/principiamentis.png"
37
38
business
38
39
/>
39
- <Sponsor name = " nigelrmtaylor" />
40
40
<Sponsor
41
41
name = " Trigger.dev"
42
42
avatar = " /images/sponsors/triggerdev.png"
@@ -50,15 +50,15 @@ to fund ongoing development on Graphile Worker through sponsorship. THANK YOU!
50
50
href = " https://www.bairesdev.com/sponsoring-open-source-projects/"
51
51
business
52
52
/>
53
- <Sponsor name = " Cintra" avatar = " /images/sponsors/cintra.svg" business />
54
53
<Sponsor
55
54
name = " Two Bit Solutions"
56
55
avatar = " /images/sponsors/two-bits.svg"
57
56
business
58
57
/>
58
+ <Sponsor name = " Apollo" avatar = " /images/sponsors/apollo.png" business />
59
59
<Sponsor name = " Dimply" avatar = " /images/sponsors/dimply.svg" business />
60
60
<Sponsor name = " Ndustrial" avatar = " /images/sponsors/ndustrial.png" business />
61
- <Sponsor name = " Apollo " avatar = " /images/sponsors/apollo.png " business />
61
+ <Sponsor name = " Cintra " avatar = " /images/sponsors/cintra.svg " business />
62
62
<Sponsor name = " Beacon" avatar = " /images/sponsors/beaconbio.jpg" business />
63
63
<Sponsor
64
64
name = " deliver.media"
@@ -71,6 +71,7 @@ to fund ongoing development on Graphile Worker through sponsorship. THANK YOU!
71
71
</Sponsors >
72
72
<Sponsors level = " backers" >
73
73
<Sponsor name = " plus 67 more backers..." plain />
74
+ <Sponsor name = " plus 84 more backers..." plain />
74
75
</Sponsors >
75
76
76
77
<!-- SPONSORS_END -->
You can’t perform that action at this time.
0 commit comments