Skip to content

Commit 7b20427

Browse files
committed
added getting started
1 parent d1ee2d3 commit 7b20427

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

docs/client/components/ComponentsPage/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import styles from './styles.scss';
77
const ComponentsPage = () => (
88
<div className={styles.usage}>
99
<div dangerouslySetInnerHTML={{ __html: CardReadme }} />
10-
<div style={{ height: '100px' }} />
10+
<div style={{ height: '300px' }} />
1111
</div>
1212
);
1313

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
:local(.usage) {
22
overflow: scroll;
3+
height: 800px;
34
padding: 5%;
5+
6+
table, td, th {
7+
border: 1px solid #d2d2d2;
8+
border-collapse: collapse;
9+
}
10+
td {
11+
padding: 5px;
12+
font-size: 12px;
13+
height: 40px;
14+
}
15+
.hljs {
16+
padding: 15px 0px;
17+
background: #f1f1f1;
18+
}
419
}

docs/client/components/GettingStartedPage/index.js

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,26 @@
11
import React from 'react';
22

3+
import SampleCode from './sampleCode.md';
4+
import styles from './styles.scss';
5+
36
const GettingStartedPage = () => (
4-
<div>
5-
GettingStarted Page
7+
<div className={styles.code}>
8+
<div className="header">
9+
GettingStarted Page
10+
</div>
11+
<div className="sub-header">
12+
Installation
13+
</div>
14+
<div className="js-code">
15+
npm install react-lite
16+
</div>
17+
<div className="sub-header">
18+
Usage
19+
</div>
20+
<div className="js-code">
21+
<div dangerouslySetInnerHTML={{ __html: SampleCode }} />
22+
</div>
23+
<div className="empty-div" />
624
</div>
725
);
826

0 commit comments

Comments
 (0)