@@ -2,7 +2,7 @@ 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" ;
5
+ import bairesdev from "./logos/bairesdev .png" ;
6
6
import ocollective from "./logos/ocollective.svg" ;
7
7
import mdxdeck from "./logos/mdxdeck.png" ;
8
8
import wood from "./wood.png" ;
@@ -21,7 +21,7 @@ import {
21
21
useScale ,
22
22
SpotLight ,
23
23
NoLights ,
24
- PointLight
24
+ PointLight ,
25
25
} from "react-vista" ;
26
26
const whiteBackground = "#FAF9F5" ;
27
27
const darkBackground = "#202226" ;
@@ -41,7 +41,7 @@ export default function Stage({ children, deck }) {
41
41
width : "100%" ,
42
42
overflow : "hidden" ,
43
43
background : darkBackground ,
44
- color : "#222"
44
+ color : "#222" ,
45
45
} }
46
46
>
47
47
< SceneContainer
@@ -53,7 +53,7 @@ export default function Stage({ children, deck }) {
53
53
< SceneContent
54
54
style = { {
55
55
height : h ,
56
- width : "100%"
56
+ width : "100%" ,
57
57
// borderBottom: '1px red solid',
58
58
} }
59
59
origin = { { x : 0.5 , y : yMiddle } }
@@ -69,7 +69,7 @@ export default function Stage({ children, deck }) {
69
69
style = { {
70
70
background : "#FAF9F5" ,
71
71
transformStyle : "preserve-3d" ,
72
- marginTop : - 1
72
+ marginTop : - 1 ,
73
73
} }
74
74
>
75
75
< div
@@ -79,7 +79,7 @@ export default function Stage({ children, deck }) {
79
79
width : vw ,
80
80
backgroundImage : dividerTexture ,
81
81
backgroundColor : darkBackground ,
82
- backgroundPosition : "center top"
82
+ backgroundPosition : "center top" ,
83
83
} }
84
84
>
85
85
< svg
@@ -92,7 +92,7 @@ export default function Stage({ children, deck }) {
92
92
zIndex : "1" ,
93
93
position : "absolute" ,
94
94
bottom : - 1 ,
95
- height : "90%"
95
+ height : "90%" ,
96
96
} }
97
97
>
98
98
< path
@@ -137,7 +137,7 @@ function StageObjects({ sceneWidth, sceneHeight, yMiddle, deck }) {
137
137
</ React . Fragment >
138
138
) }
139
139
< Move dy = { 3.2 } dx = { 2 } dz = { startZ - 1 } >
140
- < Pulpit onClick = { ( ) => setLightsOn ( on => ! on ) } />
140
+ < Pulpit onClick = { ( ) => setLightsOn ( ( on ) => ! on ) } />
141
141
</ Move >
142
142
< Move dy = { 3.1 } dz = { startZ } >
143
143
< Platform />
@@ -163,7 +163,7 @@ function Screen({ deck }) {
163
163
width : deckWidth ,
164
164
height : ( deckWidth * 9 ) / 16 ,
165
165
transform : `scale(${ ( scale * 8 ) / deckWidth } )` ,
166
- transformOrigin : "left top"
166
+ transformOrigin : "left top" ,
167
167
} }
168
168
>
169
169
{ deck }
@@ -183,7 +183,7 @@ function Top() {
183
183
w = { width }
184
184
style = { {
185
185
background : "#161616" ,
186
- backgroundImage : `url("${ wood } ")`
186
+ backgroundImage : `url("${ wood } ")` ,
187
187
} }
188
188
/>
189
189
{ /* front */ }
@@ -193,7 +193,7 @@ function Top() {
193
193
w = { width }
194
194
style = { {
195
195
background : "#111" ,
196
- backgroundImage : `url("${ wood } ")`
196
+ backgroundImage : `url("${ wood } ")` ,
197
197
} }
198
198
/>
199
199
</ React . Fragment >
@@ -211,7 +211,7 @@ function Platform() {
211
211
w = { width }
212
212
style = { {
213
213
background : "#161616" ,
214
- backgroundImage : `url("${ wood } ")`
214
+ backgroundImage : `url("${ wood } ")` ,
215
215
} }
216
216
/>
217
217
{ /* front */ }
@@ -221,7 +221,7 @@ function Platform() {
221
221
w = { width }
222
222
style = { {
223
223
background : "#111" ,
224
- backgroundImage : `url("${ wood } ")`
224
+ backgroundImage : `url("${ wood } ")` ,
225
225
} }
226
226
/>
227
227
</ React . Fragment >
@@ -244,7 +244,7 @@ function Pulpit({ onClick }) {
244
244
fontFamily : "monospace" ,
245
245
backgroundImage : `url("${ purtyWood } ")` ,
246
246
userSelect : "none" ,
247
- cursor : "pointer"
247
+ cursor : "pointer" ,
248
248
} }
249
249
pinY = { "bottom" }
250
250
onClick = { onClick }
@@ -266,8 +266,8 @@ function Banner() {
266
266
w = { 1.5 }
267
267
h = { 4 }
268
268
style = { {
269
- background : "#777 " ,
270
- backgroundImage : `url("${ shattered } ")`
269
+ background : "#999 " ,
270
+ backgroundImage : `url("${ shattered } ")` ,
271
271
} }
272
272
>
273
273
< div
@@ -280,7 +280,7 @@ function Banner() {
280
280
height : "100%" ,
281
281
boxSizing : "border-box" ,
282
282
opacity : 0.7 ,
283
- transformStyle : "preserve-3d"
283
+ transformStyle : "preserve-3d" ,
284
284
} }
285
285
>
286
286
< a
@@ -298,7 +298,7 @@ function Banner() {
298
298
fontSize : scale * 0.19 ,
299
299
fontWeight : "bolder" ,
300
300
textAlign : "center" ,
301
- display : "flex"
301
+ display : "flex" ,
302
302
} }
303
303
>
304
304
< img
@@ -312,8 +312,11 @@ function Banner() {
312
312
< div > Deck</ div >
313
313
</ div >
314
314
</ a >
315
- < a href = "http://jabci.com/" style = { { width : "65%" } } >
316
- < img src = { jabci } alt = "jabci Logo" width = "100%" />
315
+ < a
316
+ href = "https://www.bairesdev.com/sponsoring-open-source-projects/"
317
+ style = { { width : "95%" } }
318
+ >
319
+ < img src = { bairesdev } alt = "BairesDev Logo" width = "100%" />
317
320
</ a >
318
321
< a
319
322
href = "https://opencollective.com/code-surfer#sponsor"
@@ -324,7 +327,7 @@ function Banner() {
324
327
fontSize : scale * 0.16 ,
325
328
fontWeight : "bolder" ,
326
329
textAlign : "center" ,
327
- display : "flex"
330
+ display : "flex" ,
328
331
} }
329
332
>
330
333
< img src = { ocollective } alt = "Open Collective Logo" width = "30%" />
@@ -344,7 +347,7 @@ function Divider({ sceneWidth, sceneHeight, yMiddle }) {
344
347
style = { {
345
348
background : darkBackground ,
346
349
backgroundImage : dividerTexture ,
347
- backgroundPosition : "center bottom"
350
+ backgroundPosition : "center bottom" ,
348
351
} }
349
352
h = { 8 }
350
353
w = { sceneWidth * 1.7 }
0 commit comments