Skip to content

Commit 4ec8866

Browse files
committed
tutorial
1 parent a4b6bd6 commit 4ec8866

File tree

2 files changed

+8
-84
lines changed

2 files changed

+8
-84
lines changed

app/src/tutorial/CodePreview.tsx

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,10 @@ import { Link, RouteComponentProps } from 'react-router-dom';
44
// import Grid from '@material-ui/core/Grid';
55
import { makeStyles } from '@material-ui/core/styles';
66

7-
const CodePreview: React.FC<RouteComponentProps> = () => {
8-
9-
const body = document.querySelector('body');
10-
body.style.overflowY = 'auto';
11-
const useStyles = makeStyles({
12-
title: {
13-
color: '#14151f',
14-
fontSize: 54
15-
},
16-
text: {
17-
color: '#2e2f3e',
18-
fontSize: 24
19-
},
20-
wrapper: {
21-
margin: '30px 30px 30px 30px',
22-
width: 'auto'
23-
},
24-
img: {
25-
borderRadius: '3px',
26-
// alignSelf: 'center'
27-
},
28-
imgWrapper: {
29-
display: 'flex',
30-
flexDirection: 'row',
31-
alignItems: 'center',
32-
// border: '1px solid black',
33-
width: 'auto'
34-
}
35-
});
36-
37-
const classes = useStyles();
38-
39-
<<<<<<< HEAD
7+
const CodePreview: React.FC<{
8+
classes: any;
9+
setPage: Function;
10+
}> = ({ classes, setPage }) => {
4011
return (
4112
<div className={classes.wrapper}>
4213
<h1 className={classes.title}>Code Preview</h1>
@@ -46,15 +17,6 @@ const CodePreview: React.FC<RouteComponentProps> = () => {
4617
<p className={classes.text}>This preview will populate and generate in real-time as you use the drag-n-drop functionality with the canvas.</p>
4718
<p className={classes.text}>To learn more about the canvas, find the tutorial labeled "Canvas".</p>
4819
</div>
49-
=======
50-
const CodePreview: React.FC<{
51-
classes: any;
52-
setPage: Function;
53-
}> = ({ classes, setPage }) => {
54-
return (
55-
<div>
56-
CodePreview
57-
>>>>>>> 2a650b9c905f532c943c7a8fc17e18e4fdc68eb4
5820
</div>
5921
);
6022
};

app/src/tutorial/ReusableComponents.tsx

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,10 @@ import reusablecomponents1 from '../../../resources/reusable_components_tutorial
99
import reusablecomponents2 from '../../../resources/reusable_components_tutorial_images/reusablecomponents2.png';
1010
import reusablecomponents3 from '../../../resources/reusable_components_tutorial_images/reusablecomponents3.png';
1111

12-
<<<<<<< HEAD
13-
const ReusableComponents: React.FC<RouteComponentProps> = () => {
14-
15-
const body = document.querySelector('body');
16-
body.style.overflowY = 'auto';
17-
const useStyles = makeStyles({
18-
title: {
19-
color: '#14151f',
20-
fontSize: 25
21-
},
22-
text: {
23-
color: '#2e2f3e',
24-
fontSize: 20
25-
},
26-
wrapper: {
27-
margin: '30px 30px 30px 30px',
28-
width: 'auto'
29-
},
30-
img: {
31-
borderRadius: '3px',
32-
// alignSelf: 'center'
33-
},
34-
imgWrapper: {
35-
display: 'flex',
36-
flexDirection: 'row',
37-
alignItems: 'center',
38-
// border: '1px solid black',
39-
width: 'auto'
40-
}
41-
});
42-
43-
const classes = useStyles();
44-
12+
const ReusableComponents: React.FC<{
13+
classes: any;
14+
setPage: Function;
15+
}> = ({ classes, setPage }) => {
4516
return (
4617
<div className={classes.wrapper}>
4718
<h1 className={classes.title}>Reusable Components Tutorial</h1>
@@ -70,15 +41,6 @@ const ReusableComponents: React.FC<RouteComponentProps> = () => {
7041
<p className={classes.text}>You can place a reusable component inside Pages and populate the component itself with the HTML Elements.</p>
7142

7243
</div>
73-
=======
74-
const ReusableComponents: React.FC<{
75-
classes: any;
76-
setPage: Function;
77-
}> = ({ classes, setPage }) => {
78-
return (
79-
<div>
80-
ReusableComponents
81-
>>>>>>> 2a650b9c905f532c943c7a8fc17e18e4fdc68eb4
8244
</div>
8345
);
8446
};

0 commit comments

Comments
 (0)