forked from ant-design/ant-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
16 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
const React = require('react'); | ||
const ReactDOM = require('react-dom'); | ||
|
||
ReactDOM.render(( | ||
<div className="home-page"> | ||
首页坑位 | ||
</div> | ||
), document.getElementById('home-container')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,15 @@ | ||
{% extends "layout.html" %} | ||
|
||
{% block styles %} | ||
<link href="http://fonts.useso.com/css?family=Raleway:600,500,400,300" rel="stylesheet" type="text/css"> | ||
{% endblock %} | ||
|
||
{% block bodyAttribute %}class="index-page"{% endblock %} | ||
|
||
{% block content %} | ||
<div class="main-box" id="main"> | ||
<div class="banner-box"> | ||
<div id="bannerAnim"></div> | ||
<div class="banner-entry fn-hide"> | ||
<div class="entry-title">Ant</div> | ||
<div class="entry-title">Design</div> | ||
<div class="entry-slogan"> | ||
{{ config.site.description }} | ||
</div> | ||
<a class="entry-link" href="{{static_url('../spec/introduce')}}"> | ||
<i class="anticon anticon-smile"></i> | ||
开始探索 | ||
</a> | ||
</div> | ||
<div class="banner-img fn-alpha-out"></div> | ||
</div> | ||
</div> | ||
<script src="{{static_url('homeLoad.js')}}"></script> | ||
<div id="home-container"></div> | ||
<script src="{{static_url('../dist/home.js')}}"></script> | ||
<style> | ||
.main-wrapper { | ||
overflow: hidden; | ||
position: relative; | ||
height: calc(100% - 190px); | ||
min-height: 500px; | ||
background: #fff; | ||
transform-style: preserve-3d; | ||
transition: transform .6s cubic-bezier(0.785, 0.135, 0.15, 0.86), height .5s ease-out; | ||
.home-page { | ||
text-align: center; | ||
min-height: 560px; | ||
padding-top: 200px; | ||
} | ||
</style> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters