@@ -8,6 +8,20 @@ import HomepageFeatures from "../components/HomepageFeatures";
8
8
9
9
import Admonition from "@theme/Admonition" ;
10
10
11
+ // import * as React from "react";
12
+ import { styled } from "@mui/material/styles" ;
13
+ import Box from "@mui/material/Box" ;
14
+ import Paper from "@mui/material/Paper" ;
15
+ import Grid from "@mui/material/Unstable_Grid2" ;
16
+
17
+ const Item = styled ( Paper ) ( ( { theme } ) => ( {
18
+ backgroundColor : theme . palette . mode === "dark" ? "#1A2027" : "#fff" ,
19
+ ...theme . typography . body2 ,
20
+ padding : theme . spacing ( 1 ) ,
21
+ textAlign : "center" ,
22
+ color : theme . palette . text . secondary ,
23
+ } ) ) ;
24
+
11
25
function HomepageHeader ( ) {
12
26
const { siteConfig } = useDocusaurusContext ( ) ;
13
27
return (
@@ -17,49 +31,26 @@ function HomepageHeader() {
17
31
{ siteConfig . title }
18
32
{ /* CodePod */ }
19
33
</ h1 >
20
- < p className = "hero__subtitle" >
21
- { /* {siteConfig.tagline} */ } A{ " " }
22
- < span
23
- style = { {
24
- color : "black" ,
25
- background : "greenyellow" ,
26
- borderRadius : "5px" ,
27
- } }
28
- >
29
- Hierarchical Jupyter
30
- </ span > { " " }
31
- for{ " " }
32
- < span
33
- style = { {
34
- marginRight : "2px" ,
35
- color : "black" ,
36
- background : "yellow" ,
37
- borderRadius : "5px" ,
38
- } }
39
- >
40
- Scalable
41
- </ span >
42
- < span
43
- style = { {
44
- color : "black" ,
45
- background : "cyan" ,
46
- borderRadius : "5px" ,
47
- } }
48
- >
49
- Interactive Development
50
- </ span >
51
- </ p >
52
- < Admonition type = "caution" >
53
- < p > Site Under Construction. Expected release Sep 2022</ p >
34
+ < p className = "hero__subtitle" > Coding on a canvas, more organized.</ p >
35
+ < Admonition type = "info" >
36
+ < p >
37
+ (new, 09/19/2022) We are open for internal testing. The v1 of the
38
+ app:{ " " }
39
+ < Link
40
+ to = "https://relay.codepod.io"
41
+ className = "button button--secondary button--lg"
42
+ >
43
+ relay.codepod.io
44
+ </ Link >
45
+ </ p >
46
+ < p >
47
+ Please refer to the{ " " }
48
+ < Link to = "https://youtu.be/3puYJ-rM46g" >
49
+ 3 min tutorial video (in Chinese)
50
+ </ Link > { " " }
51
+ for how to use it.
52
+ </ p >
54
53
</ Admonition >
55
- < div className = { styles . buttons } >
56
- < Link
57
- className = "button button--secondary button--lg"
58
- to = "/docs/intro"
59
- >
60
- Tutorial - 5min ⏱️
61
- </ Link >
62
- </ div >
63
54
</ div >
64
55
</ header >
65
56
) ;
@@ -75,6 +66,35 @@ export default function Home() {
75
66
< HomepageHeader />
76
67
< main >
77
68
< HomepageFeatures />
69
+ < hr />
70
+ < div >
71
+ < Box sx = { { flexGrow : 1 , width : "80%" , mx : "auto" } } >
72
+ < Grid container spacing = { 2 } >
73
+ < Grid xs = { 6 } >
74
+ < Box > v1: Tree-based design</ Box >
75
+ < Item
76
+ // sx={{
77
+ // width: "100px",
78
+ // }}
79
+ >
80
+ < img src = "/img/tree-based.png" alt = "an image" />
81
+ </ Item >
82
+ </ Grid >
83
+ < Grid xs = { 6 } >
84
+ < Box > V2: Graph-based design</ Box >
85
+ < Item >
86
+ < img src = "/img/graph-based.png" alt = "an image" />
87
+ </ Item >
88
+ </ Grid >
89
+ { /* <Grid xs={4}>
90
+ <Item>xs=4</Item>
91
+ </Grid>
92
+ <Grid xs={8}>
93
+ <Item>xs=8</Item>
94
+ </Grid> */ }
95
+ </ Grid >
96
+ </ Box >
97
+ </ div >
78
98
</ main >
79
99
</ Layout >
80
100
) ;
0 commit comments