55 * LICENSE file in the root directory of this source tree.
66 */
77
8- import React from 'react' ;
9-
108import useBaseUrl from '@docusaurus/useBaseUrl' ;
119import useDocusaurusContext from '@docusaurus/useDocusaurusContext' ;
1210
@@ -23,78 +21,119 @@ function Community() {
2321
2422 return (
2523 < Section >
26- < SectionTitle title = "Meta supported. Community driven." />
27- < div className = { styles . featureContainer } >
28- < div >
29- < p >
30- Meta released React Native in 2015 and has been maintaining it ever
31- since.
32- </ p >
33- < p >
34- In 2018, React Native had the{ ' ' }
35- < a href = "https://octoverse.github.com/2018/projects#repositories" >
36- 2nd highest
37- </ a > { ' ' }
38- number of contributors for any repository in GitHub. Today, React
39- Native is supported by contributions from individuals and companies
40- around the world including{ ' ' }
41- < span >
42- < a href = "https://callstack.com/" > Callstack</ a >
43- </ span >
44- ,{ ' ' }
45- < span >
46- < a href = "https://expo.io/" > Expo</ a >
47- </ span >
48- , < a href = "https://infinite.red/" > Infinite Red</ a > ,{ ' ' }
49- < a href = "https://www.microsoft.com/" > Microsoft</ a > and{ ' ' }
50- < a href = "https://swmansion.com/" > Software Mansion</ a > .
51- </ p >
52- < p >
53- Our community is always shipping exciting new projects and exploring
54- platforms beyond Android and iOS with repos like{ ' ' }
55- < span >
56- < a href = "https://github.com/microsoft/react-native-windows#readme" >
57- React Native Windows
58- </ a >
59- </ span >
60- ,{ ' ' }
61- < a href = "https://github.com/microsoft/react-native-macos#readme" >
62- React Native macOS
63- </ a > { ' ' }
64- and{ ' ' }
65- < a href = "https://github.com/necolas/react-native-web#readme" >
66- React Native Web
67- </ a >
68- .
69- </ p >
70- </ div >
71- < div >
72- < p >
24+ < SectionTitle
25+ title = "Meta supported. Community driven."
26+ description = {
27+ < >
7328 React Native is being used in thousands of apps, but it's likely
74- you've already used it in one of these apps:
75- </ p >
76- < ul className = "AppList" >
77- { apps . map ( ( app , i ) => {
78- const imgSource = ! app . icon . startsWith ( 'http' )
79- ? useBaseUrl ( 'img/showcase/' + app . icon )
80- : app . icon ;
81- return (
82- < li key = { i } className = "item" >
83- { app . infoLink ? (
84- < a href = { app . infoLink } >
85- < img src = { imgSource } alt = { app . name } />
86- </ a >
87- ) : (
29+ < br />
30+ you've already used it in one of these apps.
31+ </ >
32+ }
33+ />
34+ < div className = { styles . featureContainer } >
35+ < ul className = { styles . appList } >
36+ { apps . map ( ( app , i ) => {
37+ const imgSource = ! app . icon . startsWith ( 'http' )
38+ ? useBaseUrl ( 'img/showcase/' + app . icon )
39+ : app . icon ;
40+ return (
41+ < li key = { i } className = "item" >
42+ { app . infoLink ? (
43+ < a
44+ href = { app . infoLink }
45+ target = "_blank"
46+ rel = "noopener noreferrer" >
8847 < img src = { imgSource } alt = { app . name } />
89- ) }
90- </ li >
91- ) ;
92- } ) }
93- </ ul >
94- < p >
95- and < a href = { useBaseUrl ( `showcase` ) } > many more</ a > .
96- </ p >
97- </ div >
48+ </ a >
49+ ) : (
50+ < img src = { imgSource } alt = { app . name } />
51+ ) }
52+ </ li >
53+ ) ;
54+ } ) }
55+ </ ul >
56+ </ div >
57+ < a href = { useBaseUrl ( `showcase` ) } className = { styles . secondaryButton } >
58+ See all featured apps
59+ </ a >
60+ < div className = { styles . communityNote } >
61+ < p >
62+ Meta released React Native in 2015 and has been maintaining it ever
63+ since. Today, React Native is supported by contributions from
64+ individuals and companies around the world including{ ' ' }
65+ < span >
66+ < a
67+ href = "https://callstack.com/"
68+ target = "_blank"
69+ rel = "noopener noreferrer" >
70+ Callstack
71+ </ a >
72+ </ span >
73+ ,{ ' ' }
74+ < span >
75+ < a
76+ href = "https://expo.dev/"
77+ target = "_blank"
78+ rel = "noopener noreferrer" >
79+ Expo
80+ </ a >
81+ </ span >
82+ ,{ ' ' }
83+ < a
84+ href = "https://infinite.red/"
85+ target = "_blank"
86+ rel = "noopener noreferrer" >
87+ Infinite Red
88+ </ a >
89+ ,{ ' ' }
90+ < a
91+ href = "https://www.microsoft.com/"
92+ target = "_blank"
93+ rel = "noopener noreferrer" >
94+ Microsoft
95+ </ a > { ' ' }
96+ and{ ' ' }
97+ < a
98+ href = "https://swmansion.com/"
99+ target = "_blank"
100+ rel = "noopener noreferrer" >
101+ Software Mansion
102+ </ a >
103+ . If you're interested in learning more, check out{ ' ' }
104+ < a
105+ href = "https://github.com/react/react-native/blob/main/ECOSYSTEM.md"
106+ target = "_blank"
107+ rel = "noopener noreferrer" >
108+ how we have structured the ecosystem
109+ </ a >
110+ .
111+ </ p >
112+ < p >
113+ Our community is always shipping exciting new projects and expanding
114+ beyond Android and iOS with initiatives like{ ' ' }
115+ < a
116+ href = "https://microsoft.github.io/react-native-windows/"
117+ target = "_blank"
118+ rel = "noopener noreferrer" >
119+ React Native Windows
120+ </ a >
121+ ,{ ' ' }
122+ < a
123+ href = "https://microsoft.github.io/react-native-macos/"
124+ target = "_blank"
125+ rel = "noopener noreferrer" >
126+ React Native macOS
127+ </ a > { ' ' }
128+ and{ ' ' }
129+ < a
130+ href = "https://necolas.github.io/react-native-web/"
131+ target = "_blank"
132+ rel = "noopener noreferrer" >
133+ React Native Web
134+ </ a >
135+ .
136+ </ p >
98137 </ div >
99138 </ Section >
100139 ) ;
0 commit comments