Skip to content

Commit 3a3b3f6

Browse files
committed
update docs site content
1 parent cf54243 commit 3a3b3f6

File tree

3 files changed

+23
-10
lines changed

3 files changed

+23
-10
lines changed
2.66 MB
Loading

uilib-docs/src/pages/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import mainLogo from '../images/logo_big.png';
77
import datePicker from '../images/examples/datepicker.png';
88
import actionSheet from '../images/examples/actionSheet.png';
99
import rtl from '../images/examples/rtl.png';
10+
import accessibility from '../images/examples/accessibility.gif';
1011

1112
const IndexPage = props => {
1213
return (
@@ -125,7 +126,7 @@ class MyScreen extends Component {
125126

126127
const NativeSection = () => {
127128
return (
128-
<div className="native-section">
129+
<div className="components-section">
129130
<h2>Over than 60 Beautiful Components</h2>
130131
<p>
131132
Basic components like <b>Button</b>, <b>Avatar</b> and <b>Card</b> and more sophisticated ones like <b>Hints</b>
@@ -148,9 +149,10 @@ const OthersSection = () => {
148149
<div className="support-section">
149150
<div>
150151
<h2>RTL and Accessibility in Mind</h2>
151-
<p>We provide full out-of-the-box support to RTL and Accessibility</p>
152+
<p>We provide a full, out-of-the-box support to RTL and Accessibility</p>
152153
</div>
153154
<div>
155+
<img src={accessibility} height="500"/>
154156
<img src={rtl} height="500"/>
155157
</div>
156158
</div>

uilib-docs/src/pages/index.scss

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,32 +72,43 @@
7272
}
7373
}
7474

75-
.native-section {
75+
.components-section {
7676
padding: 40px;
7777
text-align: center;
78-
78+
background-color: $dark80;
79+
margin-top: 20px;
80+
7981
> .image-examples {
8082
display: flex;
8183
justify-content: space-evenly;
82-
84+
8385
img {
8486
height: 500px;
8587
}
8688
}
8789
}
88-
90+
8991
.support-section {
9092
display: flex;
91-
padding: 40px;
92-
background: $dark20;
93+
flex-direction: column;
94+
align-items: center;
95+
text-align: center;
96+
background: $blue10;
9397
color: $white;
98+
// width: 60vw;
99+
// margin: 0 auto;
100+
margin-top: 20px;
101+
padding: 40px;
94102

95103
> div:first-child {
96-
width: 25%;
104+
// width: 25%;
97105
}
98106

99107
> div:nth-child(2) {
100-
padding-left: 20px;
108+
109+
img {
110+
margin-right: 20px;
111+
}
101112
}
102113
}
103114

0 commit comments

Comments
 (0)