Commit Graph

72 Commits

Author SHA1 Message Date
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
Tay Yang Shun
57baeb1298 Shift out examples content 2017-10-24 04:05:40 +08:00
Yangshun Tay
405e7c5166 Fix for comments 2017-10-24 01:05:23 +08:00
Yangshun Tay
505efa09ee Fix styling 2017-10-24 01:05:23 +08:00
Yangshun Tay
137f0ffa0c Minor formatting fixes 2017-10-24 01:05:23 +08:00
Yangshun Tay
a1cb7af47f Use glamor styles for home page 2017-10-24 01:05:23 +08:00
Yangshun Tay
1e6151e390 Split up marketing content into Markdown files 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
tricinel
ab5815b11a Add Todo notes and better flow types 2017-10-20 18:07:44 +02:00
Lucas Lentz
1d1656c906 Add console.warn and move DocSearch component to LayoutHeader 2017-10-19 15:51:13 -02:00
Lucas Lentz
b19ea6b39b Add window parent to docsearch in order to pass CI 2017-10-19 15:23:47 -02:00
Lucas Lentz
238ffd9709 Do the yarn prettier 2017-10-19 15:17:52 -02:00
Lucas Lentz
993df14915 Wrap Algolia search into a React component 2017-10-19 15:04:55 -02:00
Brian Vaughn
693f7633da Merge pull request #139 from ismamz/patch-1
Add left padding for lists in all viewport sizes
2017-10-18 10:14:44 -07:00
Brian Vaughn
2c863e4e7c Fixed accidental regression from a bad-merge 2017-10-17 12:02:23 -07:00
Brian Vaughn
07fe533660 Merge pull request #167 from bvaughn/header-focus-styles
Header focus style improvements
2017-10-17 09:38:32 -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
Brian Vaughn
75574bf0cf Merge pull request #158 from renanpvaz/improve-adblocker-related-error-message
Mention ad blockers when Babel is not defined
2017-10-17 09:12:34 -07:00
tricinel
9daf248d21 Move types to separate declaration; related to #24 2017-10-17 10:16:00 +02:00
Brian Vaughn
c0affe4dd8 Added some padding to search input 2017-10-16 15:23:41 -07:00
Brian Vaughn
361e27ca9a Merge pull request #141 from criticalbh/JSX-view-99
add non-jsx view to interactive code samples
2017-10-16 15:15:07 -07:00
Brian Vaughn
beeb8e8554 Header focus style improvements 2017-10-16 13:03:58 -07:00
Admir Sabanovic
8a0eda3b6e use callback for setState 2017-10-16 21:20:00 +02:00
renanpvaz
26c975de3b use flag to show custom message instead of error 2017-10-16 16:19:07 -02:00
Brian Vaughn
71bc3d9140 Improved sidebar nav-header focus rect appearance 2017-10-16 09:02:09 -07:00
renanpvaz
4ab3ae3685 prettier 2017-10-13 13:22:48 -03:00
renanpvaz
4a4a9596fb mention ad blockers when babel is not defined 2017-10-13 13:02:56 -03:00
tricinel
36beba7a9b Switch to flow types; wip 2017-10-13 10:48:09 +02:00
Admir Sabanovic
9876647f26 99 replace button with checkbox and apply proposed changes 2017-10-12 22:58:39 +02:00
Haroen Viaene
eeedf1cde5 fix(algolia): make logo show up on FF
Background images in svg need to have the # encoded to show up if the image type is svg+xml;utf8

fixes #130
2017-10-12 11:29:28 -07:00
Admir Sabanovic
6bd11c1636 99 fix prettier, lint and flow 2017-10-12 01:08:01 +02:00
Admir Sabanovic
527f50371f add non-jsx view to to interactive code samples 2017-10-12 00:50:42 +02:00
Ismael Martínez
6f5518b9d6 Add left padding for lists in all viewport sizes
It looks wrong on medium sizes, and looks like a negative indent on large sizes.
2017-10-11 18:08:11 -03: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
renanpvaz
a02139b085 undo changes to algolia search 2017-10-10 17:16:45 -03:00
Florian Kissling
3a238c8d09 Fix typo
Restores the sidebar transition when switching from and to small screen/"sticky" sidebar.
2017-10-10 21:50:58 +02:00
Brian Vaughn
7a9f04cad8 Removed MIT section from website source file headers 2017-10-10 10:36:40 -07:00
Brian Vaughn
0eb0110df9 Merge pull request #104 from jxom/create-script-for-checks-in-ci
Added fbjs eslint config, fixed lint errors and warnings
2017-10-10 08:42:58 -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
7efe10fe90 update constant name 2017-10-09 13:27:34 -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