Skip to content
Merged
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
2 changes: 1 addition & 1 deletion website/src/components/Home/CallToAction/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function CallToAction() {
<div className={styles.background} />
<div className={styles.container}>
<Logo />
<h1 className={styles.title}>Welcome to the React Native community</h1>
<h2 className={styles.title}>Welcome to the React Native community</h2>
<a href="/docs/environment-setup" className={styles.primaryButton}>
Get Started
</a>
Expand Down
20 changes: 13 additions & 7 deletions website/src/components/Home/Community/PartnersShowcase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,29 @@ import styles from './styles.module.css';
const PARTNERS = [
{
href: 'https://callstack.com/',
logo: <CallstackWordmark />,
name: 'Callstack',
logo: <CallstackWordmark aria-hidden />,
},
{
href: 'https://expo.dev/',
name: 'Expo',
className: styles.expo,
logo: <ExpoWordmark />,
logo: <ExpoWordmark aria-hidden />,
},
{
href: 'https://infinite.red/',
logo: <InfiniteRedWordmark />,
name: 'Infinite Red',
logo: <InfiniteRedWordmark aria-hidden />,
},
{
href: 'https://www.microsoft.com/',
logo: <MicrosoftWordmark />,
name: 'Microsoft',
logo: <MicrosoftWordmark aria-hidden />,
},
{
href: 'https://swmansion.com/',
logo: <SWMWordmark />,
name: 'Software Mansion',
logo: <SWMWordmark aria-hidden />,
},
];

Expand All @@ -49,13 +54,14 @@ export default function PartnersShowcase() {

return (
<div className={styles.partnersContainer}>
{partners.map(({href, className, logo}) => (
{partners.map(({href, name, className, logo}) => (
<a
key={href}
href={href}
target="_blank"
rel="noopener noreferrer"
className={className}>
className={className}
aria-label={name}>
{logo}
</a>
))}
Expand Down
6 changes: 2 additions & 4 deletions website/src/components/Home/SectionTitle/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ type Props = {
function SectionTitle({title, description}: Props) {
return (
<div className={styles.container}>
<h1 className={styles.title}>{title}</h1>
{description ? (
<h3 className={styles.description}>{description}</h3>
) : null}
<h2 className={styles.title}>{title}</h2>
{description ? <p className={styles.description}>{description}</p> : null}
</div>
);
}
Expand Down
1 change: 1 addition & 0 deletions website/src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export type ShowcaseData = Record<string, ShowcaseApp[]>;

export type PartnerLink = {
href: string;
name: string;
className?: string;
logo: ReactNode;
};