Skip to content

Commit e69ec58

Browse files
authored
rm survey and fix old links (#6828)
1 parent a6450b9 commit e69ec58

File tree

4 files changed

+4
-34
lines changed

4 files changed

+4
-34
lines changed

src/components/Layout/Page.tsx

+1-31
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ import {Toc} from './Toc';
1111
import SocialBanner from '../SocialBanner';
1212
import {DocsPageFooter} from 'components/DocsFooter';
1313
import {Seo} from 'components/Seo';
14-
import ButtonLink from 'components/ButtonLink';
15-
import {IconNavArrow} from 'components/Icon/IconNavArrow';
1614
import PageHeading from 'components/PageHeading';
1715
import {getRouteMeta} from './getRouteMeta';
1816
import {TocContext} from '../MDX/TocContext';
@@ -105,12 +103,10 @@ export function Page({
105103
let hasColumns = true;
106104
let showSidebar = true;
107105
let showToc = true;
108-
let showSurvey = true;
109106
if (isHomePage || isBlogIndex) {
110107
hasColumns = false;
111108
showSidebar = false;
112109
showToc = false;
113-
showSurvey = false;
114110
} else if (section === 'blog') {
115111
showToc = false;
116112
hasColumns = false;
@@ -178,33 +174,7 @@ export function Page({
178174
)}>
179175
{!isHomePage && (
180176
<div className="w-full px-5 pt-10 mx-auto sm:px-12 md:px-12 md:pt-12 lg:pt-10">
181-
{
182-
<hr className="mx-auto max-w-7xl border-border dark:border-border-dark" />
183-
}
184-
{showSurvey && (
185-
<>
186-
<div className="flex flex-col items-center p-4 m-4">
187-
<p className="mb-4 text-lg font-bold text-primary dark:text-primary-dark">
188-
How do you like these docs?
189-
</p>
190-
<div>
191-
<ButtonLink
192-
href="https://www.surveymonkey.co.uk/r/PYRPF3X"
193-
className="mt-1"
194-
type="primary"
195-
size="md"
196-
target="_blank">
197-
Take our survey!
198-
<IconNavArrow
199-
displayDirection="end"
200-
className="inline ms-1"
201-
/>
202-
</ButtonLink>
203-
</div>
204-
</div>
205-
<hr className="mx-auto max-w-7xl border-border dark:border-border-dark" />
206-
</>
207-
)}
177+
<hr className="mx-auto max-w-7xl border-border dark:border-border-dark" />
208178
</div>
209179
)}
210180
<div

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ We are working on a new version for the Interaction Tracing API (tentatively cal
7777

7878
Last year, we announced the beta version of the new React documentation website ([later shipped as react.dev](/blog/2023/03/16/introducing-react-dev)) of the new React documentation website. The new learning materials teach Hooks first and has new diagrams, illustrations, as well as many interactive examples and challenges. We took a break from that work to focus on the React 18 release, but now that React 18 is out, we’re actively working to finish and ship the new documentation.
7979

80-
We are currently writing a detailed section about effects, as we’ve heard that is one of the more challenging topics for both new and experienced React users. [Synchronizing with Effects](/learn/synchronizing-with-effects) is the first published page in the series, and there are more to come in the following weeks. When we first started writing a detailed section about effects, we’ve realized that many common effect patterns can be simplified by adding a new primitive to React. We’ve shared some initial thoughts on that in the [useEvent RFC](https://github.com/reactjs/rfcs/pull/220). It is currently in early research, and we are still iterating on the idea. We appreciate the community’s comments on the RFC so far, as well as the [feedback](https://github.com/reactjs/reactjs.org/issues/3308) and contributions to the ongoing documentation rewrite. We’d specifically like to thank [Harish Kumar](https://github.com/harish-sethuraman) for submitting and reviewing many improvements to the new website implementation.
80+
We are currently writing a detailed section about effects, as we’ve heard that is one of the more challenging topics for both new and experienced React users. [Synchronizing with Effects](/learn/synchronizing-with-effects) is the first published page in the series, and there are more to come in the following weeks. When we first started writing a detailed section about effects, we’ve realized that many common effect patterns can be simplified by adding a new primitive to React. We’ve shared some initial thoughts on that in the [useEvent RFC](https://github.com/reactjs/rfcs/pull/220). It is currently in early research, and we are still iterating on the idea. We appreciate the community’s comments on the RFC so far, as well as the [feedback](https://github.com/reactjs/react.dev/issues/3308) and contributions to the ongoing documentation rewrite. We’d specifically like to thank [Harish Kumar](https://github.com/harish-sethuraman) for submitting and reviewing many improvements to the new website implementation.
8181

8282
*Thanks to [Sophie Alpert](https://twitter.com/sophiebits) for reviewing this blog post!*

src/content/blog/2023/03/16/introducing-react-dev.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ We hope that this approach will make the API reference useful not only as a way
613613

614614
## What's next? {/*whats-next*/}
615615

616-
That's a wrap for our little tour! Have a look around the new website, see what you like or don't like, and keep the feedback coming in the [anonymous survey](https://www.surveymonkey.co.uk/r/PYRPF3X) or in our [issue tracker](https://github.com/reactjs/reactjs.org/issues).
616+
That's a wrap for our little tour! Have a look around the new website, see what you like or don't like, and keep the feedback coming in our [issue tracker](https://github.com/reactjs/react.dev/issues).
617617

618618
We acknowledge this project has taken a long time to ship. We wanted to maintain a high quality bar that the React community deserves. While writing these docs and creating all of the examples, we found mistakes in some of our own explanations, bugs in React, and even gaps in the React design that we are now working to address. We hope that the new documentation will help us hold React itself to a higher bar in the future.
619619

src/content/community/docs-contributors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Docs Contributors
44

55
<Intro>
66

7-
React documentation is written and maintained by the [React team](/community/team) and [external contributors.](https://github.com/reactjs/reactjs.org/graphs/contributors) On this page, we'd like to thank a few people who've made significant contributions to this site.
7+
React documentation is written and maintained by the [React team](/community/team) and [external contributors.](https://github.com/reactjs/react.dev/graphs/contributors) On this page, we'd like to thank a few people who've made significant contributions to this site.
88

99
</Intro>
1010

0 commit comments

Comments
 (0)