Commit Graph

125 Commits

Author SHA1 Message Date
Manjit Kumar
4e055ed5d0 use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
 - Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
 - Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
Benjy Cui
eb254572b7 site: upgrade bisheng to 0.20.0 2017-01-20 11:48:38 +08:00
afc163
8e77e1710d move ga script into head 2017-01-07 23:30:33 +08:00
Benjy Cui
3e14ab3a0d site: improve UX in first load 2016-12-09 14:24:38 +08:00
Benjy Cui
60da9909d3 site: improve loading performance (#4112)
* site: should generate html file for both of en and cn, ref: #3934

* site: remove loading animation

* site: fix header menu highlight

* site: improve detail

* deps: update
2016-12-09 13:02:16 +08:00
Benjy Cui
4ee2b9d930 site: SSR for official website (#3903)
* site: ssr for Layout

* site: SSR for site

* fix: ssr for Anchor

* chore: add ssr test

* chore: update deploy script

* site: udpate detail

* site: revert animation for site

* site: fix loading animation
2016-11-21 14:39:15 +08:00
afc163
d0f2ff83b6 Fix scroll page will trigger setState in Header 2016-11-09 19:55:14 +08:00
Benjy Cui
c082e1b1d1 site: extract common code as utility function 2016-10-18 11:18:25 +08:00
Benjy Cui
5705f72fb8 fix: make sure en|ru locale import after zh-CN (#3246)
* fix: make sure en|ru locale import after zh-CN

* refactor: simplify code
2016-10-01 00:17:31 +08:00
Benjy Cui
87753482bf style: update code style to please lint, close: #2811 2016-09-27 10:06:34 +08:00
Benjy Cui
9ac4e6ea44 site: fix language detect function 2016-09-10 11:21:00 +08:00
Benjy Cui
b7e6b1ba51 site: show lang button 2016-09-08 17:36:08 +08:00
Benjy Cui
4f2c12a640 site: move polyfill to html 2016-08-17 10:52:56 +08:00
Benjy Cui
7c7a365960 site: improve performance 2016-08-03 17:51:33 +08:00
Benjy Cui
e6de0f3d21 site: refactor, simplify code 2016-07-26 18:01:25 +08:00
Benjy Cui
6cac87fa17 site: upgrade bisheng 2016-07-26 18:01:11 +08:00
afc163
29a7df3490 remove loading text after page loaded 2016-06-23 21:10:02 +08:00
afc163
6392c9f705 fix ga 2016-06-12 21:34:37 +08:00
Benjy Cui
5be40a9c7f site: fix 2016-06-03 15:26:25 +08:00
yiminghe
777692a207 fix index 2016-06-01 12:09:32 +08:00
RaoHai
ff31a5b555 Revert "Revert "refactor with bisheng""
This reverts commit 7a07b128d1.
2016-05-27 11:48:08 +08:00
RaoHai
7a07b128d1 Revert "refactor with bisheng" 2016-05-27 11:03:49 +08:00
Benjy Cui
8566c25682 site: improve detail 2016-05-27 09:44:07 +08:00
Benjy Cui
a6e38f8479 site: support iframe 2016-05-27 09:44:07 +08:00
Benjy Cui
a031271384 site: refactor home & 404 with bisheng 2016-05-27 09:44:07 +08:00