@@ -2,6 +2,8 @@ import React from "react";
2
2
import useWindowSize from "./use-window-size" ;
3
3
import Speaker from "./speaker" ;
4
4
import logo from "./logo.small.svg" ;
5
+ import jabci from "./logos/jabci.png" ;
6
+ import ocollective from "./logos/ocollective.svg" ;
5
7
import wood from "./wood.png" ;
6
8
import brightSquares from "./bright-squares.png" ;
7
9
import purtyWood from "./purty-wood.png" ;
@@ -257,6 +259,7 @@ function Pulpit({ onClick }) {
257
259
}
258
260
259
261
function Banner ( ) {
262
+ const scale = useScale ( ) ;
260
263
return (
261
264
< Plane
262
265
w = { 1.5 }
@@ -271,12 +274,40 @@ function Banner() {
271
274
display : "flex" ,
272
275
flexDirection : "column" ,
273
276
alignItems : "center" ,
274
- paddingTop : "10%" ,
277
+ justifyContent : "space-around" ,
278
+ height : "100%" ,
279
+ boxSizing : "border-box" ,
275
280
opacity : 0.7 ,
276
281
transformStyle : "preserve-3d"
277
282
} }
278
283
>
279
- < img src = { logo } alt = "Code Surfer Logo" width = "70%" />
284
+ < a
285
+ href = "https://github.com/pomber/code-surfer"
286
+ style = { { width : "70%" } }
287
+ >
288
+ < img src = { logo } alt = "Code Surfer Logo" width = "100%" />
289
+ </ a >
290
+ < a href = "http://jabci.com/" style = { { width : "65%" } } >
291
+ < img src = { jabci } alt = "jabci Logo" width = "100%" />
292
+ </ a >
293
+ < a
294
+ href = "https://opencollective.com/code-surfer#sponsor"
295
+ style = { {
296
+ width : "80%" ,
297
+ textDecoration : "none" ,
298
+ color : "rgb(15, 35, 50)" ,
299
+ fontSize : scale * 0.16 ,
300
+ fontWeight : "bolder" ,
301
+ textAlign : "center" ,
302
+ display : "flex"
303
+ } }
304
+ >
305
+ < img src = { ocollective } alt = "Open Collective Logo" width = "30%" />
306
+ < div style = { { flex : 1 } } >
307
+ < div > Become a</ div >
308
+ < div style = { { fontSize : "1.2em" } } > Sponsor</ div >
309
+ </ div >
310
+ </ a >
280
311
</ div >
281
312
</ Plane >
282
313
) ;
0 commit comments