Commit Graph

125 Commits

Author SHA1 Message Date
zombiej
9051c7baee merge master 2019-09-23 10:08:32 +08:00
ycjcl868
1e90eb1264 fix: site specialChar encoding 2019-09-20 17:05:13 +08:00
ycjcl868
bcbc1e2ac2 restore: react-intl intl polyfill 2019-09-18 20:55:00 +08:00
ycjcl868
0d7bf848c3 Merge master into upd-antd-version 2019-09-18 20:06:55 +08:00
ycjcl868
33afa7462c 📝 comment 2019-09-18 19:09:21 +08:00
ycjcl868
9515cef21d fix: site ssr react-intl 2019-09-18 19:07:17 +08:00
zombiej
fa8ddb4104 merge master 2019-09-16 11:23:26 +08:00
afc163
c3ac7308dc
📝 update description 2019-09-08 16:29:04 +08:00
ycjcl868
ff3225fcbb fix: rm comment 2019-09-08 16:14:43 +08:00
ycjcl868
e98afc5145 📝 description 2019-09-08 16:14:43 +08:00
ycjcl868
a93fe5238e fix: default seo title and description 2019-09-08 16:14:43 +08:00
ycjcl868
35c537ee2d fix: desc 2019-09-08 15:15:51 +08:00
ycjcl868
30dd9a3b0e feat: helmet seo 2019-09-08 15:15:51 +08:00
zombiej
3d8a4f3612 merge master 2019-08-29 23:41:46 +08:00
afc163
62aeb5aff2 📝 Add lang attribute to html 2019-08-19 11:08:20 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
zombiej
1cb346573c merge master 2019-08-12 13:34:23 +08:00
afc163
60e7fa3c73 Migrate to react-intl 3 2019-08-08 18:16:18 +08:00
orzyyyy
44d110c0db feat: add extend from prettier/react 2019-08-06 15:36:13 +08:00
orzyyyy
47fd80c8ad fix: disable next line instead of the whole file 2019-08-06 15:36:13 +08:00
orzyyyy
8149aa7aba fix(site): import/no-unresolved 2019-08-06 15:36:12 +08:00
afc163
83a768787e
📝 antd/lib/xxx => antd/es/xxx again 2019-08-05 15:37:00 +08:00
zombieJ
81d8eb8afe
feat: ConfigProvider support locale (#17816)
* ConfigProvider support locale

* update docs

* update category

* clean up

* moving locale

* update check script

* update related code

* add test case

* demo link

* update doc

* hide one rule of md with eslint

* update error link
2019-07-24 10:34:55 +08:00
afc163
f882c13e80
🎨 Fix eslint warning 2019-03-06 12:23:57 +08:00
zombiej
9fcce59d70 adjust 2019-02-27 16:03:21 +08:00
zombiej
5b924bd938 skip 2019-02-27 16:03:21 +08:00
afc163
55e2ce6269 🔧 Add logrocket
https://logrocket.com/
2019-02-26 17:09:30 +08:00
zombiej
23470f4e53 remove sentry tmp 2019-01-26 22:13:44 +08:00
afc163
430d78573b Add sentry in ant.design
follow https://sentry.io/onboarding/ant-design-zb/react/configure/javascript-react
2019-01-22 14:14:47 +08:00
afc163
5900b6aa0b
📝 Fix site responsive interaction, close #13954 2018-12-27 12:27:28 +08:00
afc163
e047bb166f
site: make document side bar sticky
close #3800
2018-12-24 15:59:59 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
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