Commit Graph

312 Commits

Author SHA1 Message Date
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
zombieJ
364e1624ea
add antd pro 4.0 badge (#16894) 2019-05-31 10:48:00 +08:00
偏右
f3c74c3138
💄 Optimize footer of site (#15612) 2019-03-24 23:39:45 +08:00
tangjinzhou
afe685bb50
Update Header.jsx 2019-03-13 11:58:36 +08:00
tangjinzhou
0cea934cac add ecosystem menu 2019-03-11 11:19:43 +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
tangjinzhou
e68dab6e5d add ant-design-vue (#14869) 2019-02-17 00:17:53 +08:00
zombiej
23470f4e53 remove sentry tmp 2019-01-26 22:13:44 +08:00
afc163
f513ec5a5f change sentry id 2019-01-22 14:14:47 +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
03855d3ed1
📝 Add links in Home Page 2018-12-27 14:06:35 +08:00
afc163
5900b6aa0b
📝 Fix site responsive interaction, close #13954 2018-12-27 12:27:28 +08:00
sfturing
3a6e0e2dfa Update Santa.jsx 2018-12-25 10:54:48 +08:00
afc163
e047bb166f
site: make document side bar sticky
close #3800
2018-12-24 15:59:59 +08:00
afc163
f706e2554f
🎅 🎅 🎅 2018-12-19 14:14:09 +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
ee8e413cf5
💄 upgrade site footer 2018-11-10 14:52:16 +08:00
jljsj33
877fdffb52 add Landing to footer 2018-11-08 14:43:41 +08:00
afc163
c2184d6334 site: update header responsive ui 2018-11-05 11:59:15 +08:00
afc163
f51feebe36 use React.StrictMode to show deprecated message 2018-10-30 16:17:24 +08:00
°))))彡
9aa4172c27 feat(website): add link to ng-zorro-mobile website; (#12619) 2018-10-12 17:09:43 +08:00
afc163
4e3cbec038 site: change link to xtech 2018-10-06 15:31:53 +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
afc163
d030121ce2 change faq links 2018-09-16 15:40:05 +08:00
愚道
edee08006d fix review code style issue 2018-09-12 12:01:39 +08:00
愚道
76cf0816dc doc: add course link to site nav 2018-09-12 12:01:39 +08:00
afc163
7a4107eab8 site: update footer links 2018-09-11 14:34:36 +08:00
愚道
5dd292f8b7 doc: add yuque antd course link 2018-09-11 14:22:38 +08:00
afc163
5364675ab7 update cdn link 2018-09-11 14:15:48 +08:00
HeskeyBaozi
bd59671585 default primary color #1890ff 2018-09-02 20:59:37 +08:00
afc163
8d873785a7 Add badge above footer kitchen link 2018-08-14 12:26:53 +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
0fc5a0ece5 site: add alt to images 2018-05-21 23:47:22 +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
afc163
d5d0501ac7 site: change footer ui 2018-05-15 12:40:15 +08:00
afc163
77e21d33ea site: fix link 2018-05-14 21:25:38 +08:00
afc163
bdb4483ef5 site: add kitchen link in footer 2018-05-14 19:52:51 +08:00
afc163
74e36325a2 site: tweak style 2018-04-29 23:02:07 +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
afc163
e7ba4fb3f0 remove unused comment 2018-03-26 15:04:36 +08:00
afc163
d31612f2de site: renew footer links 2018-02-11 17:54:55 +08:00
afc163
ccd419029a site: update search placeholder 2018-01-12 15:00:03 +08:00
Wei Zhu
c06b0e93a0 site: Replace hit url 2018-01-09 19:46:51 +08:00
afc163
5e4fed48f6 site: clean footer style code 2018-01-09 15:38:06 +08:00
Wei Zhu
7996494f3a site: remove search result translation 2018-01-09 10:45:10 +08:00
Wei Zhu
2d402050a2 Revert "Bring navigation back to home page"
This reverts commit 23c23797ff.
2018-01-08 12:18:13 +08:00
Wei Zhu
23c23797ff Bring navigation back to home page 2018-01-06 12:38:28 +08:00
afc163
553ce3f0a0 update text 2018-01-06 10:20:03 +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
Wei Zhu
7210bde371 Tweak style 2018-01-05 10:33:59 +08:00
Wei Zhu
1190f0b009 Add algolia search 2018-01-05 10:32:49 +08:00
Wei Zhu
e3f49efb2d Restruct menu 2018-01-05 10:32:00 +08:00
afc163
ea28c2f57f remove santa 2018-01-01 15:07:55 +08:00
afc163
3a8df54fb7 Fix typo 2017-12-26 09:33:29 +08:00
afc163
021b49f7d5 🎅 🎅 🎅 2017-12-25 13:53:16 +08:00
afc163
ebcf7b43e8 site: update ant design logo 2017-12-04 11:47:03 +08:00
afc163
90736521bc Fix locale switch button 2017-12-01 20:37:14 +08:00
afc163
5e48badbb7 Improve home page style 2017-12-01 20:27:44 +08:00
ddcat1115
c6f4b38471 new pub notification 2017-12-01 15:42:54 +08:00
afc163
f7a8d02f09 update home page style, close #8238 2017-11-30 21:38:48 +08:00
ddcat1115
eeb642e2bd fix menu style 2017-11-29 14:39:56 +08:00
ddcat1115
2aedc275d4 improve footer style 2017-11-29 00:08:48 +08:00
ddcat1115
49a49adae3 change lang-button pos & improve footer responsive 2017-11-28 17:01:41 +08:00
ddcat1115
721a5621c8 reset text-color and etc. 2017-11-28 16:16:37 +08:00
ddcat1115
04a00e6e14 update logo 2017-11-28 11:18:18 +08:00
ddcat1115
daf596a898
Upgrade antd 3.0 site style (#8324)
* 3.0 site update

* update footer

* improve
2017-11-27 15:36:58 +08:00
afc163
3c648820a0 Fix badge style 2017-11-12 14:10:41 +08:00
afc163
856ecd4ae3 Merge branch 'master' into antd-3.0 2017-11-09 19:45:06 +08:00
afc163
1b45a2c005 update footer 2017-11-09 16:53:05 +08:00
afc163
23033cb9c1 Add work-with-us 2017-11-09 16:49:04 +08:00
afc163
714b4ae06a Merge branch 'master' into antd-3.0 2017-11-06 10:35:41 +08:00
afc163
32b2c21145 site: fix header button style 2017-11-03 15:29:25 +08:00
afc163
1af37103f3 use ghost 2017-11-02 11:18:32 +08:00
afc163
9583bb4c85 Add Ant Design Pro 2017-11-01 10:50:27 +08:00
afc163
36df1c5f83 site: target should be _blank 2017-10-31 21:58:41 +08:00
afc163
3072aff31f Merge branch 'master' into antd-3.0 2017-10-31 18:47:39 +08:00
afc163
cc305209c0 Fix badge in header 2017-10-31 18:07:37 +08:00
afc163
ace590273a Add pro link 2017-10-31 16:32:09 +08:00
afc163
80b7b57eae Add china mirror link in footer 2017-10-31 13:57:28 +08:00
afc163
a666a59eb0 Add china mirror link in footer 2017-10-28 00:09:55 +08:00
afc163
3f57d5f56d Merge branch 'master' into antd-3.0 2017-10-23 10:41:51 +08:00
afc163
65ee579480 update footer links 2017-10-23 10:08:12 +08:00
afc163
9a96e9f9d1 new primary colors 2017-10-11 16:21:55 +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
Wei Zhu
ed2303a5da Change primary color in browser (#7516) 2017-09-18 17:31:48 +08:00
afc163
6cb3ae46a2 site: update color picker position 2017-09-04 12:24:40 +08:00
afc163
24e2af63f2 site: update footer style 2017-09-04 11:55:45 +08:00
Wei Zhu
471da70c1e site: Add a primary color change button (#7401) 2017-09-03 22:15:33 +08:00
Manweill
dc1d0af64e 官网首页的搜索框,当按下键盘s的时候,会获取焦点 (#7267)
* 官方首页的搜索框,当按下键盘s的时候,会获取焦点

* use AutoComplete

* 移除 this.state.focused

* bugfix
2017-08-31 11:47:53 +08:00
afc163
d3ec477f8f Add NG-ZORRO links 2017-08-15 23:00:06 +08:00
afc163
57e3be2c32 Fix select popupContainer in site header 2017-08-14 22:57:45 +08:00
Amorites
29d2a756b0 site: place 'search...' at the bottom of the search options (#7021) (#7022) 2017-07-31 13:54:31 +08:00
Minqi Pan
d0bbfd3d2d Add Enclose.IO link in footer 2017-06-25 20:00:06 +08:00
afc163
3202d28cb9 Add mobile.ant.design link in menu, close #3079 2017-06-12 10:41:11 +08:00
afc163
7daf47b5b1 Add scaffold market link 2017-05-13 16:12:35 +08:00
Tyler
919cb22eb7 Use the prop-types package from npm instead of React.PropTypes (#6057)
* Use the prop-types package from npm instead of React.PropTypes

* Remove using of PropTypes from React in docs and site
2017-05-09 13:40:33 +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
afc163
3ca3c178cc Add English gitter chat room 2017-04-11 18:13:58 +08:00
afc163
f230f61c23 Improve docs detail 2017-04-02 14:03:42 +08:00
Benjy Cui
dda79aa88e site: add link to design platform 2017-03-30 09:29:13 +08:00
Benjy Cui
50f46d0919 feat: merge Select[multiple|tags|combobox] to Select[mode], close: #5471 (#5534) 2017-03-28 21:27:58 +08:00
afc163
2aae84f375 site: fix #5239 2017-03-09 21:52:05 +08:00
afc163
bc743a0ea6 Add eggjs link in footer
eggjs/egg#492
2017-03-02 14:28:23 +08:00
afc163
f997becadc docs: update footer link 2017-03-02 14:25:04 +08:00
paranoidjk
15e381ae44 docs: update site 2017-02-28 21:47:51 +08:00
afc163
4823ce4d08 site: update design documentation 2017-02-27 18:04:35 +08:00
afc163
05b20c6a9f fix stylelint problems of site 2017-02-26 15:41:50 +08:00
afc163
0f6d1db614 fix lint 2017-02-26 15:20:12 +08:00
YuyingWu
e8cf22ad0e site: fix locale switch
* antD首页从英文切换到中文时,replace导致链接错误

首页从英文转到中文,点击header上的“中文”时,链接会跳到 https://ant.design/index-cn/ant.design/ (Chrome)或者 https://index-cn/ant.design/ (Safari)

bug来自handleLangChange函数下,最后对location.href.replace操作时出错,原因来自replace匹配到location.href的第一个/
('https://ant.design/').replace('/', '/index-cn') 的运行结果是 https:/index-cn/ant.design/ 

为了避免replace匹配到location.href的第一个/,我建议的方案是使用 location.origin + location.pathname.replace

最后,感谢antD团队开发出那么棒的UI~

* 英转中,url替换(带hash、query)

英转中URL问题,上一版使用了location.origin + location.pathname,会丢失query和hash。此版本原理还是用location.href做replace,鉴于首页pathname可能是/会在替换中匹配到https:后的第一个/,所以先把href的protocol部分提取出来,再做replace,最后再拼回去做跳转。
2017-02-26 14:50:12 +08:00
YuyingWu
a5f136f334 antD首页从英文切换到中文时,replace导致链接错误 (#5050)
首页从英文转到中文,点击header上的“中文”时,链接会跳到 https://ant.design/index-cn/ant.design/ (Chrome)或者 https://index-cn/ant.design/ (Safari)

bug来自handleLangChange函数下,最后对location.href.replace操作时出错,原因来自replace匹配到location.href的第一个/
('https://ant.design/').replace('/', '/index-cn') 的运行结果是 https:/index-cn/ant.design/ 

为了避免replace匹配到location.href的第一个/,我建议的方案是使用 location.origin + location.pathname.replace

最后,感谢antD团队开发出那么棒的UI~
2017-02-26 00:23:04 +08:00
Benjy Cui
e72d93edfe site: add copy button to demo, close: #4563 2017-02-24 11:55:24 +08:00
afc163
205ace69ba Fix bug of switch language in iOS 2017-02-21 13:36:17 +08:00
afc163
c3748a60f4 site: improve responsive design 2017-02-21 12:07:28 +08:00
afc163
d1678711a7 docs: update footer 2017-02-16 16:25:42 +08:00
Benjy Cui
6fdc6ff19a site: homepage will switch to right lang, close: #4552 2017-02-10 12:12:13 +08:00
Benjy Cui
a14bb37ae5 site: can search with google now, close: #4814 2017-02-10 11:46:57 +08:00
ddcat1115
16ad027988 change version slector position (#4799) 2017-02-09 19:46:23 +08:00
afc163
cf22bb926a site: update footer style 2017-02-07 19:54:30 +08:00
afc163
ac40780265 site: update footer link 2017-02-07 14:57:09 +08:00
afc163
896bd7e55b fix site style breaks when there is lib directory 2017-01-20 21:41:24 +08:00