Skip to content

Commit 8aa0268

Browse files
committed
Add sponsors
1 parent 157170a commit 8aa0268

File tree

3 files changed

+48
-2
lines changed

3 files changed

+48
-2
lines changed

sites/docs/src/home/logos/jabci.png

4.71 KB
Loading
Lines changed: 15 additions & 0 deletions
Loading

sites/docs/src/home/stage.js

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import React from "react";
22
import useWindowSize from "./use-window-size";
33
import Speaker from "./speaker";
44
import logo from "./logo.small.svg";
5+
import jabci from "./logos/jabci.png";
6+
import ocollective from "./logos/ocollective.svg";
57
import wood from "./wood.png";
68
import brightSquares from "./bright-squares.png";
79
import purtyWood from "./purty-wood.png";
@@ -257,6 +259,7 @@ function Pulpit({ onClick }) {
257259
}
258260

259261
function Banner() {
262+
const scale = useScale();
260263
return (
261264
<Plane
262265
w={1.5}
@@ -271,12 +274,40 @@ function Banner() {
271274
display: "flex",
272275
flexDirection: "column",
273276
alignItems: "center",
274-
paddingTop: "10%",
277+
justifyContent: "space-around",
278+
height: "100%",
279+
boxSizing: "border-box",
275280
opacity: 0.7,
276281
transformStyle: "preserve-3d"
277282
}}
278283
>
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>
280311
</div>
281312
</Plane>
282313
);

0 commit comments

Comments
 (0)