Skip to content

Commit 4024190

Browse files
authored
Merge pull request #1774 from wix/infra/DocSite_design
Docs site design
2 parents c2a9509 + 48c43ac commit 4024190

31 files changed

+53
-382
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ The package is both **Android** and **iOS** compatible.
99

1010
See our new [Docs site](https://wix.github.io/react-native-calendars/)
1111

12-
1312
## Try it out
1413

1514
You can run example module by performing these steps:

demo/assets/RNC.png

-71.1 KB
Binary file not shown.
2.24 MB
Loading

demo/assets/timeline-calendar.gif

4.79 MB
Loading

demo/assets/week-calendar.gif

1.3 MB
Loading

docsRNC/docs/AgendaList.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
Agenda list component
1+
Agenda list component for the `ExpandableCalendar` component.
22
[(code example)](https://github.com/wix/react-native-calendars/blob/master/example/src/screens/expandableCalendar.tsx)
33
:::info
44
This component extends **[FlatList](https://reactnative.dev/docs/flatlist)** props.
55
:::
6+
**NOTE: This component should be wrapped with `CalendarProvider` component.**
67

7-
<div style={{display: 'flex', flexDirection: 'row', overflowX: 'auto', maxHeight: '500px', alignItems: 'center'}}></div>
8+
<div style={{display: 'flex', flexDirection: 'row', overflowX: 'auto', maxHeight: '500px', alignItems: 'center'}}><img style={{maxHeight: '420px'}} src={'https://github.com/wix/react-native-calendars/blob/master/demo/assets/expandable-calendar.gif?raw=true'}/>
9+
10+
</div>
811

912
## API
1013

docsRNC/docs/ExpandableCalendar.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ Expandable calendar component
33
:::info
44
This component extends **[CalendarList](https://github.com/wix/react-native-calendars/blob/master/src/calendar-list/index.tsx)** props.
55
:::
6+
**NOTE: This component should be wrapped with `CalendarProvider` component.**
67

7-
<div style={{display: 'flex', flexDirection: 'row', overflowX: 'auto', maxHeight: '500px', alignItems: 'center'}}></div>
8+
<div style={{display: 'flex', flexDirection: 'row', overflowX: 'auto', maxHeight: '500px', alignItems: 'center'}}><img style={{maxHeight: '420px'}} src={'https://github.com/wix/react-native-calendars/blob/master/demo/assets/expandable-calendar.gif?raw=true'}/>
9+
10+
</div>
811

912
## API
1013

docsRNC/docs/Timeline.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ Timeline component
44
This component extends **[ScrollView](https://reactnative.dev/docs/scrollview)** props.
55
:::
66

7-
<div style={{display: 'flex', flexDirection: 'row', overflowX: 'auto', maxHeight: '500px', alignItems: 'center'}}></div>
7+
<div style={{display: 'flex', flexDirection: 'row', overflowX: 'auto', maxHeight: '500px', alignItems: 'center'}}><img style={{maxHeight: '420px'}} src={'https://github.com/wix/react-native-calendars/blob/master/demo/assets/timeline-calendar.gif?raw=true'}/>
8+
9+
</div>
810

911
## API
1012

docsRNC/docs/WeekCalendar.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ Week calendar component
44
This component extends **[CalendarList](https://github.com/wix/react-native-calendars/blob/master/src/calendar-list/index.tsx)** props.
55
:::
66

7-
<div style={{display: 'flex', flexDirection: 'row', overflowX: 'auto', maxHeight: '500px', alignItems: 'center'}}></div>
7+
<div style={{display: 'flex', flexDirection: 'row', overflowX: 'auto', maxHeight: '500px', alignItems: 'center'}}><img style={{maxHeight: '420px'}} src={'https://github.com/wix/react-native-calendars/blob/master/demo/assets/week-calendar.gif?raw=true'}/>
8+
9+
</div>
810

911
## API
1012

docsRNC/docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const config = {
1212
baseUrl: '/react-native-calendars/',
1313
onBrokenLinks: 'throw',
1414
onBrokenMarkdownLinks: 'warn',
15-
favicon: 'img/fav-icon.png',
15+
favicon: 'img/logo.png',
1616
organizationName: 'wix', // Usually your GitHub org/user name.
1717
projectName: 'react-native-calendars', // Usually your repo name.
1818
trailingSlash: false,
@@ -46,7 +46,7 @@ const config = {
4646
title: 'RNC',
4747
logo: {
4848
alt: 'RNC Logo',
49-
src: 'img/RNC.png'
49+
src: 'img/logo.png'
5050
},
5151
items: [
5252
{

0 commit comments

Comments
 (0)