Skip to content

Commit c877600

Browse files
committed
More logos
1 parent 9517ee4 commit c877600

File tree

3 files changed

+38
-3
lines changed

3 files changed

+38
-3
lines changed

sites/docs/src/home/docs.js

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,22 @@ function H(props) {
3535
export default function Docs() {
3636
return (
3737
<div style={{ display: "flex", justifyContent: "center" }}>
38-
<div style={{ maxWidth: "800px", width: "90%" }}>
38+
<div
39+
style={{
40+
maxWidth: "800px",
41+
width: "90%",
42+
paddingTop: "1px",
43+
position: "relative"
44+
}}
45+
>
46+
<iframe
47+
src="https://ghbtns.com/github-btn.html?user=pomber&repo=code-surfer&type=star&count=true&size=large"
48+
frameborder="0"
49+
scrolling="0"
50+
width="160px"
51+
height="30px"
52+
style={{ right: 0, position: "absolute", top: -40, zIndex: 2 }}
53+
></iframe>
3954
<MDXProvider components={components}>
4055
<Readme />
4156
</MDXProvider>

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

3.97 KB
Loading

sites/docs/src/home/stage.js

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Speaker from "./speaker";
44
import logo from "./logo.small.svg";
55
import jabci from "./logos/jabci.png";
66
import ocollective from "./logos/ocollective.svg";
7+
import mdxdeck from "./logos/mdxdeck.png";
78
import wood from "./wood.png";
89
import brightSquares from "./bright-squares.png";
910
import purtyWood from "./purty-wood.png";
@@ -90,7 +91,7 @@ export default function Stage({ children, deck }) {
9091
style={{
9192
zIndex: "1",
9293
position: "absolute",
93-
bottom: 0,
94+
bottom: -1,
9495
height: "90%"
9596
}}
9697
>
@@ -274,7 +275,8 @@ function Banner() {
274275
display: "flex",
275276
flexDirection: "column",
276277
alignItems: "center",
277-
justifyContent: "space-around",
278+
justifyContent: "space-between",
279+
padding: `${scale * 0.25}px 0`,
278280
height: "100%",
279281
boxSizing: "border-box",
280282
opacity: 0.7,
@@ -287,6 +289,24 @@ function Banner() {
287289
>
288290
<img src={logo} alt="Code Surfer Logo" width="100%" />
289291
</a>
292+
<a
293+
href="https://opencollective.com/code-surfer#sponsor"
294+
style={{
295+
width: "80%",
296+
textDecoration: "none",
297+
color: "black",
298+
fontSize: scale * 0.19,
299+
fontWeight: "bolder",
300+
textAlign: "center",
301+
display: "flex"
302+
}}
303+
>
304+
<img src={mdxdeck} alt="MDX Deck Logo" width="35%" />
305+
<div style={{ flex: 1 }}>
306+
<div style={{ fontSize: "1.1em" }}>MDX</div>
307+
<div>Deck</div>
308+
</div>
309+
</a>
290310
<a href="http://jabci.com/" style={{ width: "65%" }}>
291311
<img src={jabci} alt="jabci Logo" width="100%" />
292312
</a>

0 commit comments

Comments
 (0)