Skip to content

Commit 16c0a76

Browse files
authored
docs: added trusted by section (#734)
## 📜 Description Added apps/templates/frameworks that use this library or recommend to use it. ## 💡 Motivation and Context To encourage/convince devs to use this library and show/prove that this library powers many popular `react-native` apps/boilerplates and trusted by many developers. I also added a link to submit a PR for devs who wanted to show, that they also use this lib. I don't think I violate any legal rules, because all that information is publicly available: https://github.com/kirillzyusko/react-native-keyboard-controller/network/dependents As time passes on I'll periodically update this table 😊 ## 📢 Changelog <!-- High level overview of important changes --> <!-- For example: fixed status bar manipulation; added new types declarations; --> <!-- If your changes don't affect one of platform/language below - then remove this platform/language --> ### Docs - added trusted by section on landing page. ## 🤔 How Has This Been Tested? Tested on localhost:3000. ## 📸 Screenshots (if appropriate): <img width="1368" alt="image" src="https://github.com/user-attachments/assets/555c2777-399b-43c0-a7ad-76284d488659" /> ## 📝 Checklist - [x] CI successfully passed - [x] I added new mocks and corresponding unit-tests if library API was changed
1 parent 095b4da commit 16c0a76

File tree

3 files changed

+145
-1
lines changed

3 files changed

+145
-1
lines changed

cspell.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@
126126
"focusable",
127127
"iphonesimulator",
128128
"suspendable",
129-
"libc"
129+
"libc",
130+
"chatwoot",
131+
"obytes",
132+
"kitsu"
130133
],
131134
"ignorePaths": [
132135
"node_modules",

docs/src/pages/index.module.css

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,42 @@
2121
align-items: center;
2222
justify-content: center;
2323
}
24+
25+
.trustedBySection {
26+
text-align: center;
27+
display: flex;
28+
flex-direction: column;
29+
align-items: center;
30+
overflow: hidden;
31+
padding-bottom: 4rem;
32+
}
33+
34+
.trustedByTitle {
35+
padding-bottom: 16px;
36+
}
37+
38+
.trustedByImg {
39+
margin: 0px 15px;
40+
border-radius: 25px;
41+
width: 100px;
42+
height: 100px;
43+
box-shadow: 5px 5px 51px -29px rgba(139, 139, 139, 1);
44+
}
45+
46+
.trustedByContainer {
47+
display: flex;
48+
flex-direction: row;
49+
justify-content: center;
50+
flex-wrap: wrap;
51+
max-width: 1200px;
52+
max-height: 460px; /* 3 rows only */
53+
row-gap: 15px;
54+
overflow: hidden;
55+
}
56+
57+
.addYourApp {
58+
width: 100%;
59+
max-width: 1200px;
60+
text-align: right;
61+
margin-right: 20px;
62+
}

docs/src/pages/index.tsx

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,107 @@ function HomepageHeader() {
2828
);
2929
}
3030

31+
const trustedBy = [
32+
{
33+
img: "https://avatars.githubusercontent.com/u/476779?s=200&v=4",
34+
alt: "Expensify Mobile App",
35+
link: "https://github.com/Expensify/App",
36+
name: "Expensify",
37+
},
38+
{
39+
img: "https://avatars.githubusercontent.com/u/94650532?s=200&v=4",
40+
alt: "BlueSky Mobile App",
41+
link: "https://github.com/bluesky-social/social-app",
42+
name: "BlueSky",
43+
},
44+
{
45+
img: "https://avatars.githubusercontent.com/u/12504344?s=200&v=4",
46+
alt: "Expo framework",
47+
link: "https://docs.expo.dev/guides/keyboard-handling/",
48+
name: "Expo",
49+
},
50+
{
51+
img: "https://avatars.githubusercontent.com/u/3902527?s=200&v=4",
52+
alt: "InfiniteRed Ignite react native project boilerplate",
53+
link: "https://github.com/infinitered/ignite",
54+
name: "Ignite",
55+
},
56+
{
57+
img: "https://avatars.githubusercontent.com/u/88587596?s=200&v=4",
58+
alt: "TonKeeper Wallet app",
59+
link: "https://github.com/tonkeeper/wallet",
60+
name: "TON Wallet",
61+
},
62+
{
63+
img: "https://avatars.githubusercontent.com/u/23416667?s=200&v=4",
64+
alt: "Chatwoot mobile app",
65+
link: "https://github.com/chatwoot/chatwoot-mobile-app",
66+
name: "Chatwoot",
67+
},
68+
{
69+
img: "https://avatars.githubusercontent.com/u/4201786?s=200&v=4",
70+
alt: "Obytes react native project template",
71+
link: "https://github.com/obytes/react-native-template-obytes",
72+
name: "Obytes",
73+
},
74+
{
75+
img: "https://avatars.githubusercontent.com/u/431672?s=200&v=4",
76+
alt: "Minds app",
77+
link: "https://github.com/Minds/mobile-native",
78+
name: "Minds",
79+
},
80+
{
81+
img: "https://avatars.githubusercontent.com/u/79029086?s=200&v=4",
82+
alt: "Showtime mobile app",
83+
link: "https://github.com/showtime-xyz/showtime-frontend",
84+
name: "Showtime",
85+
},
86+
{
87+
img: "https://avatars.githubusercontent.com/u/97704884?s=200&v=4",
88+
alt: "Converse Messenger",
89+
link: "https://github.com/ephemeraHQ/converse-app",
90+
name: "Converse",
91+
},
92+
{
93+
img: "https://avatars.githubusercontent.com/u/6613230?s=200&v=4",
94+
alt: "Edge App",
95+
link: "https://github.com/EdgeApp/edge-react-gui",
96+
name: "Edge",
97+
},
98+
{
99+
img: "https://avatars.githubusercontent.com/u/7648832?s=200&v=4",
100+
alt: "Kitsu App",
101+
link: "https://github.com/hummingbird-me/kitsu-mobile",
102+
name: "Kitsu",
103+
},
104+
];
105+
106+
function TrustedBy(): JSX.Element {
107+
return (
108+
<section className={clsx(styles.trustedBySection)}>
109+
<h2 class={clsx(styles.trustedByTitle)}>Trusted by</h2>
110+
<div className={clsx(styles.trustedByContainer)}>
111+
{trustedBy.map((item, index) => (
112+
<a key={index} href={item.link} target="_blank">
113+
<img
114+
alt={item.alt}
115+
className={clsx(styles.trustedByImg)}
116+
src={item.img}
117+
/>
118+
<h4>{item.name}</h4>
119+
</a>
120+
))}
121+
</div>
122+
<p class={clsx(styles.addYourApp)}>
123+
Would like to show your project here?{" "}
124+
<a href="https://github.com/kirillzyusko/react-native-keyboard-controller/edit/main/docs/src/pages/index.tsx">
125+
Submit a PR
126+
</a>
127+
</p>
128+
</section>
129+
);
130+
}
131+
31132
export default function Home(): JSX.Element {
32133
const { siteConfig } = useDocusaurusContext();
33134

@@ -39,6 +140,7 @@ export default function Home(): JSX.Element {
39140
<HomepageHeader />
40141
<main>
41142
<HomepageFeatures />
143+
<TrustedBy />
42144
</main>
43145
</Layout>
44146
);

0 commit comments

Comments
 (0)