-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Copy pathindex.js
executable file
·58 lines (53 loc) · 1.33 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import React from 'react';
import Features from './home/Features';
import Footer from './home/Footer';
import Splash from './home/Splash';
import Sponsors from './home/Sponsors';
const features = [
{
title: `Easy to Use`,
description: `
Start quickly with built-in navigators that deliver a seamless
out-of-the-box experience.
`,
},
{
title: `Components built for iOS and Android`,
description: `
Platform-specific look-and-feel with smooth animations and gestures.
`,
},
{
title: `Completely customizable`,
description: `
If you know how to write apps using JavaScript you can customize any
part of React Navigation.
`,
},
{
title: `Extensible platform`,
description: `
React Navigation is extensible at every layer— you can write your own
navigators or even replace the user-facing API.
`,
},
];
function Home() {
const context = useDocusaurusContext();
const { siteConfig = {} } = context;
return (
<Layout
title={siteConfig.title}
description={siteConfig.tagline}
wrapperClassName="full-width"
>
<Splash />
<Features />
<Sponsors />
<Footer />
</Layout>
);
}
export default Home;