Commit Graph

1117 Commits

Author SHA1 Message Date
偏右
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
396af02fe0 site: update detail 2017-02-27 14:56:04 +08:00
afc163
e23bcb9b54 site: update detail 2017-02-27 13:52:09 +08:00
afc163
85df55df72 site: fix markdown list style 2017-02-27 11:46:45 +08:00
afc163
40b30d8ef9 site: fix markdown list style 2017-02-26 22:56:58 +08:00
afc163
05b20c6a9f fix stylelint problems of site 2017-02-26 15:41:50 +08:00
afc163
c31ebaad90 site: fix responsive design 2017-02-26 15:25:26 +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
c2217f666c site: fix infinte redirect loop 2017-02-22 14:26:48 +08:00
afc163
9bb7e3d10c site: improve responsive layout 2017-02-21 23:26:10 +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
2512e6b5b5 site: update toc width 2017-02-18 17:19:17 +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
afc163
9fede4a5cd site: adjust component select style 2017-02-15 15:55:35 +08:00
乐仪
1306c4656d - version -> 2.7.1
- rc-pagination -> ~1.7.0
- fix site bug
2017-02-10 20:32:55 +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
24b1e1913a update button text 2017-02-01 12:00:12 +08:00
afc163
98ad1a9186 site: update home 2017-01-31 21:00:45 +08:00
afc163
611b6acb11 site: update Home button text 2017-01-31 15:05:17 +08:00
afc163
53b94a5996 site: update start button style 2017-01-30 17:44:25 +08:00
Bo Chen
f0adb4dc5f site: run ant-design on windows #4725
* 5hours's work

* 过年好!!

* lint issue
2017-01-26 16:51:06 +08:00
afc163
fa10c9dee0 adjust page margin in small device, ref #4682 2017-01-22 19:31: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
afc163
5a8d15333d site: update header style 2017-01-20 20:52:12 +08:00
afc163
6c98d94b0d site: improve style of toc and color page 2017-01-20 13:41:26 +08:00
Benjy Cui
eb254572b7 site: upgrade bisheng to 0.20.0 2017-01-20 11:48:38 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
afc163
e90189db8d site: improve style of component demo toc 2017-01-19 15:09:03 +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
pd4d10
ca4697be55 doc: Fix star count (#4610) 2017-01-16 10:08:20 +08:00
afc163
b245659887 update API table style 2017-01-15 13:15:30 +08:00
afc163
c3a2b44f58 Fix strong site anchor truncation in IE
screenshot:
https://zos.alipayobjects.com/rmsportal/jtXxUhVBfEslRIpDvwhP.png
2017-01-14 16:59:02 +08:00
Benjy Cui
e459562cdc site: fix target demo highlight, close: #4545 2017-01-13 14:59:14 +08:00
afc163
8d25da0c3a Fix English grammar
follow
611c981346 (commitcomment-20407445)
2017-01-09 22:37:57 +08:00
afc163
611c981346 change slogan 2017-01-09 22:10:32 +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
afc163
6750c0b82b Make color value can be selectable 2017-01-04 15:13:55 +08:00
afc163
d4993ce3e0 Fix less compile error 2017-01-03 20:11:13 +08:00
Benjy Cui
4db6d3b915 site: fix language switch in Firefox, close: #4360 2017-01-03 18:03:02 +08:00
Benjy Cui
fe706ebf0d chore: update ISSUE_TEMPLATE.md 2017-01-03 15:00:41 +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
3ec2c1bcfa Revert "site: use cdn to improve performance, close: #3646"
This reverts commit 5d72c6d7e5.
2016-12-20 10:19:17 +08:00
Benjy Cui
5d72c6d7e5 site: use cdn to improve performance, close: #3646 2016-12-19 18:08:07 +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
b768533100 site: update html indentation 2016-12-09 14:14:31 +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
1a37b44dad update template 2016-12-05 16:54:56 +08:00
afc163
65431a3981 update site api style 2016-12-05 13:09:05 +08:00
afc163
4e589af9b6 Revert loading icon to 1/4 circle 2016-12-04 16:53:59 +08:00
afc163
e8cb51e024 fix header 2016-12-02 18:28:41 +08:00
afc163
752392a964 Improve home page style in Mobile device 2016-12-02 18:17:03 +08:00
afc163
0ed98a5574 remove background of code 2016-11-26 21:07:27 +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
109d72ea70 update home button style 2016-11-22 14:53:35 +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
231b2b9dae upgrade some site style 2016-11-18 14:24:50 +08:00
afc163
42b4df295c update site for primary-color change 2016-11-18 14:24:50 +08:00
afc163
6205118c31 update code font family 2016-11-18 13:55:28 +08:00
afc163
321f4e1402 update demo style 2016-11-15 21:19:02 +08:00
afc163
9e6439b06c fix title and footer height according to Table[size] 2016-11-15 20:06:41 +08:00
afc163
dde040e3e8 fix lints 2016-11-15 15:10:01 +08:00
Benjy Cui
76b91812f4 site: fix type order, ref: #3758 2016-11-14 15:53:47 +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
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
f98005a696 update meta description 2016-11-08 12:03:20 +08:00
afc163
224281f425 fix responsive menu style 2016-11-06 17:09:06 +08:00
afc163
a105876ff1 update style 2016-11-01 15:08:31 +08:00
afc163
479e975d29 Improve API table style 2016-11-01 15:02:48 +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
afc163
4fe28ec298 fix markdown style 2016-10-20 21:00:36 +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
afc163
2fe4590887 update site markdown style 2016-10-18 00:18:03 +08:00
afc163
0920efb87f update changelog 2016-10-16 16:21:56 +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
7b42951f37 update demo style 2016-10-10 22:51:03 +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
950c641016 adjust site style 2016-10-07 20:41:51 +08:00
afc163
1ddc4371eb fix typo 2016-10-07 15:33:04 +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
e555335568 Merge branch 'master' of github.com:ant-design/ant-design 2016-09-30 14:26:03 +08:00
afc163
36e50ed794 Improve Layout demo style
learn from https://www.iviewui.com/components/layout
2016-09-30 14:24:41 +08:00
Benjy Cui
9de4c7f436 site: remove italic to improve Chinese readability 2016-09-30 13:55:50 +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
afc163
c0b0d493de update site 2016-09-29 15:46:29 +08:00
afc163
8948398b6f use fonts.googleapis.cnpmjs.org 2016-09-29 14:17:42 +08:00
afc163
c93ef7663c update resource page style 2016-09-29 11:42:39 +08:00
afc163
d90bf42fd5 update site font 2016-09-29 11:21:19 +08:00
afc163
19fdb2696b update fonts url 2016-09-28 15:05:04 +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
2c45e8ab35 chore: add 1x.ant.design 2016-09-21 17:29:04 +08:00
Benjy Cui
34fa1f2521 docs: fix breadcrumb demo 2016-09-21 16:42:32 +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
chencheng (云谦)
9d9185127c docs: rename babel-plugin-antd to babel-plugin-import (#3089) 2016-09-20 17:17:49 +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
afc163
f4c3c32382 Merge branch '1.x-stable' 2016-09-19 00:40:20 +08:00
afc163
478dfd1767 fontstatic.useco.com => fonts.gstatic.com, close #3064 2016-09-19 00:37:10 +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
afc163
9042e139b3 Remove some unused code 2016-09-15 01:38:32 +08:00
Benjy Cui
648476de70 site: css split plugin should work with livereload 2016-09-14 14:21:13 +08:00
Benjy Cui
cda671fead site: fix site in IE9, WTF 2016-09-13 14:47:05 +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
afc163
e34d5c57c5 update font-family 2016-09-10 14:19:46 +08:00
afc163
f10c7bbfda update markdown style 2016-09-10 14:13:56 +08:00
Benjy Cui
9ac4e6ea44 site: fix language detect function 2016-09-10 11:21:00 +08:00
afc163
2f308b0f99 update font-family 2016-09-10 11:10:47 +08:00
yiminghe
4b9d63d08d add promise polyfill 2016-09-08 20:38:08 +08:00
Benjy Cui
76ce445576 site: fix start button 2016-09-08 17:48:55 +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
yiminghe
aaee7986bd update site config 2016-09-08 11:09:15 +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
646e190c1d update edit button style 2016-08-20 20:36:56 +08:00
Benjy Cui
c92827324b site: update edit button style 2016-08-19 16:11:32 +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
Benjy Cui
a17dbf03e1 site: fix sidebar 2016-08-05 19:13:57 +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
e865f1fc84 site: fix react-router 2016-07-27 15:24:43 +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
Benjy Cui
5660948372 site: fix meaningless anchor 2016-07-25 11:38:15 +08:00
afc163
e8507341f6 Fix site hash link error 2016-07-24 17:32:02 +08:00
afc163
4ea8f4ea07 upgrade devDeps version 2016-07-24 14:53:09 +08:00
afc163
011e9f8ce0 fix site style 2016-07-23 18:15:06 +08:00
afc163
683e0a670f fix site font 2016-07-17 18:21:19 +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
47a10a2deb update changelog 2016-07-05 14:20:11 +08:00
afc163
1e1fde8753 Fix spec/font.md 2016-06-28 21:09:49 +08:00
afc163
089f1ae512 update components category name 2016-06-27 18:21:12 +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
afc163
82e90d2bd4 Merge branch 'master' of github.com:ant-design/ant-design 2016-06-20 16:38:02 +08:00
Benjy Cui
e3a0f4833c refactor: extract bisheng-plugin-antd 2016-06-20 14:31:35 +08:00
afc163
36aa621fa4 some compatibility 2016-06-20 11:44:46 +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
b27f0eb68f Remove es*-shims (benjycui/bisheng#23) 2016-06-16 17:38:14 +08:00
afc163
e52a6b989e fix es6-shim 2016-06-16 14:36:15 +08:00
Benjy Cui
1903748d8c site: add dora-plugin-upload 2016-06-16 09:59:14 +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
07141b528c update code font 2016-06-15 15:56:31 +08:00
afc163
73c1d09094 Fix changelog page active menu 2016-06-15 15:55:39 +08:00
偏右
43468c795d Add nprogress for page loading (#2016) 2016-06-15 15:07:28 +08:00
afc163
bcc07d06f1 Fix hash link behavious 2016-06-15 11:57:26 +08:00
afc163
fbe17bf458 Add es6-shim 2016-06-14 11:53:14 +08:00
afc163
a87ce1b090 fix design docs style 2016-06-14 11:34:48 +08:00
afc163
2d5e114257 const => var 2016-06-13 16:12:28 +08:00
afc163
e194a044ac update subtitle style 2016-06-13 14:56:59 +08:00
afc163
6392c9f705 fix ga 2016-06-12 21:34:37 +08:00
afc163
e533846489 fix breadcrumb demo warning 2016-06-12 14:14:55 +08:00
afc163
74ef0b7951 update site style 2016-06-11 16:25:26 +08:00
afc163
8877fe599a rm pageEnter 2016-06-09 23:17:14 +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
ddcat1115
4af2731f0c fix #1672 (#1936) 2016-06-06 11:40:54 +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
Benjy Cui
0dbfa049a1 chore: update website publish script 2016-06-03 13:21:27 +08:00
afc163
aa17690b65 fix some site style 2016-06-02 21:52:48 +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
Benjy Cui
23b8099449 site: fix style tag 2016-05-27 15:11:18 +08:00
afc163
7a5ba669e7 Merge branch 'master' of github.com:ant-design/ant-design 2016-05-27 14:50:15 +08:00
afc163
7a53b39af2 fix site styles 2016-05-27 14:46:46 +08:00
Benjy Cui
b94bca7cf1 site: update port 2016-05-27 14:31:29 +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
4afb1cc6dd site: update 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
RaoHai
c5f574026e Merge pull request #1824 from raptium/master
文档中 API 参数说明表格字体修改
2016-05-24 13:55:08 +08:00
afc163
7b5f843546 fix 404 page style 2016-05-23 19:39:14 +08:00
Guan Hao
706190f8f0 文档中 API 参数说明表格字体修改
原本的 `consolas` 在 Mac 系统上会回落至宋体,影响阅读体验
2016-05-23 18:35:01 +08:00
afc163
057713c889 Fix site style 2016-05-23 11:35:09 +08:00
afc163
a2736da2bd fix new version Modal 2016-05-22 14:30:22 +08:00
afc163
b06cdd08c3 Fix row-flex-space-around, close #1781 2016-05-22 01:52:26 +08:00
afc163
c9e8423c7e Fix site style, close #1789 2016-05-20 13:23:51 +08:00
afc163
5c9b4b4296 update select demo 2016-05-19 18:05:35 +08:00
afc163
b28e80c156 fix header margin 2016-05-17 14:10:35 +08:00
afc163
6cfc4881cc Merge branch 'master' of github.com:ant-design/ant-design 2016-05-17 13:53:27 +08:00
afc163
3579d50c3f fix iOS safari localStorage issue, close #1716 2016-05-17 12:04:44 +08:00
Benjy Cui
2964393e5a site: fix intl bug 2016-05-17 11:53:10 +08:00
Benjy Cui
41df1a4ae8 site: fix 2016-05-17 11:35:24 +08:00
afc163
49f866a8ff fix link, close #1714 2016-05-17 00:03:28 +08:00
afc163
511bfa73c1 Merge branch 'master' of github.com:ant-design/ant-design 2016-05-17 00:01:48 +08:00
afc163
abfbcee034 use css animation for perf 2016-05-17 00:01:25 +08:00
Benjy Cui
15b7c51013 site: hide language changer online 2016-05-16 15:41:55 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
Benjy Cui
665a4aa3b2 site: solve rebase problems 2016-05-16 15:41:55 +08:00
Benjy Cui
be2bac4b25 site: resolve rebase errors 2016-05-16 15:41:55 +08:00
Benjy Cui
f884a6d260 site: add button to change language 2016-05-16 15:41:55 +08:00
Benjy Cui
ba64ebbca8 site: fix bugs 2016-05-16 15:41:55 +08:00
Benjy Cui
8971074b3d site: add i18n for common md file 2016-05-16 15:41:55 +08:00
Benjy Cui
b9a550c0fe site: i18n for demo 2016-05-16 15:41:55 +08:00
Benjy Cui
a830b6cc71 site: zh-Hans-CN to zh-CN 2016-05-16 15:41:55 +08:00
Benjy Cui
6f04b6404b site: add i18n for website 2016-05-16 15:41:55 +08:00
Benjy Cui
b829e9a187 chore: update AUTHORS.txt 2016-05-16 09:43:43 +08:00
afc163
9f45d39dab update info modal version 2016-05-15 22:17:05 +08:00
afc163
090527c120 update text 2016-05-15 21:21:42 +08:00
afc163
e28654bc14 Add new version info Modal for all users 2016-05-15 21:14:27 +08:00
afc163
3b46d06265 fix #1686 2016-05-15 20:09:47 +08:00
afc163
5ec1ce08e3 update site style 2016-05-15 19:18:20 +08:00
afc163
de14ac0b63 fix links 2016-05-15 19:07:53 +08:00
afc163
80c7583562 update input-number disabled style 2016-05-15 14:20:38 +08:00
afc163
04e0bbdfa2 update site footer style 2016-05-13 23:40:56 +08:00
afc163
5b921b6960 Fix combobox focus style, close #1684 2016-05-13 23:16:59 +08:00
afc163
c598a8f3e0 fix font-family 2016-05-13 11:53:41 +08:00
jiang
8da2be64aa loader (#1671)
* update loader-anim

* update ant-site-loading opacity

* fix blank lines
2016-05-12 18:07:08 +08:00
afc163
ef8852bc27 Fix footer links 2016-05-12 17:44:36 +08:00
jiang
09fbd10e08 Loader (#1666)
* update page loader and add page-wrapper, loader end fade in

* update index

* update index text content

* update index text content language

* update index loader

* update index loader

* simplify code
2016-05-12 15:19:24 +08:00
Benjy Cui
fa62cac0b3 site: should scroll to top when change page 2016-05-12 10:09:11 +08:00
afc163
d63a16ff5f Add site loading, close #1632 2016-05-11 19:18:54 +08:00
afc163
677c7f1ee6 fix site style 2016-05-11 13:51:25 +08:00
yiminghe
5249529432 remove _k 2016-05-11 11:48:43 +08:00
Benjy Cui
90083433b3 site: fix links 2016-05-11 11:44:24 +08:00
Benjy Cui
07c1ef05d3 site: fix iframe 2016-05-11 11:36:47 +08:00
afc163
bd388ac25e fix #1628 2016-05-11 11:18:33 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
3487e06f28 fix detail site style 2016-05-11 00:24:00 +08:00
afc163
001cf94e45 Fix some detail style 2016-05-10 15:44:24 +08:00
jljsj
105f7d0941 fix home arrow anim 2016-05-10 15:32:15 +08:00
afc163
fcf3242570 upgrade eslint-config-airbnb and fix lints 2016-05-10 15:15:09 +08:00
afc163
cd3904b436 Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0 2016-05-10 14:44:58 +08:00
afc163
7e083ddaf0 improve site style 2016-05-10 14:44:23 +08:00
Benjy Cui
3f700ff72b site: fix header highlight 2016-05-10 14:39:44 +08:00
afc163
c1c8a04875 Add 1.0.0 Changelog (#1614)
* Add 1.0.0 Changelog (#1574)

* Add github links

* update changelog

* upgrade changelog

* fix links
2016-05-10 14:22:05 +08:00
Benjy Cui
f17f156150 site: fix 404 2016-05-09 11:34:45 +08:00
afc163
4db2c32a30 Fix resource page (#1605) 2016-05-08 17:03:43 +08:00
afc163
d0b8b01d0b Add 012x.ant.design 2016-05-08 16:52:39 +08:00
afc163
d7e503463c fix header router path 2016-05-08 16:24:23 +08:00
Benjy Cui
c23d724ab9 site: fix routes 2016-05-06 14:27:51 +08:00
Benjy Cui
0283f61bba site: fix bug 2016-05-06 14:21:30 +08:00
Benjy Cui
b81034cc13 site: convert a to Link 2016-05-06 14:17:41 +08:00
Benjy Cui
a621522c56 site: fix active menu item 2016-05-06 11:06:26 +08:00
afc163
ecfcd7bcc5 update site style 2016-05-05 16:12:51 +08:00
afc163
649ba1b47d fix site style 2016-04-29 13:42:23 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +08:00
Benjy Cui
36af97c20b site: fix nav 2016-04-28 15:42:02 +08:00
afc163
0ca6a1c24a css modularize (#1448)
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
cfcbc75190 Fix select demo 2016-04-27 18:07:48 +08:00
Benjy Cui
055619a896 site: add not found page (#1518) 2016-04-27 10:56:17 +08:00
afc163
7a064f543e fix markdown style 2016-04-26 18:21:35 +08:00
afc163
2effeac604 fix markdown style 2016-04-26 16:14:07 +08:00
afc163
52d5026229 Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0 2016-04-26 14:54:54 +08:00
Leon Shi
baac12d1c4 fix lint (#1513)
* fix lint `prefer-stateless-function`

* fix lint `arrow-body-style`
2016-04-26 14:09:19 +08:00
afc163
5253cf9d66 add blank 2016-04-26 11:28:12 +08:00
afc163
49f0833674 update highlight code style 2016-04-23 16:09:22 +08:00
Benjy Cui
4d64a16b48 site: replace highlight.js with Prism.js 2016-04-22 10:56:12 +08:00
Benjy Cui
8f7c8fb9c0 site: improve performance 2016-04-19 17:06:15 +08:00
afc163
37b33dc0a8 update home style 2016-04-18 18:56:25 +08:00
afc163
4e292a89cf Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0 2016-04-18 16:59:42 +08:00
afc163
44cbba08ca Improve changelog page style 2016-04-18 16:59:04 +08:00
Benjy Cui
3e05ca4877 site: fix search box 2016-04-18 15:21:02 +08:00
afc163
8116e775ff upgrade devDeps and fix some eslint problems 2016-04-18 14:58:38 +08:00
afc163
91e690282d update site markdown style 2016-04-18 13:43:33 +08:00
Benjy Cui
431dffa116 chore: fix webpack config 2016-04-14 10:33:01 +08:00
Benjy Cui
047bfc2574 style: enable react/prefer-stateless-function 2016-04-13 17:38:53 +08:00
Benjy Cui
7340871aaf site: fix 2016-04-13 16:55:27 +08:00
Benjy Cui
2fc97f4ada site: refactor 2016-04-13 16:48:56 +08:00
Benjy Cui
24ade9178d site: fix highlight in index.md 2016-04-13 10:13:07 +08:00
afc163
5ad74ce330 update codepen using npmcdn
close #1338
2016-04-12 17:24:59 +08:00
afc163
26a6e30316 site style 2016-04-11 16:41:27 +08:00
jiang
22cc6165ac fix home animation (#1381) 2016-04-11 16:06:20 +08:00
afc163
3b1f95c346 Fix site style 2016-04-11 11:55:44 +08:00
Benjy Cui
b685a31f96 site: update dependencies 2016-04-11 10:12:48 +08:00
afc163
299a30d4e7 fix layout demo style 2016-04-10 15:39:24 +08:00
Benjy Cui
71e4a6fb7d site: support import style respectivly 2016-04-08 15:29:04 +08:00
Benjy Cui
2728ea4fa1 site: to be compatibled with old browsers 2016-04-08 14:24:39 +08:00
Benjy Cui
421ee0ddf9 site: remove warnings 2016-04-07 15:36:55 +08:00
Benjy Cui
b7ec49e060 site: update code to be compatible with new deps 2016-04-07 15:36:55 +08:00
Benjy Cui
e76030e0c9 site: style should be placed in less files 2016-04-07 15:36:55 +08:00
Benjy Cui
ed591cd7e4 site: refactor 2016-04-07 15:36:55 +08:00
afc163
2cda36a7c4 improve header site style 2016-04-07 15:29:54 +08:00
afc163
151a579294 fix site style 2016-04-06 12:23:41 +08:00
Benjy Cui
fccc268fc0 site: remove useless code 2016-04-05 14:27:49 +08:00
Benjy Cui
202f01c292 site: meta.hidden should work 2016-04-05 14:19:58 +08:00
Benjy Cui
ee4877a32c site: fix toc 2016-04-01 09:35:53 +08:00
Benjy Cui
794783d1c2 style: enable react/no-multi-comp 2016-03-31 17:46:35 +08:00
afc163
d75c0d0b24 Merge pull request #1307 from ant-design/docs-format
Update docs format
2016-03-31 15:48:38 +08:00
Benjy Cui
1b9a7b3dbe deps: remove useless dependencies 2016-03-31 15:47:48 +08:00
Benjy Cui
270d916324 site: should work with new docs format 2016-03-31 15:22:38 +08:00
afc163
8c5c458304 Fix es6 function 2016-03-30 22:51:30 +08:00
afc163
7d3ce97cc8 use rc-queue-anim in site 2016-03-30 19:14:09 +08:00
Bruce Mitchener
fd71966d0a Update IconSet and Header for coding standard. 2016-03-30 16:42:57 +07:00
Benjy Cui
1fbfb67744 site: update code style 2016-03-30 16:16:18 +08:00
afc163
5ba39859d6 Merge from master 2016-03-30 11:45:07 +08:00
Benjy Cui
b0fc16c3fc site: fix react-router warning 2016-03-29 12:00:14 +08:00
afc163
7692bf3d42 update site style 2016-03-28 19:12:51 +08:00
Benjy Cui
4f45fca1af site: filter should be case insensitive 2016-03-28 15:08:17 +08:00
Benjy Cui
ddb2a0eedb site: fix css 2016-03-28 14:14:47 +08:00
Benjy Cui
3f7cf472de site: fix url 2016-03-28 14:12:26 +08:00
afc163
ff7940f86c upgrade api table style 2016-03-25 17:43:24 +08:00
Benjy Cui
6199cf158f site: enable GA 2016-03-25 17:35:26 +08:00
Benjy Cui
41460d615a site: add demo preview animation 2016-03-25 17:07:00 +08:00
Benjy Cui
ea06f91a99 site: fix demo hover style 2016-03-25 15:05:14 +08:00
Benjy Cui
6c2115c8a8 site: update code preview, except animation 2016-03-25 15:03:53 +08:00
afc163
0534c53db5 Merge master into develop-1.0.0 2016-03-25 12:18:51 +08:00
afc163
963d073f1d improve api table style 2016-03-24 21:30:33 +08:00
Benjy Cui
8f79c9b328 site: fix expand bug 2016-03-24 17:56:19 +08:00
Benjy Cui
859f103685 site: add highlight for demo and toc 2016-03-24 17:34:29 +08:00
Benjy Cui
e928e57494 site: support responsive 2016-03-24 17:13:19 +08:00
afc163
b5d9e24114 remove console 2016-03-24 16:18:31 +08:00
Benjy Cui
e5542fe368 site: fix animation 2016-03-24 11:03:32 +08:00
Benjy Cui
c5c1b1339e refactor: hightlight code in loader 2016-03-24 10:56:13 +08:00
afc163
1e380d306e fix footer style of new site 2016-03-23 23:02:01 +08:00
afc163
2102c253fe fix site style 2016-03-23 22:36:26 +08:00
Benjy Cui
cd39283aca docs: fix demo, close #1207 2016-03-23 14:59:01 +08:00
Benjy Cui
f78b8b0aca site: refactor simplify code 2016-03-23 14:29:16 +08:00
Benjy Cui
9d05a4e069 site: fix links 2016-03-23 14:20:24 +08:00
Benjy Cui
0a701837eb site: complete title 2016-03-23 14:15:00 +08:00
Benjy Cui
3fd2b1ac41 site: fix menu highlight 2016-03-23 11:54:10 +08:00
Benjy Cui
f723d6ca51 refactor: remove some hard code 2016-03-23 10:43:43 +08:00
afc163
fb6c6abbc7 Merge master 2016-03-22 19:31:55 +08:00
afc163
02807a69ad update some basic style 2016-03-22 19:24:47 +08:00
afc163
84f904d03c fix(site): some style 2016-03-22 19:19:37 +08:00
Benjy Cui
e62c853a6a chore: move _site/data to _data 2016-03-22 11:32:49 +08:00
Benjy Cui
bb29d4d53a site: enable HMR for demos 2016-03-21 16:54:20 +08:00
Benjy Cui
c63fb94772 site: refactor build scripts 2016-03-21 16:49:59 +08:00
Benjy Cui
58ff5fded4 site: fix warnings 2016-03-21 10:44:31 +08:00
Benjy Cui
ad2538b3c0 site: simplify routes 2016-03-21 10:33:27 +08:00
afc163
959a190d3a update layout 2016-03-20 16:25:14 +08:00
Benjy Cui
a00cd7b0db site: update styles 2016-03-18 11:24:01 +08:00
Benjy Cui
fda29689c4 site: add versions selector 2016-03-17 15:46:07 +08:00
Benjy Cui
20ec00abf0 site: update UI 2016-03-17 15:21:41 +08:00
Benjy Cui
33161f9520 site: update ImagePreview style 2016-03-17 15:00:06 +08:00
Benjy Cui
4931e5cc09 site: update css for website 2016-03-17 10:43:50 +08:00
Benjy Cui
1a1adc4fe9 site: support video in Markdown 2016-03-16 17:46:35 +08:00
Benjy Cui
b8957bcc92 site: refactor ImagePreview 2016-03-16 17:05:41 +08:00
Benjy Cui
55b163d62e site: update site style 2016-03-15 17:40:31 +08:00
Benjy Cui
aa5b298f58 site: title should support inner html 2016-03-15 16:52:04 +08:00
Benjy Cui
48dfb55cbb site: toc should support inner html 2016-03-15 16:51:22 +08:00
Benjy Cui
122886dea1 site: solve some conflicts with new-deisgn-language 2016-03-15 11:19:57 +08:00
Benjy Cui
ebab622add Merge branch 'master' of github.com:ant-design/ant-design into develop-1.0.0 2016-03-15 09:47:55 +08:00
afc163
b79c4b1883 fix img style in doc 2016-03-14 17:11:41 +08:00
afc163
0212a73ef9 update site style 2016-03-14 16:54:23 +08:00
afc163
9665daa192 move toc under meta description 2016-03-14 16:18:06 +08:00
afc163
ffe729a77b update docs 2016-03-14 15:01:00 +08:00
Benjy Cui
90a54507f5 site: add github button 2016-03-14 15:00:11 +08:00
Benjy Cui
aa6326f1e1 style: update code style to please lint 2016-03-14 14:21:01 +08:00
afc163
996eca7eb9 update style 2016-03-13 22:28:42 +08:00
afc163
50a710a674 Merge branch 'master' into new-design-language 2016-03-11 16:06:52 +08:00
afc163
f7d172b7f4 update style 2016-03-11 15:29:00 +08:00
afc163
26c4e07040 improve video in markdown 2016-03-11 15:21:32 +08:00
Benjy Cui
d431662d19 site: redirects should be configurable 2016-03-11 14:12:05 +08:00
Benjy Cui
fb3776dbd3 site: add redirect 2016-03-11 09:42:04 +08:00
jljsj
dfe084fbff add transition, remove page-transition 2016-03-10 18:06:39 +08:00
Benjy Cui
7db2a33f1d site: filename as pathname 2016-03-10 16:56:17 +08:00
Benjy Cui
f6a5c7ad2e site: support header jumper 2016-03-10 16:01:39 +08:00