Commit Graph

73 Commits

Author SHA1 Message Date
yang
aa70dcedc6 fix: correct the link to navigate to the team page (#4146)
* fix: correct the link to navigate to the team page

* remove .html

Co-authored-by: Strek <harish.sethuraman@freshworks.com>
2021-12-04 13:46:21 +05:30
CatsAndDogs123
86eb509781 [fix]: add-listner is deprecated, switched those to add-event-listner (#4093) 2021-12-03 17:30:05 +05:30
Strek
f625b86a48 Comment the script (#4139) 2021-12-01 16:06:13 +00:00
Soichiro Miki
a655e410fa Fix a typo (#4138) 2021-12-01 18:27:34 +05:30
Strek
01afd01325 [Beta]Move all possible style to tailwind classes (#4054)
* Move all possible style to tailwind classes

* Update Sidebar.tsx

* fix-collapsable-color

* dry run and commit

* Update SidebarLink.tsx

* Fixes review comments for aria tags

* Remove extended tailwind configs

* Update tailwind.config.js

* Update Sidebar.tsx
2021-11-29 23:17:46 +05:30
Strek
3f3e109ad7 Fix markdown comment breakage in community page (#4127) 2021-11-29 16:13:17 +00:00
Marek Bodinger
0057efa12c Fix description to match code in referencing-values-with-refs.md (#4097) 2021-11-25 16:46:18 +00:00
Sofya Tuymedova
d8800be079 chore: fix typos (#4121) 2021-11-25 16:23:31 +00:00
Strek
c6353b9853 chore: fix typo (#4104) 2021-11-25 08:52:06 +05:30
Strek
40c8cd2df9 Add check-all script for beta site (#4120)
* Update package.json

* Update README.md

* Update package.json

* Add tsc for check-all as well

* Update README.md

* Update README.md

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2021-11-24 17:28:14 +00:00
Dan Abramov
bd727cfc88 Update README.md 2021-11-23 18:36:32 +00:00
Strek
17ad2cbc71 Fixes unwanted scrolls in mobile (#4114)
* added word break

* Update PageHeading.tsx
2021-11-18 21:17:15 +00:00
Strek
49a552c1c1 Fix prettier CI and add it to pre commit (#4100)
* Add prettier before commit and during CI

* Add workflow

* Reverse merge main to branch

* dry run prettier

* dry run prettier

* [warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine

* Revert "[warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine"

This reverts commit 43dbe9ed3f.

* Revert "dry run prettier"

This reverts commit b62948042c.

* Revert "dry run prettier"

This reverts commit 382f9a4691.

* Revert "Reverse merge main to branch"

This reverts commit 43667eaf29.

* [warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine
2021-11-15 18:23:25 +00:00
Strek
ea086bd312 Fixing Eslint configuration (#4087)
* fix-collapsable-color

* Made Eslint work and added next's eslint config

* Add lint:fix to pre commit rule

* Reverts older anchor links

* Fixed review comments

* Replace with spaces like before

* Update DocsFooter.tsx

* Update arrow function

* Update CodeBlock.tsx

* Update MDXComponents.tsx

* Update SidebarLink.tsx
2021-11-15 15:33:15 +00:00
Titus
4022f9774b Use custom ID format that works better with MDX 2 (#4105)
* Fix two unicode whitespaces which are invalid

* Use custom ID format that works better with MDX 2

* Fix sebastian

* remark-slug as dev dep
2021-11-15 04:20:32 +00:00
harish-sethuraman
7254849ade Stop zooming for search input (#4094) 2021-11-12 14:33:26 +00:00
harish-sethuraman
d9901c44d3 Update algolia.css (#4092) 2021-11-12 11:21:52 +00:00
harish-sethuraman
64e236cf84 Typo fixes (#4091)
* chore: fix typo

* Update referencing-values-with-refs.md

* Fix typo of typo

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-11-12 08:56:28 +03:00
Alexey Pyltsyn
eb84de7444 Enable dark mode in browser UI (#4089) 2021-11-11 21:36:01 +00:00
Alexey Pyltsyn
719aa3c377 Allow page zooming/scaling (#4082)
* Allow page zooming/scaling

* Fix for iOS
2021-11-11 16:50:49 +00:00
Alexey Pyltsyn
5c1f51316f Add support for Unicode chars when detect headings IDs (#4086) 2021-11-11 12:35:22 +00:00
harish-sethuraman
f31c9fdae8 Remove unwanted dependency (#4083) 2021-11-11 00:32:38 +00:00
Alexey Pyltsyn
e206d8cdf1 Set page layout dynamically (#4084) 2021-11-11 00:27:46 +00:00
Alexey Pyltsyn
0b7fd7b7a4 Add git hook to generate headings ids (#4043)
* Add git hook to generate headings ids

* Fixes "Analyze Bundle" workflow
2021-11-10 18:19:44 +00:00
harish-sethuraman
8333b6d127 Fixes wrong breadcrumb for 404 page (#4074)
* Fixes wrong breadcrumb for 404 page

* Change Home as default layout

* Add layout Learn to the pages inside learn
2021-11-10 18:10:20 +00:00
Dan Lebowitz
29fbe65acb fix safari bug 2021-11-10 17:50:07 +00:00
Dan Lebowitz
23c09e0072 polish dark mode illustrations 2021-11-09 23:07:39 +00:00
Dan Abramov
b761b81322 Fix typo 2021-11-09 19:22:49 +00:00
harish-sethuraman
967bf1f152 Update doc (#4077) 2021-11-09 11:18:22 +00:00
Danilo Woznica
8ed148b2ca fix(sandpack): upgrade dependencies (#4075)
* fix(sandpack): upgrade dependencies

* fix(sandpack): remove selector that relies on the editor state
2021-11-08 15:32:48 +00:00
beet
7f995398f4 Fix alternative solution to add and remove a CSS class (#4027) (#4072)
* Fix alternative solution to add and remove a CSS class (#4027)

* Update reacting-to-input-with-state.md

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2021-11-07 03:31:17 +00:00
Matthew Martinez
c29bcd7ed7 edit sandpack style overrides to also cover 'dirty' case (#4070)
Co-authored-by: Matt Martinez <matmartinez@bills.com>
2021-11-07 00:49:26 +00:00
Dan Abramov
ff7d2a1efa Try to add bundle analyzer 2021-11-06 16:14:19 +00:00
Dan Abramov
075b786344 Restore scroll after 'show less' (#4056)
* Restore scroll after 'show less'

* Get the whole sandbox into view
2021-11-06 14:44:15 +00:00
Alexey Pyltsyn
aa5212b1b8 Adjust code line numbers background (#4055)
* Adjust code line numbers background

* Fixes after review
2021-11-06 14:41:08 +00:00
Alexey Pyltsyn
22f4595dac Fix scroll to last scroll position after close modal search (#4057) 2021-11-06 14:30:12 +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