Benjy Cui
82bfa3dcde
site: update text
2017-05-17 12:09:17 +08:00
Benjy Cui
067d1af287
site: add warning for not translated articles, close : #5404
2017-05-17 11:34:08 +08:00
Benjy Cui
61d6cf14ff
deps: upgrade eslint relative deps
2017-05-15 12:10:28 +08:00
afc163
7daf47b5b1
Add scaffold market link
2017-05-13 16:12:35 +08:00
afc163
811ecfddf6
Add fork icon
2017-05-11 13:30:38 +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
afc163
085f196dbd
fix color palette tool
2017-04-20 15:54:44 +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
e93dd1e5af
site: fix menu item
2017-04-07 15:14:14 +08:00
afc163
0793534665
Add ga event analytic code
2017-04-07 14:29:44 +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
jiang
00326db74e
fix scrollAnim hideProps header … ( #5506 )
...
* fix https://github.com/react-component/scroll-anim/issues/19 , header switch
* fix home icon down animation
2017-03-27 14:03:28 +08:00
afc163
3740fb7f3c
Improve iframe demo look
2017-03-18 15:15:00 +08:00
afc163
c361165352
Improve Layout fixed demo
2017-03-18 14:52:23 +08:00
afc163
3b4a51d1ef
Refactor color.md
2017-03-17 20:33:47 +08:00
afc163
ebeda75c36
Add color palette generator tool
2017-03-17 20:14:11 +08:00
afc163
46b344eabe
tweak icons
2017-03-17 19:11:36 +08:00
偏右
84e3aa2a37
New design docs ( #5370 )
...
* refactor design documentations
* update color document
* Add icon
* Fix images in documentation
* fix some documentation style
* Finish icon doc
* Add copywriting doc
* Add layout.md and navigation.md
* Add more docs
* Fix error color
* improve markdown doc width
* update some details
* fix doc detail
* Add motion.md
2017-03-17 18:56:37 +08:00
afc163
b3982ad210
site: improve copy icon and color
2017-03-10 18:04:14 +08:00
afc163
2aae84f375
site: fix #5239
2017-03-09 21:52:05 +08:00
afc163
941782f7ec
Add iconfont shake and android-o
2017-03-09 14:33:58 +08:00
Wei Zhu
67bbae9ea8
Merge branch 'feature-2.8'
2017-03-05 21:34:57 +08:00
afc163
7645a77c44
Update iconfont url and docs
2017-03-03 14:42:00 +08:00
afc163
78d33604ac
site: improve copy code style
2017-03-02 15:08:42 +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
偏右
f29ff2f822
Add some new icons, ref #3674 ( #5107 )
2017-03-01 11:21:00 +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
afc163
d44a0ece3f
site: improve styles
2017-02-26 15:09:52 +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
afc163
c78d3032f5
site: fix aside menu
2017-02-25 15:10:23 +08:00
afc163
0cbe319839
Add copied message
2017-02-24 19:05:26 +08:00
afc163
4bde2917d2
fix internal links
2017-02-24 18:02:47 +08:00
Benjy Cui
e72d93edfe
site: add copy button to demo, close : #4563
2017-02-24 11:55:24 +08:00
afc163
0f46eed370
fix lint
2017-02-23 11:45:48 +08:00
afc163
5fbc007ff7
site: fix link
2017-02-23 00:35:16 +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
Wei Zhu
0cb6645038
site: Link to edit page directly ( #4895 )
2017-02-16 10:18:41 +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
Benjy Cui
bdd5be88f2
site: generate link with locale
2017-02-09 17:55:26 +08:00
Benjy Cui
a950a1298a
site: upgrade bisheng to 0.21.0
2017-02-09 17:55:26 +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
a67264d68c
Add aliases for icon naming style, close #4758
2017-02-04 18:10:25 +08:00
afc163
04a94a691e
site: update sider menu order
2017-01-22 19:16:54 +08:00
afc163
896bd7e55b
fix site style breaks when there is lib directory
2017-01-20 21:41:24 +08:00
Benjy Cui
eb254572b7
site: upgrade bisheng to 0.20.0
2017-01-20 11:48:38 +08:00
Benjy Cui
11bcb58685
site: reduce bundle size
2017-01-17 15:24:13 +08:00
afc163
b7c5fb40ae
update home page style
2017-01-16 12:05:03 +08:00
Benjy Cui
e459562cdc
site: fix target demo highlight, close : #4545
2017-01-13 14:59:14 +08:00
Benjy Cui
dd43704108
site: fix key
2017-01-09 12:01:15 +08:00
afc163
024e398ad0
Fix lint for latest eslint-config-airbnb
2017-01-09 11:51:56 +08:00
Sean Sun
456860f61c
imporve the user experience of the official site ( #4457 )
...
* normalize code based on lint message
* listening url changes instead of writing hard code
* change listen
2017-01-08 19:16:13 +08:00
afc163
8e77e1710d
move ga script into head
2017-01-07 23:30:33 +08:00
Benjy Cui
435eed2e23
site: fix lang change in home page
2017-01-06 09:08:36 +08:00
feng zhi hao
0780b64099
style: fix header text color in home page ( #4477 )
2017-01-05 20:35:56 +08:00
Benjy Cui
4db6d3b915
site: fix language switch in Firefox, close : #4360
2017-01-03 18:03:02 +08:00
afc163
3ecc5f6c85
Fix search text color in Home page
2017-01-03 00:17:23 +08:00
偏右
d811ebee5c
New color system ( #4426 )
...
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
2017-01-01 22:20:06 +08:00
afc163
7f41114ab7
fix site layout back
2016-12-30 13:44:24 +08:00
ddcat1115
c4b637b7de
site: fix site style ( #4386 )
2016-12-28 17:54:07 +08:00
afc163
27b3cdab05
better responsive page layout
2016-12-25 19:18:08 +08:00
Benjy Cui
f0d1b94163
site: should remove locale info when switch to old site, close : #4224
2016-12-13 14:19:23 +08:00
afc163
b4089638a4
fix home page background
2016-12-12 13:43:52 +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
afc163
4e589af9b6
Revert loading icon to 1/4 circle
2016-12-04 16:53:59 +08:00
afc163
752392a964
Improve home page style in Mobile device
2016-12-02 18:17:03 +08:00
afc163
dfd15f8a56
Add dingding Icon, close #3961
2016-11-24 18:01:49 +08:00
afc163
fe09c26c50
fix footer link
2016-11-24 00:30:56 +08:00
偏右
fec52a24c5
feat: Add more icons and improve some icons design ( #3977 )
2016-11-23 17:55:14 +08:00
afc163
927dae6159
fix header select position
2016-11-21 17:54:17 +08:00
jiang
ca881823f2
site: update home ( #3939 )
2016-11-21 17:48:39 +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
dde040e3e8
fix lints
2016-11-15 15:10:01 +08:00
afc163
3c9ccccf61
Fix Header select
2016-11-11 19:47:11 +08:00
jiang
f703e00c0f
Home fix ( #3807 )
...
* fix home
* update Banner min height
2016-11-11 17:56:05 +08:00
afc163
d0f2ff83b6
Fix scroll page will trigger setState in Header
2016-11-09 19:55:14 +08:00
afc163
224281f425
fix responsive menu style
2016-11-06 17:09:06 +08:00
afc163
c05df5ffd1
Add some new icons
2016-10-28 17:54:22 +08:00
afc163
55efef3220
Add Icon[type="bulb"]
2016-10-26 14:26:57 +08:00
Benjy Cui
3112b0d7ca
site: support debug mode for demo, close : #3506
2016-10-20 17:45:38 +08:00
Benjy Cui
5179ffbbe1
site: support demo[only]
2016-10-19 17:39:25 +08:00
Benjy Cui
13d48aa1e5
site: show locale in url, close : #3456
2016-10-18 12:04:09 +08:00
Benjy Cui
c082e1b1d1
site: extract common code as utility function
2016-10-18 11:18:25 +08:00
Benjy Cui
9e61fdd5d1
site: document title should be localized, close : #3424
2016-10-14 09:55:12 +08:00
Benjy Cui
40ea091a97
site: fix re-render for live demo, close : #3333
2016-10-13 16:52:24 +08:00
afc163
0f81470b49
import site version redirect
2016-10-10 21:04:20 +08:00
afc163
0d8267c71c
fix lint
2016-10-10 19:40:53 +08:00
afc163
bd952af661
fix lint
2016-10-09 22:55:20 +08:00
afc163
11cff6aec6
fix site
2016-10-09 17:46:40 +08:00
afc163
847e40eac0
Adjust site layout
2016-10-07 14:33:08 +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
afc163
4284e77d29
fix docs/spec/layout document title
2016-09-30 11:51:36 +08:00
afc163
4283fde035
update code collapse style
2016-09-29 23:14:19 +08:00
Benjy Cui
630bf741d5
docs: add change log for 2.0, close : #3020 ( #3087 )
2016-09-28 13:43:32 +08:00
Benjy Cui
87753482bf
style: update code style to please lint, close : #2811
2016-09-27 10:06:34 +08:00
afc163
4edab23c8c
Merge branch 'master' of github.com:ant-design/ant-design
2016-09-26 12:28:28 +08:00
afc163
bd3434de30
fix home link
2016-09-26 12:28:10 +08:00
Benjy Cui
d68c3c655c
site: update menu
2016-09-26 12:18:19 +08:00
Benjy Cui
b43d40d47b
docs: translate category for specification
2016-09-26 11:08:27 +08:00
afc163
6745f469bb
update Home introduce
2016-09-23 15:03:23 +08:00
Benjy Cui
28d5b49f9e
site: update details
2016-09-23 10:14:57 +08:00
Benjy Cui
949907231b
docs: udpate demo detail, close : #3111
2016-09-22 10:09:22 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f
docs: update docs details
2016-09-21 11:28:38 +08:00
Benjy Cui
e521009670
site: fix 404, close : #3098
2016-09-20 16:48:34 +08:00
Benjy Cui
e9d65904a1
site: add shouldComponentUpdate form Demo.jsx, close : #3090
2016-09-20 15:01:25 +08:00
Benjy Cui
b08a17d986
fix: add .clearfix
2016-09-19 16:57:00 +08:00
Benjy Cui
029dcf983e
site: fix sidebar
2016-09-19 11:23:41 +08:00
Benjy Cui
b27dfca108
site: translate the tips of EditButton, close : #3060
2016-09-18 14:27:41 +08:00
afc163
481c42a200
fix footer link
2016-09-18 14:02:22 +08:00
偏右
354759cb17
Redesigned icons ( #3041 )
...
* redesigned icons
* change iconfont content
* use same icons
* fix missing icons
* improve icon size
2016-09-18 09:54:47 +08:00
Benjy Cui
0703782cf5
site: fix home banner
2016-09-18 09:44:58 +08:00
afc163
01161ab8cd
Add title for toc items
2016-09-15 01:42:45 +08:00
Benjy Cui
44d5fc6fd2
fix: both of undefined and null means no input, close : #2959
2016-09-10 14:28:40 +08:00
afc163
3c2757a5be
update nav english
2016-09-10 14:22:40 +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
cb367f3f35
site: update site details
2016-09-08 16:53:50 +08:00
Benjy Cui
570b0bfe3b
site: translation of home and footer ( #2855 )
2016-09-01 11:53:55 +08:00
afc163
77949bb9e3
upgrade eslint-config, close #2811
2016-08-23 21:00:35 +08:00
afc163
c30839c9ac
Fix ant.design site detail
2016-08-17 18:33:19 +08:00
Benjy Cui
1b69accf2d
site: add edit button for demo and doc, close : #2325
2016-08-17 12:06:38 +08:00
Benjy Cui
479056364a
site: update header
2016-08-17 11:00:52 +08:00
Benjy Cui
4f2c12a640
site: move polyfill to html
2016-08-17 10:52:56 +08:00
afc163
9a62ca9a31
update site Footer
2016-08-16 19:20:03 +08:00
afc163
f869943c5c
fix link
2016-08-04 17:59:07 +08:00
Benjy Cui
2fedc25bfb
site: improve load performance
2016-08-04 10:52:09 +08:00
Benjy Cui
7c7a365960
site: improve performance
2016-08-03 17:51:33 +08:00
Benjy Cui
b0f28a218e
site: fix search
2016-08-03 16:16:05 +08:00
Benjy Cui
dfc26727d8
site: unify link
2016-08-03 15:41:18 +08:00
Benjy Cui
7ea4dfa501
site: merge demos in one file
2016-08-03 14:39:55 +08:00
afc163
47bdd8d45d
update changelog
2016-08-01 11:43:42 +08:00
afc163
a139442307
Fix eslint
2016-07-30 14:31:36 +08:00
afc163
9f5d294c83
Add mobile link
2016-07-29 13:52:05 +08:00
Benjy Cui
f99244a307
site: openKeys should be controlled
2016-07-26 18:45:22 +08:00
afc163
7952215a48
fix hash scroll
2016-07-26 18:35:38 +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
75da5a358a
fix some site style
2016-07-26 19:45:55 +08:00
afc163
e8507341f6
Fix site hash link error
2016-07-24 17:32:02 +08:00
afc163
def3d60069
fix timeout error
2016-07-17 15:25:12 +08:00
afc163
ae3d009ff6
Fix site
2016-07-17 15:20:30 +08:00
afc163
b756a49d05
Fix toc and doc order ( #1949 )
2016-07-17 15:13:19 +08:00
afc163
1c87f36dd4
Fix chrome hash link
2016-07-13 16:06:07 +08:00
afc163
ce51768fac
remove unused code
2016-07-13 14:16:15 +08:00
jiang
2a64384852
update rc-scroll-anim ( #2322 )
2016-07-08 17:33:25 +08:00
afc163
3686e2f43d
Fix site style in Mobile device
2016-06-27 11:57:56 +08:00
afc163
5f6a97dff3
Fix scroll top in Chrome ( #1949 )
2016-06-24 11:29:15 +08:00
afc163
29a7df3490
remove loading text after page loaded
2016-06-23 21:10:02 +08:00
Benjy Cui
5a4805d691
style: update code style to please lint
2016-06-19 10:57:28 +08:00
Benjy Cui
49b944617c
style: update code style to please lint
2016-06-19 09:55:03 +08:00
afc163
94af849578
Fix anchor in Chrome
2016-06-17 15:36:06 +08:00
afc163
ff8d855cc6
fix lints
2016-06-17 15:16:45 +08:00
afc163
9915c99c64
typo
2016-06-15 19:47:19 +08:00
afc163
a1c879bd2f
fix header select
2016-06-15 19:37:54 +08:00
afc163
5c850bef93
fix code box highlight
2016-06-15 17:15:27 +08:00
afc163
73c1d09094
Fix changelog page active menu
2016-06-15 15:55:39 +08:00
afc163
bcc07d06f1
Fix hash link behavious
2016-06-15 11:57:26 +08:00
afc163
6392c9f705
fix ga
2016-06-12 21:34:37 +08:00
Benjy Cui
4723c5fe7e
site: lazy load for site
2016-06-09 15:00:44 +08:00
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
2016-06-06 13:54:10 +08:00
Benjy Cui
5ed813bdca
site: fix
2016-06-03 15:51:44 +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
Benjy Cui
a84ce59d31
site: advertisement for bisheng
2016-05-27 15:43:34 +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
95222a51fa
site: migrate changelog.md
2016-05-27 09:44:07 +08:00
Benjy Cui
38f9864732
site: extract bisheng-plugin-react
2016-05-27 09:44:07 +08:00
Benjy Cui
0d0b6b0a32
site: update
2016-05-27 09:44:07 +08:00
Benjy Cui
6e59cae163
site: remove scrollTo
2016-05-27 09:44:07 +08:00
Benjy Cui
7017c9e5d1
site: update demo relative
2016-05-27 09:44:07 +08:00
Benjy Cui
1a9708febf
site: update
2016-05-27 09:44:07 +08:00
Benjy Cui
6bd299000a
site: refactor with bisheng-plugin-toc/description
2016-05-27 09:44:07 +08:00
Benjy Cui
a97e54e253
site: migrate practice pattern spec to bisheng
2016-05-27 09:44:07 +08:00
Benjy Cui
0ab1d56817
site: refactor resource with bisheng
2016-05-27 09:44:07 +08:00
Benjy Cui
e389e6b795
site: migrate MainContent to bisheng
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