Commit Graph

42 Commits

Author SHA1 Message Date
afc163
f51feebe36 use React.StrictMode to show deprecated message 2018-10-30 16:17:24 +08:00
Wei Zhu
1815bba876 Unregister service worker 2018-09-26 11:13:19 +08:00
Wei Zhu
aeeabb1263 Disable offline temporarily 2018-09-26 10:44:12 +08:00
Wei Zhu
f22353cd2b Use npm package for offline-plugin
tnpm don't support git dependency
2018-07-20 11:53:49 +08:00
afc163
9f16d066af Fix lint problems from eslint-config-airbnb@17 2018-06-22 21:05:13 +08:00
Wei Zhu
7149d1fdff Add offline support (#10738)
* site: add offline support

* test update

* Revert "test update"

This reverts commit e1cb2fba80.

* use reduce
2018-06-02 12:46:09 +08:00
afc163
0f73b5d3f7 site: upgrade analytics code 2018-05-21 23:27:26 +08:00
afc163
9b17a943f5 site: use correct locale for component 2018-05-18 11:34:26 +08:00
Benjy Cui
cd6ad64cab
chore: remove advertisement for yuque (#10299) 2018-04-29 10:42:45 +08:00
afc163
8ab4aeb9c4 site: fix ad flush 2018-04-22 22:37:58 +08:00
Benjy Cui
e444dc5e39
chore: add ad for yuque (#10182) 2018-04-22 18:58:40 +08:00
jljsj
5fa021ebac fix typo 2018-01-05 17:23:59 +08:00
jljsj
f948b9fb54 add 3.0 landing page 2018-01-05 15:16:49 +08:00
afc163
f7a8d02f09 update home page style, close #8238 2017-11-30 21:38:48 +08:00
afc163
4eb9d5ef56 Merge branch 'master' into antd-3.0 2017-10-09 13:33:59 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
Benjy Cui
829b5f87bf feat: make default locale to enUS (#7553)
* feat: make default locale to enUS

* test: fix CI

* docs: update getting started
2017-09-26 23:12:47 +08:00
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