愚道
|
edee08006d
|
fix review code style issue
|
6 years ago |
愚道
|
76cf0816dc
|
doc: add course link to site nav
|
6 years ago |
afc163
|
9f16d066af
|
Fix lint problems from eslint-config-airbnb@17
|
7 years ago |
afc163
|
74e36325a2
|
site: tweak style
|
7 years ago |
afc163
|
e7ba4fb3f0
|
remove unused comment
|
7 years ago |
afc163
|
ccd419029a
|
site: update search placeholder
|
7 years ago |
Wei Zhu
|
c06b0e93a0
|
site: Replace hit url
|
7 years ago |
Wei Zhu
|
7996494f3a
|
site: remove search result translation
|
7 years ago |
Wei Zhu
|
2d402050a2
|
Revert "Bring navigation back to home page"
This reverts commit 23c23797ff .
|
7 years ago |
Wei Zhu
|
23c23797ff
|
Bring navigation back to home page
|
7 years ago |
jljsj
|
5fa021ebac
|
fix typo
|
7 years ago |
jljsj
|
f948b9fb54
|
add 3.0 landing page
|
7 years ago |
Wei Zhu
|
7210bde371
|
Tweak style
|
7 years ago |
Wei Zhu
|
1190f0b009
|
Add algolia search
|
7 years ago |
Wei Zhu
|
e3f49efb2d
|
Restruct menu
|
7 years ago |
afc163
|
ea28c2f57f
|
remove santa
|
7 years ago |
afc163
|
3a8df54fb7
|
Fix typo
|
7 years ago |
afc163
|
021b49f7d5
|
🎅 🎅 🎅
|
7 years ago |
afc163
|
ebcf7b43e8
|
site: update ant design logo
|
7 years ago |
afc163
|
90736521bc
|
Fix locale switch button
|
7 years ago |
afc163
|
5e48badbb7
|
Improve home page style
|
7 years ago |
afc163
|
f7a8d02f09
|
update home page style, close #8238
|
7 years ago |
ddcat1115
|
eeb642e2bd
|
fix menu style
|
7 years ago |
ddcat1115
|
49a49adae3
|
change lang-button pos & improve footer responsive
|
7 years ago |
ddcat1115
|
04a00e6e14
|
update logo
|
7 years ago |
ddcat1115
|
daf596a898
|
Upgrade antd 3.0 site style (#8324)
* 3.0 site update
* update footer
* improve
|
7 years ago |
afc163
|
3c648820a0
|
Fix badge style
|
7 years ago |
afc163
|
32b2c21145
|
site: fix header button style
|
7 years ago |
afc163
|
1af37103f3
|
use ghost
|
7 years ago |
afc163
|
36df1c5f83
|
site: target should be _blank
|
7 years ago |
afc163
|
cc305209c0
|
Fix badge in header
|
7 years ago |
afc163
|
ace590273a
|
Add pro link
|
7 years ago |
afc163
|
475e4ff23d
|
upgrade eslint-config-airbnb
|
7 years ago |
Manweill
|
dc1d0af64e
|
官网首页的搜索框,当按下键盘s的时候,会获取焦点 (#7267)
* 官方首页的搜索框,当按下键盘s的时候,会获取焦点
* use AutoComplete
* 移除 this.state.focused
* bugfix
|
7 years ago |
afc163
|
57e3be2c32
|
Fix select popupContainer in site header
|
7 years ago |
Amorites
|
29d2a756b0
|
site: place 'search...' at the bottom of the search options (#7021) (#7022)
|
7 years ago |
afc163
|
3202d28cb9
|
Add mobile.ant.design link in menu, close #3079
|
8 years ago |
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
|
8 years ago |
Benjy Cui
|
50f46d0919
|
feat: merge Select[multiple|tags|combobox] to Select[mode], close: #5471 (#5534)
|
8 years ago |
afc163
|
2aae84f375
|
site: fix #5239
|
8 years ago |
afc163
|
4823ce4d08
|
site: update design documentation
|
8 years ago |
afc163
|
05b20c6a9f
|
fix stylelint problems of site
|
8 years ago |
afc163
|
0f6d1db614
|
fix lint
|
8 years ago |
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,最后再拼回去做跳转。
|
8 years ago |
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~
|
8 years ago |
Benjy Cui
|
e72d93edfe
|
site: add copy button to demo, close: #4563
|
8 years ago |
afc163
|
205ace69ba
|
Fix bug of switch language in iOS
|
8 years ago |
afc163
|
c3748a60f4
|
site: improve responsive design
|
8 years ago |
Benjy Cui
|
6fdc6ff19a
|
site: homepage will switch to right lang, close: #4552
|
8 years ago |
Benjy Cui
|
a14bb37ae5
|
site: can search with google now, close: #4814
|
8 years ago |