Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 38 additions & 37 deletions website/src/components/Home/Community/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Section from '../Section';
import SectionTitle from '../SectionTitle';

import CallstackWordmark from '@site/static/img/showcase/callstack_wordmark.svg';
import ExpoWordmark from '@site/static/img/showcase/expo-wordmark.svg';
import InfiniteRedWordmark from '@site/static/img/showcase/infinite-red-wordmark.svg';
import MicrosoftWordmark from '@site/static/img/showcase/microsoft-wordmark.svg';
import SWMWordmark from '@site/static/img/showcase/swm-wordmark.svg';

import styles from './styles.module.css';

function Community() {
Expand Down Expand Up @@ -60,58 +66,47 @@ function Community() {
<div className={styles.communityNote}>
<p>
Meta released React Native in 2015 and has been maintaining it ever
since. Today, React Native is supported by contributions from
individuals and companies around the world including{' '}
<span>
<a
href="https://callstack.com/"
target="_blank"
rel="noopener noreferrer">
Callstack
</a>
</span>
,{' '}
<span>
<a
href="https://expo.dev/"
target="_blank"
rel="noopener noreferrer">
Expo
</a>
</span>
,{' '}
since.
<br />
Today, React Native is supported by contributions from individuals and
companies around the world including:
</p>
<div className={styles.companiesContainer}>
<a
href="https://infinite.red/"
href="https://callstack.com/"
target="_blank"
rel="noopener noreferrer">
Infinite Red
<CallstackWordmark />
</a>
,{' '}
<a
href="https://www.microsoft.com/"
href="https://expo.dev/"
target="_blank"
rel="noopener noreferrer"
className={styles.expo}>
<ExpoWordmark />
</a>
<a
href="https://infinite.red/"
target="_blank"
rel="noopener noreferrer">
Microsoft
</a>{' '}
and{' '}
<InfiniteRedWordmark />
</a>
<a
href="https://swmansion.com/"
href="https://www.microsoft.com/"
target="_blank"
rel="noopener noreferrer">
Software Mansion
<MicrosoftWordmark />
</a>
. If you're interested in learning more, check out{' '}
<a
href="https://github.com/react/react-native/blob/main/ECOSYSTEM.md"
href="https://swmansion.com/"
target="_blank"
rel="noopener noreferrer">
how we have structured the ecosystem
<SWMWordmark />
</a>
.
</p>
</div>
<p>
Our community is always shipping exciting new projects and expanding
beyond Android and iOS with initiatives like{' '}
Additionally, our community is always shipping exciting new projects
and expanding beyond Android and iOS with initiatives like{' '}
<a
href="https://microsoft.github.io/react-native-windows/"
target="_blank"
Expand All @@ -132,9 +127,15 @@ function Community() {
rel="noopener noreferrer">
React Native Web
</a>
.
</p>
</div>
<a
href="https://github.com/react/react-native/blob/main/ECOSYSTEM.md"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arguibly, we should update this page

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, and also mention the Foundation somewhere.

target="_blank"
rel="noopener noreferrer"
className={styles.secondaryButton}>
Learn more about the Ecosystem
</a>
</Section>
);
}
Expand Down
53 changes: 52 additions & 1 deletion website/src/components/Home/Community/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,62 @@
}
}

.companiesContainer {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
align-items: center;
justify-content: center;
gap: 16px;
padding: 20px 0 40px;

a {
display: flex;
justify-content: center;
color: var(--ifm-heading-color);

&,
&:hover {
border-bottom: 0 !important;
}

&.expo svg {
max-width: 130px;
}
}

svg {
max-width: 142px;
max-height: 56px;
}
}

html[data-theme="dark"] {
.companiesContainer a {
color: var(--ifm-heading-color) !important;
}
}

@media only screen and (max-width: 800px) {
.companiesContainer {
grid-template-columns: 1fr 1fr 1fr;
gap: 20px 24px;
}
}

@media only screen and (max-width: 450px) {
.companiesContainer {
grid-template-columns: 1fr 1fr;
column-gap: 32px;
}
}

.communityNote {
margin-top: 48px;
margin-top: 52px;
margin-bottom: 8px;
text-align: center;
color: var(--home-secondary-text);
padding: 0 12px;
font-size: 0.9rem;
}

.secondaryButton {
Expand Down
3 changes: 3 additions & 0 deletions website/static/img/showcase/callstack_wordmark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions website/static/img/showcase/expo-wordmark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions website/static/img/showcase/infinite-red-wordmark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading