Skip to content

Commit de5e793

Browse files
ph1pawxiaoxian20200ldhgaearonthebergamo
authored
Merge pull request #306 from reactjs/sync-19aa5b48
* fix: correct prev link in `hello-world` (#5595) * fix typo (#5611) * Fix fonts * Update .gitignore * fix(beta): typo on renderToReadableStream assetMap (#5621) * Update legacy.md * fix og images * A typo (#5644) It should be `useContext(AuthContext)` whereas it's `useContext(AuthProvider)`. * Add React Norway to events pages (#5641) * Add React Norway to conferences page * Add React Norway to beta docs events * (tic-tac-toe) fix or-and in sentence (#5646) * 🐛 (tic-tac-toe) fix or-and in sentence * chore: use an just like previous para --------- Co-authored-by: Delphine Bugner <[email protected]> Co-authored-by: Strek <[email protected]> * Update react-redux connect documentation link on HOC page to updated react redux docs (#5624) * Update team page ghstack-source-id: fd330d5eeb1e050d792064492193dfbdabee24a5 Pull Request resolved: reactjs/react.dev#5658 * Docs: Fix `useEffect` link typo in `react/useLayoutEffect.md` (#5661) * fix typo * fix typo * chore: update text color of console block (#5666) * missing word: "in" (#5665) * Fix a misleading style in the example (#5660) * Make consistent * Update higher-order-components.md --------- Co-authored-by: Xavi Lee <[email protected]> Co-authored-by: 이동현 <[email protected]> Co-authored-by: Dan Abramov <[email protected]> Co-authored-by: Marcos Bérgamo <[email protected]> Co-authored-by: Sophie Alpert <[email protected]> Co-authored-by: Dan Lebo <[email protected]> Co-authored-by: Ruokai Zhao <[email protected]> Co-authored-by: Sean Keegan <[email protected]> Co-authored-by: Delphine Bugner <[email protected]> Co-authored-by: Delphine Bugner <[email protected]> Co-authored-by: Strek <[email protected]> Co-authored-by: Sami Lieberman <[email protected]> Co-authored-by: Joe Savona <[email protected]> Co-authored-by: Laube <[email protected]> Co-authored-by: Kk Shinkai <[email protected]> Co-authored-by: Phil <[email protected]>
2 parents 602cd1f + 7b44f2a commit de5e793

23 files changed

+45
-21
lines changed

beta/.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,4 @@ yarn-error.log*
3535
.vercel
3636

3737
# external fonts
38-
public/fonts/Optimistic_Display_W_Lt.woff2
39-
public/fonts/Optimistic_Display_W_Md.woff2
40-
public/fonts/Optimistic_Display_W_Bd.woff2
38+
public/fonts/Optimistic_*.woff2

beta/public/images/og-blog.png

-74.6 KB
Loading
-79.1 KB
Loading

beta/public/images/og-home.png

-8.43 KB
Loading

beta/public/images/og-learn.png

-75.5 KB
Loading
-385 KB
Loading

beta/public/images/og-unknown.png

-8.43 KB
Loading
106 KB
Loading

beta/scripts/downloadFonts.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,15 @@ execSync(
1515
execSync(
1616
'curl https://conf.reactjs.org/fonts/Optimistic_Display_W_Bd.woff2 --output public/fonts/Optimistic_Display_W_Bd.woff2'
1717
);
18+
execSync(
19+
'curl https://conf.reactjs.org/fonts/Optimistic_Display_W_SBd.woff2 --output public/fonts/Optimistic_Display_W_SBd.woff2'
20+
);
21+
execSync(
22+
'curl https://conf.reactjs.org/fonts/Optimistic_Text_W_Rg.woff2 --output public/fonts/Optimistic_Text_W_Rg.woff2'
23+
);
24+
execSync(
25+
'curl https://conf.reactjs.org/fonts/Optimistic_Text_W_Md.woff2 --output public/fonts/Optimistic_Text_W_Md.woff2'
26+
);
27+
execSync(
28+
'curl https://conf.reactjs.org/fonts/Optimistic_Text_W_Bd.woff2 --output public/fonts/Optimistic_Text_W_Bd.woff2'
29+
);

beta/src/components/MDX/ConsoleBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function ConsoleBlock({level = 'error', children}: ConsoleBlockProps) {
4444
<Box className="bg-gray-300 dark:bg-gray-90" width="15px" />
4545
</div>
4646
<div className="flex text-sm px-4">
47-
<div className="border-b-2 border-gray-300 dark:border-gray-90">
47+
<div className="border-b-2 border-gray-300 dark:border-gray-90 dark:text-gray-30 text-gray-50">
4848
Console
4949
</div>
5050
<div className="px-4 py-2 flex">

0 commit comments

Comments
 (0)