Skip to content

Commit cf36343

Browse files
committed
Move to Open Collective
* Sponsor & backers section on front page + donate button * Fetch backers from Open Collective API every 24 hours * Add sponsors page * Remove Facebook social icon + link * Add Open Collective (social) icons + links * Mention Open Collective on "get involved" page * In footer, replace Lightbend's "professional support" with "Professional support"
1 parent 2417479 commit cf36343

29 files changed

Lines changed: 622 additions & 43 deletions

app/assets/css/modules/_buttons.styl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,11 @@ button(color, size= big)
2020
box-shadow: inset 0 -5px 0 color - #222, inset 0 -7px 5px rgba(#fff, .3), 0 1px 3px rgba(#000, .2)
2121
text-shadow: 1px 2px 1px color - #222
2222

23+
.donate-button
24+
text-align: center
25+
a
26+
button: green
27+
display: inline-block
28+
a:hover
29+
text-decoration: none
30+
color: #fff

app/assets/css/modules/_footer.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ body > footer
9595
retina("support/community.png", auto 50px)
9696
&.professional
9797
margin-left: 50px
98-
background: image("support/lightbend-icon-reverse.svg") no-repeat
98+
background: image("support/opencollective-icon-reverse.svg") no-repeat
9999
background-size: auto 50px
100100

101101

app/assets/css/modules/_header.styl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
box: 32px 32px
4545
float: left
4646
background: image("layout/social-icons.png") no-repeat
47-
retina("layout/social-icons.png", 180px)
47+
retina("layout/social-icons.png", 210px)
4848
&[href*=twitter]
4949
social(0)
5050
&[href*=google]
@@ -57,6 +57,8 @@
5757
social(4)
5858
&[href*=discuss]
5959
social(5)
60+
&[href*=opencollective]
61+
social(6)
6062

6163
span
6264
display: none

app/assets/css/pages/_code.styl

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,7 @@
55
h2, h3
66
clear: both
77
padding-top: 20px
8-
a
9-
&:after
10-
content: none
11-
display: none
12-
img
13-
display: block
14-
float: left
8+
people-faces(32px)
159

1610
.coreteam a img
1711
height: 64px
18-
19-
.contributors a img
20-
height: 32px

app/assets/css/pages/_home.styl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
background: image("home/mac.png") 0 0
201201
retina("home/mac.png", 332px 310px)
202202

203-
#references, #sponsors
203+
#references, #sponsors-backers
204204
text-align: center
205205
img
206206
margin: 0 .75rem
@@ -211,7 +211,6 @@
211211
a
212212
position: relative
213213
text-decoration: none
214-
color: white
215214
transition: color 300ms ease-in
216215
span
217216
display: block
@@ -224,9 +223,14 @@
224223
color: #50b4a2
225224
transition: color 200ms ease-out
226225

227-
#sponsors
228-
h2
226+
#sponsors-backers
227+
h2, h3
229228
margin: 10px 10px 40px 10px
229+
padding-top: 20px
230+
clear: both
231+
232+
#backers
233+
people-faces(32px, 32px)
230234

231235
@media only screen and (max-width: 960px)
232236
.home

app/assets/css/pages/_index.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
@import "_getting-started.styl"
77
@import "_home.styl"
88
@import "_involved.styl"
9+
@import "_sponsors.styl"
910
@import "_main.styl"
1011
@import "_modules.styl"
1112
@import "_support.styl"

app/assets/css/pages/_involved.styl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,6 @@
3434
background-position: 0 -150px
3535
&.modules:after
3636
background-position: 0 -50px
37+
&.opencollective:after
38+
background-position: 0 -250px
3739

app/assets/css/pages/_main.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.getInvolved, .modules, .code, .security, .changelog, .markdown, .outreachy, .support, .getting-started, .alternatives
1+
.getInvolved, .sponsors, .modules, .code, .security, .changelog, .markdown, .outreachy, .support, .getting-started, .alternatives
22
aside li
33
padding: 4px 0
44
text: center
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.sponsors
2+
@extend .content-column

app/assets/css/util/_helpers.styl

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,18 @@ overflow(arg)
4646
hide-text()
4747
overflow: hidden
4848
text-indent: -99em
49+
50+
people-faces(height=0, width=0)
51+
a
52+
&:after
53+
content: none
54+
display: none
55+
img
56+
display: block
57+
float: left
58+
margin: 0
59+
if height != 0
60+
height: height
61+
if width != 0
62+
width: width
63+

0 commit comments

Comments
 (0)