38 Commits

Author SHA1 Message Date
Dan Abramov
230956c47f Start converting to MDX2 (doesnt work yet) 2021-11-06 16:01:35 +00:00
Dan Abramov
f288a83f2d Fix typo 2021-11-06 12:59:38 +00:00
Dan Lebowitz
e915345e61 add additional bottom padding to mobile sidebar 2021-11-06 12:42:40 +00:00
Dan Abramov
9affdc9a5a Only show sidebar scrollbars when needed (#4052)
* Adjust sidebar scrollbars

* thinner
2021-11-06 01:12:57 +00:00
Dan Abramov
69f071a357 Bump the width 2021-11-05 22:27:12 +00:00
Alexey Pyltsyn
c6a26627f2 Remove empty id attribute for h1 element (#4051) 2021-11-05 22:00:29 +00:00
Alexey Pyltsyn
b7e5753895 Remove invalid crossorigin attribute (#4050) 2021-11-05 21:57:14 +00:00
harish-sethuraman
91e42cb59a Added condition to hide challenges tab navigation when there is only one challenge (#4044) 2021-11-05 18:13:15 +00:00
Dan Abramov
7451b15015 Revert "fix(dependencies): update yarn.lock (#4045)" (#4046)
This reverts commit b249a442f4.
2021-11-05 16:29:02 +00:00
Danilo Woznica
b249a442f4 fix(dependencies): update yarn.lock (#4045)
Co-authored-by: Danilo Woznica <danilo@codesandbox.io>
2021-11-05 13:43:15 +00:00
harish-sethuraman
ef8ec922d0 Fix typos (#4042) 2021-11-05 05:39:53 +00:00
harish-sethuraman
bb2ade74e6 Add linefeed in the mdx and handle it (#4039)
* Add linefeed in the mdx and handle it

* Add preserve whitespace
2021-11-05 05:34:46 +00:00
Dan Abramov
a9a04fe59e Typo 2021-11-04 23:57:39 +00:00
Dan Abramov
9dd3d5494b Fix error color in dark mode 2021-11-04 23:08:44 +00:00
Dan Abramov
d51f70658f [Beta] Dark more tweaks (#4019)
* Make sandbox themeable

* Fix gutters

* Fix FOUCs

Co-authored-by: Dan Lebowitz <dan.lebo@me.com>
2021-11-04 22:56:40 +00:00
harish-sethuraman
5ba0ad88b8 Take system's theme for the beta site (#4022)
* Take system's theme for the site

* Add IIFE for dark mode in document load and preserve in localStorage

* Add types

* Fix SSR and respect override

Co-authored-by: Dan Abramov <dan.abramov@me.com>
2021-11-04 19:14:50 +00:00
Alexey Pyltsyn
a803dbfe19 Fix horizontal scrollbar on desktop (#4038) 2021-11-04 16:23:54 +00:00
Dan Abramov
8cd97ad66a Bump to Next 12 (#4037) 2021-11-04 00:50:54 +00:00
Dan Abramov
1c2f980f01 [Beta] Add bundle analyzer (#4036) 2021-11-04 00:00:32 +00:00
eastcoasting
58196f0305 Fix case-sensitive search term in example. (#4024)
* Fix case-sensitive search term in example.

Converting both the name and search value to lowercase solves case sensitive searching.

* Update thinking-in-react.md

* Update thinking-in-react.md

* Update thinking-in-react.md

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2021-11-03 21:31:24 +00:00
Danilo Woznica
9707812678 fix(sandpack): do not translate code blocks (#4034) 2021-11-03 21:09:55 +00:00
Sylwia Vargas
bd4e8db929 [Beta] Misc edits to text and examples
Co-authored-by: Dan Abramov <dan.abramov@me.com>
2021-11-03 21:07:33 +00:00
harish-sethuraman
8c750a9e45 Fix typo (#4021) 2021-10-29 12:45:54 +03:00
Rachel Nabors
926dbeeb7c Re-add public folder 2021-10-28 22:27:24 +01:00
Karl Horky
e348d9429c Swap wording (#4018)
Ref: https://github.com/reactjs/reactjs.org/pull/3965#discussion_r734374242
2021-10-28 22:16:28 +01:00
Dan Abramov
cb5fc20f5f deploy 2021-10-28 21:33:41 +01:00
Dan Abramov
07923227b2 Revert "Style scrollbars in dark mode (#3975)"
This reverts commit 446c15c195.
2021-10-28 21:33:41 +01:00
Dan Abramov
0a755a1f90 Update index.md 2021-10-28 21:33:41 +01:00
The Otterlord
c1d9db157f Style scrollbars in dark mode (#3975) 2021-10-28 21:33:41 +01:00
Shriram Balaji
191fff7902 fix: consoleBlock text & bg in dark mode (#3983) 2021-10-28 21:33:41 +01:00
Itai Leshem
20709b0190 Fix typo (#3998) 2021-10-28 21:33:41 +01:00
Shriram Balaji
d0d50fe16f fix: googleTranslate breaking terminal blocks (#3993)
* fix: googleTranslate breaking terminal blocks

* chore: prettier magic
2021-10-28 21:33:41 +01:00
Shriram Balaji
e056875e50 fix: googleTranslate breaks sandboxes (#3984) 2021-10-28 21:33:41 +01:00
François Chalifour
faeaf22fd1 Fix preconnect link to target search cluster (#3980)
The `appId` was retrieved from props but the `<Search>` component is never instantiated with props. So the preconnect link targeted an unknown search cluster:

```html
<link rel="preconnect" href="https://undefined-dsn.algolia.net" crossorigin="true">
```

This fixes the preconnect link by getting the `appId` from the website config.
2021-10-28 21:33:41 +01:00
R Nabors
e75356d0f3 fixing social sharing URL and description (#3974) 2021-10-28 21:33:41 +01:00
Dan Abramov
f2b8194e7c Update src/pages/community/meet-the-team.md
Co-authored-by: Hao-Ping <almigod0718@gmail.com>
2021-10-28 21:33:41 +01:00
Dan Abramov
9722d514d6 Update src/components/Seo.tsx
Co-authored-by: Lee Robinson <me@leerob.io>
2021-10-28 21:33:41 +01:00
Rachel Nabors
981db3397e Initial check-in of new React docs and website
Co-authored-by: Dan Abramov <dan.abramov@me.com>
Co-authored-by: Sylwia Vargas <sylwia.vargas@gmail.com>
Co-authored-by: Dan Lebowitz <dan.lebo@me.com>
Co-authored-by: Razvan Gradinar <grazvan@fb.com>
Co-authored-by: Jared Palmer <jared@palmer.net>
Co-authored-by: Dane Grant <danecando@gmail.com>
Co-authored-by: Dustin Goodman <dustin.s.goodman@gmail.com>
Co-authored-by: Rick Hanlon <rickhanlonii@gmail.com>
Co-authored-by: Maggie Appleton <maggie.fm.appleton@gmail.com>
Co-authored-by: Alex Moldovan <alex.n.moldovan@gmail.com>
Co-authored-by: Ives van Hoorne <ives.v.h@gmail.com>
Co-authored-by: Brian Vaughn <bvaughn@fb.com>
Co-authored-by: Dmitri Pavlutin <dpavlutin@gmail.com>
2021-10-28 21:33:41 +01:00