Commit Graph

121 Commits

Author SHA1 Message Date
Alex Krolick
037ae8225e Merge branch 'master' into a11y 2018-03-08 17:34:32 -08:00
Alex Krolick
8a12940f0d Merge pull request #663 from jdan/master
Improve a11y in homepage examples with some labels
2018-03-08 17:30:32 -08:00
Jordan Scales
35ea09cf03 improve a11y in homepage examples with some labels 2018-03-04 16:57:18 -05: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
Michael H
f1cbff3e17 Fixed Accessiblity Issue jsx docblocks - 594
set ignoreTabKey to true so that keyboard only users can tab out of jsx docblocks
2018-02-21 20:34:02 -08:00
Dan Abramov
0b805a8d97 Make error message bold on the decoder page (#582)
* Make error message bold on the decoder page

* Update ErrorDecoder.js

* Update ErrorDecoder.js
2018-02-04 22:38:35 +00:00
Isaac Chien
ae29fa0491 move docsearch to end of body (#564) 2018-01-31 21:17:17 +00:00
Brian Vaughn
e4fffa1356 Font-smoothing for Firefox (at least on OSX) 2018-01-17 11:33:18 -08:00
OOO :: ItsPugle
e81393125e Update Footer.js to reflect the change of year (#493)
* Update Footer.js

* Removing an accidental character
2018-01-07 11:38:33 +00:00
Alex
7fafb9f916 Break out Installation into top-level doc section (#452)
* Break out Installation into top-level doc section

* Update navigation (prev/next, nav tree)

- Move Installation section to top
- Add next/prev to install pages

* add links to other install options from try react page

* fix markdown link

* Clarify that Quick Start and Install are optional "next steps"

* Add top-level CDN page

This is useful for Codepen and other Unpkg-y setups

* Add link to Tutorial from Try React

* Update CRA link in tutorial

* Make Try React subheader a proper sentence

* Add "minimal"

* Explain local dev setup is more work than Codepen etc

* Fix typos

* Add : between headings

* add note that CRA is not lightweight

* fix typo

* Update add-react-to-a-new-app.md

* Update add-react-to-a-new-app.md

* Remove the Bower note

* Update try-react.md

* Tweak wording

* Use direct link
2017-12-23 15:37:23 +00:00
Brian Vaughn
bb55d1083b Re-ran Prettier after version bump 2017-12-21 09:22:05 -08:00
Joe Critchley
184a7ef947 Reorganized footer nav (#448)
* Reorganized footer nav to match latest structure

* Footer nav - skip Installation page for Quick Start
2017-12-20 15:06:12 +00:00
Sophie Alpert
59cb8abc77 Tweak link/code styles (#435)
- Tone down link background
- Tone down code background
- Shrink font -- I'd prefer 15px Menlo and 17px Consolas but we'll meet
in the middle at 16px where both look reasonable, unlike 17px Menlo
which was comically large.

![before-after](https://user-images.githubusercontent.com/6820/34066487-360cf57e-e1c4-11e7-891e-db5d4cd59b1d.gif)
2017-12-15 18:21:04 -08:00
Fredrik Forsmo
a970afa27e Remove "use strict" from source files 2017-12-02 15:25:17 +01:00
Sophie Alpert
33cfa5f6b8 Fix hero buttons to be clickable (#373) 2017-11-29 19:35:28 -08:00
Brian Vaughn
b8d13d5fe5 Merge pull request #205 from tricinel/feature/flow-types
Add flow types to components; realted to #24
2017-11-29 13:32:38 -08:00
Brian Vaughn
989cccee10 Prettier fix 2017-11-29 13:26:52 -08:00
Brian Vaughn
d2a9c9aed7 Removed unnecessary empty <div> from conditional 2017-11-29 13:26:06 -08:00
Brian Vaughn
2a165e7e88 Fixed children Flow type for layout template 2017-11-29 13:21:57 -08:00
Brian Vaughn
f92249c8b7 Removed FIXME comment 2017-11-29 13:20:22 -08:00
MICHAEL JACKSON
e6eb004b28 Use fill="none" instead of fill="transparent" for logo SVG 2017-11-29 11:40:27 -08:00
MICHAEL JACKSON
587e44487b Merge pull request #354 from webdesserts/logo-size
Reduce Logo Size
2017-11-29 11:28:25 -08:00
Clement Hoang
cdde744353 Change site version 2017-11-28 13:47:34 -08:00
tricinel
4bf2356e02 Add flow types to utils 2017-11-28 15:00:19 +01:00
tricinel
990a13e2af Handle case when author does not exist
According to the Edge type in allMarkdownRemarkData, the author in
frontmatter could be undefined.

related to #24
2017-11-28 14:57:20 +01:00
Michael Mullins
1d7c1d4ad4 convert logo-large into a plain white version of the logo
logo-large was a custom version of the logo made just for the banner background. It was also scaled up manually rather than taking advantage of svg's inherit scaling. This change reduces its size, makes it just a plain white version of the react logo, and moves most of the custom stuff into css. It also moves it from the static folder, over to the icons folder where it can be imported as a url.
2017-11-27 12:25:50 -06:00
Michael Mullins
4b4d3c6941 reduce size of logo.svg 2017-11-27 12:25:50 -06:00
Bond
fbbf1081ec Pretty print 2017-11-27 10:18:39 +01:00
Bond
ce01d0baa7 Update footer links to example and community tools 2017-11-27 09:43:05 +01:00
tricinel
03df4d4ab8 Merge branch 'master' into feature/flow-types 2017-11-21 18:59:27 +01:00
tricinel
232d15463d Add flow types; related to #24 2017-11-20 17:57:36 +01:00
tricinel
cf2bd4c171 Reorganise open/close navMenu functions 2017-11-20 16:33:32 +01:00
Dan Abramov
1b6dad1eed React 16.1.1 2017-11-13 16:16:05 +00:00
Brian Vaughn
5d0ca1114d Fix lint warnings 2017-11-09 22:57:40 +00:00
Dan Abramov
9e6e0bddb1 Update CodeEditor.js 2017-11-09 22:53:13 +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
Dan Abramov
1f8ab10759 Bump to React 16.1.0 (#263) 2017-11-09 15:33:39 +00:00
Brian Vaughn
3248fc8c14 Merge branch 'master' of github.com:reactjs/reactjs.org 2017-11-06 14:59:53 +00:00
Brian Vaughn
f93f56b112 Merge branch 'fb-query-string-param' 2017-11-06 14:59:44 +00:00
Brian Vaughn
d23c8c9aad Removed 'qs' module dependency from ErrorDecoder 2017-11-06 14:59:38 +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
Brian Vaughn
f5aaf4c1b4 Moved home page example code to /content/home
Now examples are trasnformed to GraphQL during build and assembled by the index template. This makes them easier to edit and tie in with their associated markdown description.
2017-11-06 13:01:13 +00:00
Tay Yang Shun
65f1ced297 Shift into home folder 2017-11-05 23:35:59 +08:00
Keyan Zhang
5cc60281b5 prettier 2017-10-31 23:47:15 -07:00
Keyan Zhang
d73bff0982 Use qs to parse query params 2017-10-31 23:26:08 -07:00
tricinel
cce9ef7b60 Add flow types to components; realted to #24 2017-10-24 18:49:29 +02:00