Skip to content

Commit f6a0f8b

Browse files
committed
tutorial
1 parent dc423f2 commit f6a0f8b

File tree

5 files changed

+21
-2
lines changed

5 files changed

+21
-2
lines changed

app/src/tutorial/ReusableComponents.tsx

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

7+
//images
8+
import reusablecomponents1 from '../../../resources/reusable_components_tutorial_images/reusablecomponents1.png';
9+
import reusablecomponents2 from '../../../resources/reusable_components_tutorial_images/reusablecomponents2.png';
10+
import reusablecomponents3 from '../../../resources/reusable_components_tutorial_images/reusablecomponents3.png';
11+
712
const ReusableComponents: React.FC<RouteComponentProps> = () => {
813

914
const body = document.querySelector('body');
1015
body.style.overflowY = 'auto';
1116
const useStyles = makeStyles({
1217
title: {
1318
color: '#14151f',
14-
fontSize: 54
19+
fontSize: 25
1520
},
1621
text: {
1722
color: '#2e2f3e',
18-
fontSize: 24
23+
fontSize: 20
1924
},
2025
wrapper: {
2126
margin: '30px 30px 30px 30px',
@@ -43,10 +48,24 @@ const ReusableComponents: React.FC<RouteComponentProps> = () => {
4348
<div className={classes.wrapper}>
4449
<h1 className={classes.title}>Reusable Components</h1>
4550
<p className={classes.text}>To add a Reusable Component, use the top left input form to name a Component. Then select add to create a new Component.</p>
51+
52+
<div className={classes.imgWrapper}>
53+
<img src={reusablecomponents1} />
54+
</div>
4655
<p className={classes.text}>The Components you create will populate the left container under the section called 'Reusable Components'.</p>
56+
57+
<div className={classes.imgWrapper}>
58+
<img src={reusablecomponents2} />
59+
</div>
60+
4761
<p className={classes.text}>After creating the desired Component, you can now use the components with the drag-n-drop functionality.
4862
If you'd like to know about about the drag-n-drop functionality, please locate the tag Canvas Tutorial for more information on how it works.
4963
</p>
64+
65+
<div className={classes.imgWrapper}>
66+
<img src={reusablecomponents3} />
67+
</div>
68+
5069
<p className={classes.text}>You can place a reusable component inside Pages and populate the component itself with the HTML Elements.</p>
5170

5271
</div>

resources/reactype4.png

795 KB
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)