Commit Graph

270 Commits

Author SHA1 Message Date
dan
c69ff23653 Revert "Scroll behavior (#5182)" (#5186)
This reverts commit 641f20a9b5.
2022-10-18 16:31:59 +01:00
Adnan Is-haq Olamilekan
641f20a9b5 Scroll behavior (#5182)
* Make HTML scroll behavior smooth.

To make the site more professional, I add smoothness to the HTML scroll behavior

* Make HTML scroll behavior smooth.

To make the site more professional, I add smoothness to the HTML scroll behavior

* Make HTML scroll behavior smooth

To make the site more professional, I add smoothness to the HTML scroll behavior

* Make HTML scroll behavior smooth

To make the site more professional, I add smoothness to the HTML scroll behavior

* Make HTML scroll behavior smooth

To make the site more professional, I add smoothness to the HTML scroll behavior

* Update beta/src/styles/algolia.css

Co-authored-by: Strek <ssharishkumar@gmail.com>

* Update src/css/algolia.css

Co-authored-by: Strek <ssharishkumar@gmail.com>

* Update beta/src/styles/sandpack.css

Co-authored-by: Strek <ssharishkumar@gmail.com>

Co-authored-by: Strek <ssharishkumar@gmail.com>
2022-10-17 22:32:56 +05:30
Dan Abramov
2e5738251d Bolder CTA 2022-09-29 07:01:52 +01:00
dan
fd81031d10 Point old site banner at Beta docs (#5134)
* Point old site banner at Beta docs

* lint
2022-09-29 06:49:46 +01:00
kasahala
b8c439495e fix: css variables and layout of header and banner (#4966)
Some css variables such as banner were defined, but header css variables
were not, and layout margins were written solidly without css variables.
The layout was broken (to the extent that it was not visible), so it was
corrected.
2022-09-07 21:43:40 +01:00
Ihor Sychevskyi
a3c01e7b07 Accessibility update color contrast (#4850) 2022-08-01 17:08:18 +02:00
Swarnava Sengupta
763d57bb4e Add 18.2.0 info in website (#4747)
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2022-06-15 20:51:20 +02:00
Dan Abramov
082cdd2f59 Bump latest to 18.1 2022-04-27 20:24:26 +01:00
Ricky
74246c13b9 React 18 (#4499)
* [18] ReactDOM reference to createRoot/hydrateRoot (#4340)

* [18] ReactDOM reference to createRoot/hydrateRoot

* Update note about render and hydrate

* Match the warning text

* s/Render/render

* [18] Update ReactDOMClient docs (#4468)

* [18] Update ReactDOMClient docs

* Remove ReactDOMClient where it's obvious

* Update browser message

* Update browser message note

* Update based on feedback

* Add react-dom/client docs

* [18] Upgrade homepage examples (#4469)

* [18] Switch code samples to createRoot (#4470)

* [18] Switch code samples to createRoot

* Feedback fixes

* Feedback updates

* [18] Use hydrateRoot and root.unmount. (#4473)

* [18] Add docs for flushSync (#4474)

* [18] Add flushSync to ReactDOM docs

* Seb feedback

* More Seb feedback

* [18] Bump version to 18 (#4478)

* [18] Update browser requirements (#4476)

* [18] Update browser requirements

* Update based on feedback

* [18] Add stubs for new API references (#4477)

* [18] Add stubs for new API references

* Change order/grouping

* [18] Redirect outdated Concurrent Mode docs (#4481)

* [18] Redirect outdated Concurrent Mode docs

* Use Vercel redirects instead

* [18] Update versions page (#4482)

* [18] Update version page

* Fix prettier

* [18] Update React.lazy docs (#4483)

* [18] Add docs for useSyncExternalStore (#4487)

* [18] Add docs for useSyncExternalStore

* rm "optional"

* [18] Add docs for useInsertionEffect (#4486)

* [18] Add docs for useId (#4488)

* [18] Add docs for useId

* Update based on feedback

* Add Strict Effects to Strict Mode (#4362)

* Add Strict Effects to Strict Mode

* Update with new thinking

* [18] Update docs for useEffect timing (#4498)

* [18] Add docs for useDeferredValue (#4497)

* [18] Update suspense docs for unexpected fallbacks (#4500)

* [18] Update suspense docs for unexpected fallbacks

* Add inline code block

* Feedback fixes

* [18] Updated Suspense doc with behavior during SSR and Hydration (#4484)

* update wording

* wording

* update events

* Update content/docs/reference-react.md

Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>

* add link to selective hydration

* remove some of the implementation details

Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>

* [18] renderToPipeableStream doc (#4485)

* new streaming ssr api

* add readable stream

* code snippets

* Rename strict effects / unsafe effects to use the reusable state terminology (#4505)

* Add draft of 18 release post

* Add links to speaker Twitter profiles

* [18] Update upgrade guide

* Fix typo in blog title

* [18] Blog - add note for react native

* [18] Add changelog info to blog posts

* Edit Suspense for data fetching section

* Update date

* [18] Add links

* Consistent title case

* Update link to merged RFC

* [18] Update APIs and links

* [18] Add start/useTransition docs (#4479)

* [18] Add start/useTransition docs

* Updates based on feedback

* [18] Generate heading IDs

* Add note about Strict Mode

* Just frameworks

* Reorder, fix content

* Typos

* Clarify Suspense frameworks section

* Revert lost changes that happened when I undo-ed in my editor

Co-authored-by: salazarm <salazarm@users.noreply.github.com>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
Co-authored-by: Sebastian Markbåge <sebastian@calyptus.eu>
Co-authored-by: Andrew Clark <git@andrewclark.io>
Co-authored-by: dan <dan.abramov@gmail.com>
2022-03-29 12:03:23 -04:00
Strek
d3b66f5e4c Fixes linting issues (#4452) 2022-03-11 10:56:22 +05:30
Dmitry Vinnik | Meta
d90fd21fdb docs: Adding Social Banner in Support of Ukraine (#4397)
* Adding Social Banner with Support for Ukraine

* Changing spacing the social banner

* Fixing lint errors

* Remove external link icon from social banner

* Add banner for beta site

* Add todo

* Fix centering on mobile in old site

Co-authored-by: Rick Hanlon <rickhanlonii@gmail.com>
2022-03-02 11:07:19 -05:00
Paul O’Shannessy
e3ba7fe205 Update copyright on website (#4193)
This should be Meta now
2021-12-21 00:58:04 +00:00
Christine Abernathy
075b69cd6b Activate banner for 2021 survey (#3854) 2021-08-16 18:26:16 +01:00
Brian Vaughn
620d360621 Updated master -> main references (#3769) 2021-07-06 14:17:34 -04:00
Sanket Shah
89f3470e82 Fix broken link in the MarkdownPage.js file (#3764) 2021-07-04 10:31:38 +02:00
Brian Vaughn
d456dfbd29 Update docs and config to replace "master" with "main" branch
https://github.com/facebook/react/issues/21767
2021-06-29 13:35:55 -04:00
Andrew Clark
7b0aecbe6d New post: The Plan for React 18 (#3729)
* New post: The Plan for React 18

* Mark CM docs as stale

* Update content/blog/2021-06-08-the-plan-for-react-18.md

Co-authored-by: Ricky <rickhanlonii@gmail.com>

* Simplify

Co-authored-by: Dan Abramov <dan.abramov@me.com>
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Co-authored-by: Ricky <rickhanlonii@gmail.com>
2021-06-08 10:25:54 -07:00
Dan Abramov
f5784cb138 Use React 17.0.2 (#3590) 2021-03-22 23:00:32 +00:00
Swapnal Shahil
7a11d71b38 Fix UI feedback when downvoting a page (#3459) 2020-12-22 11:14:37 +01:00
Alex Krolick
38b4c5a33b fix date format for firefox (#3384) 2020-11-12 14:21:06 -05:00
Dan Abramov
433acaa34d Update to 17.0.1 2020-10-22 13:27:57 +01:00
Dan Abramov
55f1662337 Update to React 17 (#3343) 2020-10-20 21:57:29 +01:00
Dan Abramov
b5003c10d1 Update for the new releases 2020-10-14 21:05:59 +01:00
Dan Abramov
8515d08327 Change datez 2020-10-01 22:44:15 +01:00
R Nabors
aef8fb3566 2020 Community survey banner (#3289)
* Adding survey banner for community

* fixing up a kludge for the banner, making the graphic look less like swearing

* updating banner start date

* make the banner smaller

* Close as a button

* fixes

* Remove the arrow

* Updating image sizes, making the arrow do a little slide

* Revert "Remove the arrow"

This reverts commit 3dddae8108.

* Remove extra space

* Legibility tweaks

* Fixing border radius

* Making close button a real button

* Remove trailing space, plz don't re-add, Prettier

* Centering that banner

* Modified Survey header styles

* Inline Banner content at the usage site

* Fix flash by using CSS variables

Co-authored-by: Dan Abramov <dan.abramov@me.com>
Co-authored-by: Brian Vaughn <bvaughn@fb.com>
2020-10-01 20:44:50 +01:00
R Nabors
32e3c7a6f9 Banner scheduling and snooze functionality (#3283)
Co-authored-by: Ricky <rickhanlonii@gmail.com>
2020-09-28 12:01:56 +01:00
Dan Abramov
2e02d9caf6 Add generic banner infrastructure (#3274) 2020-09-25 13:17:56 +01:00
Dan Abramov
1becaff62a End the banner campaign (#3275) 2020-09-21 15:51:11 +01:00
Kavin Desi Valli
d493015fb7 Fix Navbar covering heading while using anchor in docs (#3235)
* Fix Navbar covering heading while using anchor in docs

* reduced number of lines of code from 2 to 1

* Forgot to do tests before. Have done those now with no errors
2020-09-01 22:56:51 -04:00
R Nabors
dbed3cf411 Removing those darn quotes. (#3172) 2020-08-04 19:58:42 +01:00
R Nabors
64c51d419f Adding a little feedback form to the bottom of each page using GA (#3170) 2020-08-04 17:16:25 +01:00
David Barratt
08503a8318 Make og:type article for markdown pages (#3146) (#3147) 2020-08-04 11:07:56 +01:00
Rusimbi Patrick
bb8b0147a8 Fix community anchor link to make it clear on all desktop/laptop screens (#3134) 2020-07-25 23:47:58 -04:00
Saswata Mukherjee
0ad7e3a1f9 Correct broken link in acknowledgements.html.js (#3111) 2020-07-16 15:49:49 +01:00
Kate Efimova
649298b77d Add sidebar item padding (#3090)
* Added padding to the left and to the right

* Switched it to MetaTitle
2020-07-07 23:40:46 -04:00
Brian Vaughn
72b9b1aab8 Added Privacy and Terms footer links (#3087) 2020-07-07 11:32:39 -04:00
Brian Vaughn
d603d48959 Added copyright header to CSS files (#3089) 2020-07-07 11:12:49 -04:00
Brian Vaughn
3e4f2687c6 Update copyright headers (#3086)
Added and updated copyright headers.

Added some missing Flow types.

Removed an invalid prop-types import.
2020-07-07 10:35:57 -04:00
Sunil Pai
c9b990070f remove grayscale treatment (#3024)
As per https://twitter.com/sliminality/status/1269033413488459776, there's feedback that the contrast isn't great for reading. I myself have trouble with low contrast text, (and long sightedness), and I thought it was fine. I was clearly mistaken. Removing this for now to get back to a non harmful position, and we can decide later what to do instead.
2020-06-05 18:55:25 -07:00
Dan Abramov
7aace64d6a Fix flow 2020-06-03 15:53:59 +01:00
Dan Abramov
76f696dc8c CSS fixes for BLM styling 2020-06-03 15:43:38 +01:00
Dan Abramov
5eeb441074 Add a BLM banner 2020-06-01 17:04:53 +01:00
Sunil Pai
b4b59062e5 #blacklivesmatter (#3004) 2020-06-01 15:09:53 +01:00
Vlad Denisov
1c71049cfb Update Footer link href (#2950) 2020-05-09 22:46:51 +03:00
Andrew Clark
e9cdc81ff3 Update for 16.13.1 (#2845) 2020-03-19 14:42:53 -07:00
Fran Zekan
91ffdb0812 Upgrade to Node 12 LTS (#2831)
* Upgrade to node 12 LTS

* Run prettier
2020-03-14 13:24:39 +00:00
Joe Del
1695e26dc8 fix broken link to babel repl on jsx-compiler page (#2349) 2020-03-09 13:28:21 +00:00
38elements
b39931e98a Fix og:image (#2745) 2020-03-09 12:01:49 +00:00
Sunil Pai
1b5c6d3d13 Blog post for v16.13.0 (#2779)
* Blogpost for v16.13.0

* Tweak

* Update 2020-03-02-react-v16.13.0.md

* update react/react-dom versions

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2020-02-26 20:44:54 +00:00
Luna Ruan
0fb4b10aeb Update for 16.12 (#2568) 2019-11-14 19:03:35 -08:00