Skip to content

Commit b94fe03

Browse files
Esemesekthymikee
authored andcommitted
docs: Owl as RNTL logo (#152)
* imp: owl as RNTL logo * Undo formatter mess * Change descriptions
1 parent a184c2d commit b94fe03

File tree

11 files changed

+41
-9
lines changed

11 files changed

+41
-9
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# React Native Testing Library
1+
<div align='center'>
2+
<span style='font-size: 100px'>🦉</span>
3+
<h1>React Native Testing Library</h1>
24

3-
Lightweight React Native testing utilities helping you write better tests with less effort.
5+
<p>Lightweight React Native testing utilities helping you write better tests with less effort.</P>
6+
</div>
47

58
[![Version][version-badge]][package]
69
[![PRs Welcome][prs-welcome-badge]][prs-welcome]
@@ -46,7 +49,7 @@ test('should verify two questions', () => {
4649

4750
expect(props.verifyQuestions).toBeCalledWith({
4851
'1': { q: 'q1', a: 'a1' },
49-
'2': { q: 'q2', a: 'a2' },
52+
'2': { q: 'q2', a: 'a2' }
5053
});
5154
});
5255
```

website/pages/en/index.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*/
77

88
const React = require('react');
9+
const CompLibrary = require('../../core/CompLibrary.js');
910

1011
const siteConfig = require(`${process.cwd()}/siteConfig.js`);
1112

@@ -52,8 +53,37 @@ class HomeSplash extends React.Component {
5253
return (
5354
<SplashContainer>
5455
<div className="inner">
56+
<img src={`${siteConfig.baseUrl}img/owl.png`} />
5557
<ProjectTitle />
5658
</div>
59+
<CompLibrary.Container padding={['top', 'bottom']}>
60+
<CompLibrary.GridBlock
61+
align="center"
62+
layout="threeColumn"
63+
contents={[
64+
{
65+
title: 'Maintainable',
66+
content: 'Write maintainable tests for your React Native apps',
67+
image: `${siteConfig.baseUrl}img/tools.png`,
68+
imageAlign: 'top',
69+
},
70+
{
71+
title: 'Reliable',
72+
content:
73+
'Promotes testing public APIs and avoiding implementation details',
74+
image: `${siteConfig.baseUrl}img/hit.png`,
75+
imageAlign: 'top',
76+
},
77+
{
78+
title: 'Community Driven',
79+
content:
80+
'Supported by React Native community and its core contributors',
81+
image: `${siteConfig.baseUrl}img/locomotive.png`,
82+
imageAlign: 'top',
83+
},
84+
]}
85+
/>
86+
</CompLibrary.Container>
5787
</SplashContainer>
5888
);
5989
}

website/siteConfig.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ const siteConfig = {
3030
],
3131

3232
/* path to images for header/footer */
33-
// headerIcon: 'img/docusaurus.svg',
34-
// footerIcon: 'img/docusaurus.svg',
35-
// favicon: 'img/favicon.png',
33+
headerIcon: 'img/owl.png',
34+
footerIcon: 'img/owl.png',
35+
favicon: 'img/owl.png',
3636

3737
/* Colors for website */
3838
colors: {
39-
primaryColor: '#3274ff',
40-
secondaryColor: '#3bffed',
39+
primaryColor: '#262626',
40+
secondaryColor: '#bf8a65',
4141
},
4242

4343
/* Custom fonts for website */

website/static/img/docusaurus.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

website/static/img/favicon.png

-984 Bytes
Binary file not shown.
-9.44 KB
Binary file not shown.

website/static/img/hit.png

24.5 KB
Loading

website/static/img/locomotive.png

33.3 KB
Loading

website/static/img/oss_logo.png

-4.27 KB
Binary file not shown.

website/static/img/owl.png

29.1 KB
Loading

0 commit comments

Comments
 (0)