Commit Graph

50 Commits

Author SHA1 Message Date
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
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
5eeb441074 Add a BLM banner 2020-06-01 17:04:53 +01:00
Tan Li Hau
66cc1b0e92 Align the meta title (#2514) 2019-11-04 22:59:35 +00:00
Nat Alison
c792f7d29f Fix eslint errors (#1734) 2019-02-25 15:56:53 -08:00
Dustin Schau
7d12082d8b fix: prevent gatsby file detection from breaking path field (#1226)
Fixes #1088

This should fix the path issues that people intermittently run into.
Gatsby sees the relative path (and the parent node with an absolute
path), joins on the parent path and the relative path, and presumes it's
a file... which is normally good, but which here is not what we want
beacuse then we're getting a resolver of type file instead of type
string referring to the relative path of the document.

This seems to fix a (long standing?) bug where the "Edit this Page"
button is broken, as well. e.g. see [this page](https://reactjs.org/community/support.html) which _should_ have an Edit this Page button

I'd need to think more as to whether there's a cleaner fix here, but
this seems to work pretty well!
2018-10-03 15:02:44 -07:00
Sophie Alpert
a78049a5da Fix number alignment in sidebar (#1203)
![screenshot](https://user-images.githubusercontent.com/6820/46177889-6cf2b480-c269-11e8-8a92-182b3c225e8a.png)
2018-09-27 18:48:17 -04:00
Alexander Nanberg
71b03486c0 Upgrade to Gatsby v2 (#1104)
* Upgrade to Gatsby v2

* Remove unnecessary polyfills since gatsby already provides them

* Move global styles to gatsby-browser

* Add fb comment and convert to cjs

* Revert to use pageQuery again

* Add back html.js

* Update dependencies

* Move TitleAndMetaTags

* Replace glamor/reset with normalize.css which fixes style order in prod

* Prettier formatting

* Remove unused types

* Remove old layout

* Fix versions link

* Update deps

* Update deps

* Remove hack since it's no longer needed

* Update dependencies

* Fix build error

* Fix prettier config resolution

* Update gatsby

* Remove custom onCreatePage logic

* Update dependencies

* Fix build

* Update dependencies

* prettier formatting

* update dependencies

* add custom babel config for flow

* upgrade dependencies

* update dependencies

* use stable gatsby release
2018-09-19 13:11:19 +01:00
Sophie Alpert
0e4f45fa24 – 2018-08-17 13:21:31 -07:00
Alex Krolick
d9cd3e311f upgrade some gatsby deps 2018-07-16 21:43:51 -07:00
Dan Abramov
17c50df9d9 Explicitly order Main Concepts (#957) 2018-06-11 02:50:28 +01:00
raunofreiberg
64805ebf96 fix: append .html extension back to template url after mapping 2018-03-15 10:04:03 +02:00
Rauno
0b5b2c72f4 fix: NavigationFooter links pull paginated title from nav metadata 2018-03-15 01:44:07 +02:00
Sophie Alpert
96010b5d97 Improve a11y of docs
* Add placeholder/label to input on homepage demo
* Mark sections with aria-expanded

![screenshot of markup with aria-expanded for sections](https://user-images.githubusercontent.com/6820/36941651-2f851bee-1f15-11e8-8090-e93e596b3d11.png)
2018-03-03 19:06:14 -08:00
Fredrik Forsmo
a970afa27e Remove "use strict" from source files 2017-12-02 15:25:17 +01:00
Brian Vaughn
5d0ca1114d Fix lint warnings 2017-11-09 22:57:40 +00:00
Brian Vaughn
e8f048bb3b Prettier 2017-11-09 18:32:06 +00:00
Brian Vaughn
77f22ea5c8 WIP upgrade to new gatsby-remark-code-repls 2017-11-09 18:10:40 +00:00
Brian Vaughn
56735c44a0 Prettier 2017-11-06 13:59:25 +00:00
Brian Vaughn
eb6511a9f5 Tweaked Codepen configuration/options slightly 2017-11-06 13:51:45 +00:00
Brian Vaughn
64e0aade1e Refactor Codepen payload a little 2017-11-06 13:44:45 +00:00
Brian Vaughn
d8d60761f2 Merged master 2017-11-06 13:24:49 +00:00
Yangshun Tay
405e7c5166 Fix for comments 2017-10-24 01:05:23 +08:00
Yangshun Tay
60dab3606e Shift home into pages 2017-10-24 01:05:23 +08:00
Yangshun Tay
1de3b188e7 Embed content into home template 2017-10-24 01:05:23 +08:00
Philipp Spieß
f7ecd81a71 Fix style inconsistency
I discovered this inconsistency that caused the parentheses to appear/disappear when you toggle the "JSX" button. It also seems like we don't use parentheses for arrow functions with one argument, so this PR makes this behavior consistent.
2017-10-23 11:42:48 +02:00
Brian Vaughn
d5f98ca1ed Merge pull request #156 from tricinel/feature/flow-types
Switch to flow types; wip related to #24
2017-10-20 09:15:24 -07:00
Brian Vaughn
2b44cd3df3 Show Babel load-error message if Babel fails to load from CDN 2017-10-17 09:14:02 -07:00
tricinel
9daf248d21 Move types to separate declaration; related to #24 2017-10-17 10:16:00 +02:00
Brian Vaughn
71bc3d9140 Improved sidebar nav-header focus rect appearance 2017-10-16 09:02:09 -07:00
Eric Simons
d255c1afc6 sync js files to codepen 2017-10-15 11:36:37 -07:00
tricinel
36beba7a9b Switch to flow types; wip 2017-10-13 10:48:09 +02:00
renanpvaz
ba6a786f4c simplify placeholder 2017-10-11 15:34:16 -03:00
renanpvaz
0a255fe72a Merge branch 'master' of https://github.com/reactjs/reactjs.org into defer-babel-loading 2017-10-11 13:59:20 -03:00
renanpvaz
36e1185fde render simple placeholder while Babel loads 2017-10-11 13:59:10 -03:00
Brian Vaughn
7a9f04cad8 Removed MIT section from website source file headers 2017-10-10 10:36:40 -07:00
jxom
4b155a22ed PR changes 2017-10-10 15:30:25 +11:00
jxom
de3bd87f4b Added fbjs eslint config, fixed lint errors and warnings 2017-10-10 08:41:44 +11:00
renanpvaz
b843de780d Merge branch 'master' of https://github.com/reactjs/reactjs.org into defer-babel-loading 2017-10-09 17:38:51 -03:00
renanpvaz
80b1b83754 linting fixes 2017-10-09 13:23:16 -03:00
renanpvaz
1d48f7574e load babel only when needed 2017-10-09 13:12:33 -03:00
Brian Vaughn
be1f9a60d8 Merge pull request #48 from jxom/update-sidebar-highlight-on-scroll
Tweak sidebar to update navigation highlight on scroll
2017-10-08 10:40:20 -07:00
jxom
15fc32561f Run check-all script 2017-10-08 11:34:24 +11:00
jxom
e9d0884a43 PR Changes 2017-10-08 11:33:36 +11:00
Brian Vaughn
0e647230e2 Replaced CC-BY 4.0 license in source code headers with MIT 2017-10-07 08:00:22 -07:00
Yangshun Tay
5f804b269d Standardize license across source files (#45) 2017-10-07 10:10:04 +01:00
jxom
94270569a5 Tweak sidebar to update navigation highlight on scroll 2017-10-07 18:33:53 +11:00
Brian Vaughn
c9e1c3b834 Updated license name in headers 2017-10-06 13:27:15 -07:00
Brian Vaughn
9d9b2021ed Migrated Gatsby website source and config 2017-10-04 14:56:10 -07:00