Skip to content

Commit 3d79c26

Browse files
committed
chore(sync): handle all merge conflicts
1 parent 9cadc19 commit 3d79c26

File tree

11 files changed

+52
-174
lines changed

11 files changed

+52
-174
lines changed

src/components/Layout/Feedback.tsx

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* Copyright (c) Facebook, Inc. and its affiliates.
33
*/
44

5-
import {useState} from 'react';
6-
import {useRouter} from 'next/router';
75
import cn from 'classnames';
6+
import {useRouter} from 'next/router';
7+
import {useState} from 'react';
88

99
export function Feedback({onSubmit = () => {}}: {onSubmit?: () => void}) {
1010
const {asPath} = useRouter();
@@ -66,23 +66,13 @@ function SendFeedback({onSubmit}: {onSubmit: () => void}) {
6666
'max-w-custom-xs w-80 lg:w-auto py-3 shadow-lg rounded-lg m-4 bg-wash dark:bg-gray-95 px-4 flex',
6767
{exit: isSubmitted}
6868
)}>
69-
<<<<<<< HEAD
70-
<p className="w-full font-bold text-primary dark:text-primary-dark text-lg me-4">
69+
<p className="w-full text-lg font-bold text-primary dark:text-primary-dark me-4">
7170
{isSubmitted ? 'Merci pour votre retour !' : 'Cette page est utile ?'}
7271
</p>
7372
{!isSubmitted && (
7473
<button
7574
aria-label="Oui"
76-
className="bg-secondary-button dark:bg-secondary-button-dark rounded-lg text-primary dark:text-primary-dark px-3 me-2"
77-
=======
78-
<p className="w-full text-lg font-bold text-primary dark:text-primary-dark me-4">
79-
{isSubmitted ? 'Thank you for your feedback!' : 'Is this page useful?'}
80-
</p>
81-
{!isSubmitted && (
82-
<button
83-
aria-label="Yes"
8475
className="px-3 rounded-lg bg-secondary-button dark:bg-secondary-button-dark text-primary dark:text-primary-dark me-2"
85-
>>>>>>> 3563d95efe8719bdae8bbd258e6ab4134753348b
8676
onClick={() => {
8777
setIsSubmitted(true);
8878
onSubmit();
@@ -93,13 +83,8 @@ function SendFeedback({onSubmit}: {onSubmit: () => void}) {
9383
)}
9484
{!isSubmitted && (
9585
<button
96-
<<<<<<< HEAD
9786
aria-label="Non"
98-
className="bg-secondary-button dark:bg-secondary-button-dark rounded-lg text-primary dark:text-primary-dark px-3"
99-
=======
100-
aria-label="No"
10187
className="px-3 rounded-lg bg-secondary-button dark:bg-secondary-button-dark text-primary dark:text-primary-dark"
102-
>>>>>>> 3563d95efe8719bdae8bbd258e6ab4134753348b
10388
onClick={() => {
10489
setIsSubmitted(true);
10590
onSubmit();

src/components/Layout/Page.tsx

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,26 @@
22
* Copyright (c) Facebook, Inc. and its affiliates.
33
*/
44

5-
import {Suspense} from 'react';
65
import * as React from 'react';
7-
import {useRouter} from 'next/router';
8-
import {SidebarNav} from './SidebarNav';
9-
import {Footer} from './Footer';
10-
import {Toc} from './Toc';
11-
import SocialBanner from '../SocialBanner';
12-
import {DocsPageFooter} from 'components/DocsFooter';
13-
import {Seo} from 'components/Seo';
6+
147
import ButtonLink from 'components/ButtonLink';
8+
import {DocsPageFooter} from 'components/DocsFooter';
9+
import {Footer} from './Footer';
10+
import {HomeContent} from './HomeContent';
1511
import {IconNavArrow} from 'components/Icon/IconNavArrow';
1612
import PageHeading from 'components/PageHeading';
17-
import {getRouteMeta} from './getRouteMeta';
13+
import type {RouteItem} from 'components/Layout/getRouteMeta';
14+
import {Seo} from 'components/Seo';
15+
import {SidebarNav} from './SidebarNav';
16+
import SocialBanner from '../SocialBanner';
17+
import {Suspense} from 'react';
18+
import {Toc} from './Toc';
1819
import {TocContext} from '../MDX/TocContext';
1920
import type {TocItem} from 'components/MDX/TocContext';
20-
import type {RouteItem} from 'components/Layout/getRouteMeta';
21-
import {HomeContent} from './HomeContent';
2221
import {TopNav} from './TopNav';
2322
import cn from 'classnames';
23+
import {getRouteMeta} from './getRouteMeta';
24+
import {useRouter} from 'next/router';
2425

2526
import(/* webpackPrefetch: true */ '../MDX/CodeBlock/CodeBlock');
2627

@@ -159,15 +160,9 @@ export function Page({children, toc, routeTree, meta, section}: PageProps) {
159160
}
160161
{showSurvey && (
161162
<>
162-
<<<<<<< HEAD
163-
<div className="flex flex-col items-center m-4 p-4">
164-
<p className="font-bold text-primary dark:text-primary-dark text-lg mb-4">
165-
Comment trouvez-vous ces docs ?
166-
=======
167163
<div className="flex flex-col items-center p-4 m-4">
168164
<p className="mb-4 text-lg font-bold text-primary dark:text-primary-dark">
169-
How do you like these docs?
170-
>>>>>>> 3563d95efe8719bdae8bbd258e6ab4134753348b
165+
Comment trouvez-vous ces docs ?
171166
</p>
172167
<div>
173168
<ButtonLink

src/components/Layout/TopNav/TopNav.tsx

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import * as React from 'react';
66

7-
import {disableBodyScroll, enableBodyScroll} from 'body-scroll-lock';
87
import {
98
Suspense,
109
startTransition,
@@ -13,18 +12,19 @@ import {
1312
useRef,
1413
useState,
1514
} from 'react';
15+
import {disableBodyScroll, enableBodyScroll} from 'body-scroll-lock';
1616

17-
import cn from 'classnames';
17+
import {Feedback} from '../Feedback';
1818
import {IconClose} from 'components/Icon/IconClose';
1919
import {IconHamburger} from 'components/Icon/IconHamburger';
2020
import {IconSearch} from 'components/Icon/IconSearch';
21-
import {Search} from 'components/Search';
22-
import NextLink from 'next/link';
23-
import {useRouter} from 'next/router';
2421
import {Logo} from '../../Logo';
25-
import {Feedback} from '../Feedback';
26-
import {SidebarRouteTree} from '../Sidebar/SidebarRouteTree';
22+
import NextLink from 'next/link';
2723
import type {RouteItem} from '../getRouteMeta';
24+
import {Search} from 'components/Search';
25+
import {SidebarRouteTree} from '../Sidebar/SidebarRouteTree';
26+
import cn from 'classnames';
27+
import {useRouter} from 'next/router';
2828

2929
declare global {
3030
interface Window {
@@ -268,15 +268,9 @@ export default function TopNav({
268268
'flex 3xl:w-[56rem] 3xl:mx-0 relative ps-4 pe-1 py-1 h-10 bg-gray-30/20 dark:bg-gray-40/20 outline-none focus:outline-link betterhover:hover:bg-opacity-80 pointer items-center text-start w-full text-gray-30 rounded-full align-middle text-base'
269269
)}
270270
onClick={onOpenSearch}>
271-
<<<<<<< HEAD
272-
<IconSearch className="me-3 align-middle text-gray-30 shrink-0 group-betterhover:hover:text-gray-70" />
273-
Recherche
274-
<span className="ms-auto hidden sm:flex item-center me-1">
275-
=======
276271
<IconSearch className="align-middle me-3 text-gray-30 shrink-0 group-betterhover:hover:text-gray-70" />
277-
Search
272+
Recherche
278273
<span className="hidden ms-auto sm:flex item-center me-1">
279-
>>>>>>> 3563d95efe8719bdae8bbd258e6ab4134753348b
280274
<Kbd data-platform="mac"></Kbd>
281275
<Kbd data-platform="win" wide>
282276
Ctrl

src/components/MDX/TeamMember.tsx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
*/
44

55
import * as React from 'react';
6-
import Image from 'next/image';
7-
import {IconTwitter} from '../Icon/IconTwitter';
8-
import {IconThreads} from '../Icon/IconThreads';
9-
import {IconGitHub} from '../Icon/IconGitHub';
6+
107
import {ExternalLink} from '../ExternalLink';
118
import {H3} from './Heading';
9+
import {IconGitHub} from '../Icon/IconGitHub';
1210
import {IconLink} from 'components/Icon/IconLink';
11+
import {IconThreads} from '../Icon/IconThreads';
12+
import {IconTwitter} from '../Icon/IconTwitter';
13+
import Image from 'next/image';
1314

1415
interface TeamMemberProps {
1516
name: string;
@@ -66,7 +67,7 @@ export function TeamMember({
6667
{twitter && (
6768
<div className="me-4">
6869
<ExternalLink
69-
aria-label="React on Twitter"
70+
aria-label="Réagissez sur Twitter"
7071
href={`https://twitter.com/${twitter}`}
7172
className="hover:text-primary dark:text-primary-dark flex flex-row items-center">
7273
<IconTwitter className="pe-1" />
@@ -77,7 +78,7 @@ export function TeamMember({
7778
{threads && (
7879
<div className="me-4">
7980
<ExternalLink
80-
aria-label="React on Threads"
81+
aria-label="Réagissez sur Threads"
8182
href={`https://threads.net/${threads}`}
8283
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
8384
<IconThreads className="pe-1" />
@@ -88,7 +89,7 @@ export function TeamMember({
8889
{github && (
8990
<div className="me-4">
9091
<ExternalLink
91-
aria-label="GitHub Profile"
92+
aria-label="Profil GitHub"
9293
href={`https://github.com/${github}`}
9394
className="hover:text-primary dark:text-primary-dark flex flex-row items-center">
9495
<IconGitHub className="pe-1" /> {github}
@@ -97,7 +98,7 @@ export function TeamMember({
9798
)}
9899
{personal && (
99100
<ExternalLink
100-
aria-label="Personal Site"
101+
aria-label="Site personnel"
101102
href={`https://${personal}`}
102103
className="hover:text-primary dark:text-primary-dark flex flex-row items-center">
103104
<IconLink className="pe-1" /> {personal}

src/content/blog/2022/06/15/react-labs-what-we-have-been-working-on-june-2022.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ Le 15 juin 2022 par [Andrew Clark](https://twitter.com/acdlite), [Dan Abramov](h
88

99
<Intro>
1010

11-
<<<<<<< HEAD
1211
[React 18](/blog/2022/03/29/react-v18) a pris des années, mais il était porteur de précieuses leçons pour l'équipe React. Sa sortie était l'aboutissement de nombreuses années de recherche, en explorant de nouvelles voies. Certaines de ces tentatives ont réussi ; mais bien davantage se sont révélées des impasses qui nous ont toutefois fourni de nouvelles pistes. Une des leçons que nous en avons tirées, c'est qu'il est frustrant pour la communauté d'attendre la sortie de nouvelles fonctionnalités sans que nous communiquions sur nos travaux.
13-
=======
14-
[React 18](/blog/2022/03/29/react-v18) was years in the making, and with it brought valuable lessons for the React team. Its release was the result of many years of research and exploring many paths. Some of those paths were successful; many more were dead-ends that led to new insights. One lesson we’ve learned is that it’s frustrating for the community to wait for new features without having insight into these paths that we’re exploring.
15-
>>>>>>> 3563d95efe8719bdae8bbd258e6ab4134753348b
1612

1713
</Intro>
1814

src/content/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ Le 22 mars 2023 par [Joseph Savona](https://twitter.com/en_JS), [Josh Story](htt
88

99
<Intro>
1010

11-
<<<<<<< HEAD
1211
Dans les billets React Labs, nous vous parlons de nos projets de recherche et développement actifs. Depuis notre [dernier bulletin](/blog/2022/06/15/react-labs-what-we-have-been-working-on-june-2022), nous avons fait des progrès significatifs et nous aimerions partager ce que nous avons appris.
13-
=======
14-
In React Labs posts, we write about projects in active research and development. We've made significant progress on them since our [last update](/blog/2022/06/15/react-labs-what-we-have-been-working-on-june-2022), and we'd like to share what we learned.
15-
>>>>>>> 3563d95efe8719bdae8bbd258e6ab4134753348b
1612

1713
</Intro>
1814

src/content/community/conferences.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ March 22, 2024. In-person in Paris, France + Remote (hybrid)
1818
### React Miami 2024 {/*react-miami-2024*/}
1919
April 19 - 20, 2024. In-person in Miami, FL, USA
2020

21-
[Website](https://reactmiami.com/) - [Twitter](https://twitter.com/ReactMiamiConf)
21+
[Site web](https://reactmiami.com/) - [Twitter](https://twitter.com/ReactMiamiConf)
2222

2323
### App.js Conf 2024 {/*appjs-conf-2024*/}
2424
May 22 - 24, 2024. In-person in Kraków, Poland + remote

0 commit comments

Comments
 (0)