You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

134 lines
4.5 KiB

10 years ago
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
10 years ago
<title>{% block title %}Ant Design{% endblock %}</title>
10 years ago
<link rel="stylesheet" href="/static/normalize.css">
10 years ago
<link rel="stylesheet" href="/static/style.css">
10 years ago
<link rel="stylesheet" href="//at.alicdn.com/t/font_1431763241_3066776.css">
10 years ago
<link rel="stylesheet" href="/static/tomorrow.css">
10 years ago
<script src="https://a.alipayobjects.com/jquery/jquery/1.11.1/jquery.js"></script>
10 years ago
<script src="/static/script.js"></script>
10 years ago
<!-- react -->
<script src="https://t.alipayobjects.com/images/T12TdfXlpbXXXXXXXX.js"></script>
<!-- JSXTransformer -->
<script src="https://t.alipayobjects.com/images/T1jCFfXdNiXXXXXXXX.js"></script>
{%- if post.meta.template === 'component' %}
<script type="text/jsx" src="/static/code.jsx"></script>
{%- endif %}
10 years ago
</head>
10 years ago
<body class="{%- if post.filepath === 'README.md' %}index-page{%- endif %}">
10 years ago
<header id="header">
<a class="logo" href="/">
<img src="https://t.alipayobjects.com/images/T1.lRfXcxoXXXXXXXX.png">
10 years ago
</a>
<div class="search">
<form>
<input type="text" placeholder="search">
<button type="submit"></button>
</form>
</div>
<nav class="nav">
<ul>
10 years ago
<li class="{%- if post.meta.filepath === 'README.md' %}current{%- endif %}">
<a href="/">首页</a>
10 years ago
</li>
10 years ago
<li class="{%- if post.filename === 'start' %}current{%- endif %}">
<a href="/docs/start">上手</a>
</li>
<li class="{%- if post.filename === 'design' %}current{%- endif %}">
<a href="/docs/design">设计</a>
10 years ago
</li>
<li class="{%- if post.meta.template === 'component' %}current{%- endif %}">
<a href="/components/button">组件</a>
10 years ago
</li>
<li class="{%- if post.filename === 'modes' %}current{%- endif %}">
<a href="/docs/modes">模式</a>
10 years ago
</li>
<li class="{%- if post.filename === 'cases' %}current{%- endif %}">
<a href="/docs/cases">案例</a>
10 years ago
</li>
<li class="{%- if post.filename === 'download' %}current{%- endif %}">
<a href="/docs/download">下载</a>
10 years ago
</li>
</ul>
</nav>
<div class="nav-phone-icon"></div>
</header>
10 years ago
{%- if post.filepath === 'README.md' %}
<!-- 首页 -->
10 years ago
<div class="main">
<div class="main-box" id="main">
<div class="banner-box">
<div id="bannerAnim"></div>
<div class="banner-img"></div>
<div class="banner-text"></div>
</div>
</div>
</div>
<script src="/static/home.js"></script>
10 years ago
{%- else %}
10 years ago
<div class="main-wrapper">
{%- if post.meta.template === 'component' %}
{%- include "aside.html" %}
<section class="main-container">
{%- else %}
<section class="main-container-center">
{%- endif %}
<article class="markdown">
10 years ago
<h1>
{{ post.title }}
10 years ago
{%- if post.meta.API %}
10 years ago
<a class="api-link" href="http://{{ post.meta.API }}" target="_blank">
<i class="iconfont icon-externallink"></i>
API 使用说明
</a>
10 years ago
{%- endif %}
10 years ago
</h1>
{{ post.html }}
10 years ago
<h2>组件演示</h2>
10 years ago
<div id="code-boxes">
代码加载中...
</div>
10 years ago
<script type="text/jsx">
React.render(
10 years ago
<CodeBoxes>
10 years ago
{%- set items = resource.pages|find_demo_in_component(post.meta.directory) %}
{%- for item in items %}
<CodeBox src="{{item.meta.filepath}}"></CodeBox>
{%- endfor %}
10 years ago
</CodeBoxes>,
10 years ago
document.getElementById('code-boxes')
);
</script>
10 years ago
</article>
</section>
</div>
10 years ago
{%- endif %}
10 years ago
<footer id="footer">
<ul>
<li>
10 years ago
<h2>Github</h2>
<a href="https://github.com/react-component/generator-rc">脚手架 - generator-rc</a>
<a href="http://react-component.github.io/badgeboard/">模块 - React Components</a>
10 years ago
</li>
<li>
<h2>关于我们</h2>
10 years ago
<a href="http://www.atatech.org/teams/79">博客 - Ant UED</a>
10 years ago
</li>
<li>
<h2>联系我们</h2>
10 years ago
<a href="https://github.com/ant-design/ant-design.github.io/issues">问题与建议 - Issues</a>
10 years ago
</li>
<li>
10 years ago
<h3>©2015 蚂蚁金服体验技术部出品</h3>
10 years ago
</li>
</ul>
</footer>
</body>
</html>