Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
48f915de
A
ant-design
项目概览
wanjj_1210
/
ant-design
与 Fork 源项目一致
从无法访问的项目Fork
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ant-design
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
48f915de
编写于
1月 07, 2016
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update home page
上级
4660a7f6
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
14 deletion
+12
-14
scripts/home.js
scripts/home.js
+4
-5
site/static/style.css
site/static/style.css
+7
-8
site/templates/home.html
site/templates/home.html
+1
-1
未找到文件。
scripts/home.js
浏览文件 @
48f915de
...
...
@@ -46,9 +46,8 @@ class Banner extends React.Component {
render
()
{
return
(
<
QueueAnim
className
=
"
banner-text-wrapper
"
type
=
{
this
.
typeFunc
}
delay
=
{
300
}
>
<
h1
key
=
"
h1
"
>
ANT
DESIGN
<
p
>
V1
.
0
<
/p></
h1
>
<
p
key
=
"
content
"
>
一套面向中后台的设计解决方案
<
/p
>
<
span
className
=
"
line
"
key
=
"
line
"
/>
<
h1
key
=
"
h1
"
>
ANT
DESIGN
<
/h1
>
<
p
key
=
"
content
"
>
一套
UI
设计语言
<
/p
>
<
a
key
=
"
button
"
href
=
"
/docs/spec/introduce
"
><
Icon
type
=
"
smile-circle
"
/>
开始探索
<
/a
>
<
/QueueAnim>
)
}
...
...
@@ -89,8 +88,8 @@ ReactDOM.render((
<
TweenOne
key
=
"
image
"
className
=
"
image3 image-wrapper
"
vars
=
{{
x
:
0
,
opacity
:
1
,
duration
:
550
}}
style
=
{{
transform
:
'
translateX(-100px)
'
,
opacity
:
0
}}
/
>
<
QueueAnim
className
=
"
text-wrapper
"
delay
=
{
300
}
key
=
"
text
"
duration
=
{
550
}
leaveReverse
style
=
{{
top
:
'
40%
'
}}
>
<
h1
key
=
"
h1
"
>
30
+
的
基础设计组件
<
/h1
>
<
p
key
=
"
p
"
style
=
{{
maxWidth
:
280
}}
>
为中后台设计中反复出现的问题提供一套
相应
的解决方案
<
/p
>
<
h1
key
=
"
h1
"
>
数十个
基础设计组件
<
/h1
>
<
p
key
=
"
p
"
style
=
{{
maxWidth
:
280
}}
>
为中后台设计中反复出现的问题提供一套
完整
的解决方案
<
/p
>
<
div
key
=
"
button
"
><
Button
type
=
"
primary
"
size
=
"
large
"
onClick
=
{()
=>
{
window
.
location
.
href
=
'
/docs/react/introduce
'
}}
>
了解更多
<
Icon
type
=
"
right
"
/><
/Button></
div
>
<
/QueueAnim
>
<
/ScrollOverPack
>
...
...
site/static/style.css
浏览文件 @
48f915de
...
...
@@ -85,21 +85,20 @@ header {
a
.logo
{
float
:
left
;
height
:
46px
;
line-height
:
46px
;
margin
:
17px
45px
17px
4%
;
transition
:
margin
0.3s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
)
0s
,
width
0.3s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
)
0s
,
height
0.3s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
)
0s
;
height
:
40px
;
line-height
:
40px
;
margin
:
17px
0
17px
4%
;
text-transform
:
uppercase
;
font-size
:
1
8
px
;
font-size
:
1
6
px
;
font-family
:
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"微软雅黑"
,
sans-serif
;
color
:
#2db7f5
;
width
:
219px
;
}
.logo
img
{
width
:
40px
;
float
:
left
;
margin-top
:
-7px
;
-webkit-animation
:
rotateCircleBack
0.6s
1
ease-in-out
;
animation
:
rotateCircleBack
0.6s
1
ease-in-out
;
margin-right
:
8px
;
}
.search
{
...
...
site/templates/home.html
浏览文件 @
48f915de
...
...
@@ -61,7 +61,7 @@
.banner-text-wrapper
{
position
:
absolute
;
left
:
5
%
;
left
:
10
%
;
top
:
60%
;
color
:
#fff
;
text-align
:
right
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录