ant-design-vue/site/components/footer.vue

132 lines
4.5 KiB
Vue
Raw Normal View History

2018-08-10 14:52:26 +08:00
<script>
export default {
props: {
isCN: Boolean,
},
2019-09-28 20:45:07 +08:00
render() {
2019-01-12 11:33:27 +08:00
const isCN = this.isCN;
2018-08-10 14:52:26 +08:00
return (
2019-09-28 20:45:07 +08:00
<footer id="footer">
<div class="footer-wrap">
2018-08-10 14:52:26 +08:00
<a-row>
<a-col md={6} sm={24} xs={24}>
2019-09-28 20:45:07 +08:00
<div class="footer-center">
2018-08-10 14:52:26 +08:00
<h2>Ant Design</h2>
<div>
2019-09-28 20:45:07 +08:00
<a href="https://github.com/vueComponent/ant-design-vue" target="_blank ">
<span>GitHub</span>
</a>
<span></span>
<span>
<i class="anticon anticon-github"></i>
</span>
2018-08-10 14:52:26 +08:00
</div>
<div>
2019-09-28 20:45:07 +08:00
<a href="https://ant.design/docs/react/introduce-cn" target="_blank">
Ant Design
</a>
<span> - </span>
<span>React</span>
2018-08-10 14:52:26 +08:00
</div>
<div>
2019-09-28 20:45:07 +08:00
<a href="https://github.com/NG-ZORRO/ng-zorro-antd" target="_blank">
Ant Design
</a>
<span> - </span>
<span>Angular</span>
2018-08-10 14:52:26 +08:00
</div>
<div>
2019-09-28 20:45:07 +08:00
<a href="https://github.com/websemantics/awesome-ant-design" target="_blank ">
2018-08-10 14:52:26 +08:00
<span>Awesome Ant Design</span>
</a>
</div>
</div>
</a-col>
<a-col md={6} sm={24} xs={24}>
2019-09-28 20:45:07 +08:00
<div class="footer-center">
2018-08-10 14:52:26 +08:00
<h2>{isCN ? '资源链接' : 'Resources'}</h2>
<div>
2019-09-28 20:45:07 +08:00
<a href="https://cn.vuejs.org/" target="_blank">
Vue
</a>
2018-08-10 14:52:26 +08:00
</div>
<div>
2019-09-28 20:45:07 +08:00
<a href="https://cli.vuejs.org/" target="_blank">
Vue CLI
</a>
2018-08-10 14:52:26 +08:00
</div>
<div>
2019-09-28 20:45:07 +08:00
<a href="http://library.ant.design/" rel="noopener noreferrer" target="_blank">
AntD Library
</a>
2018-08-10 14:52:26 +08:00
</div>
</div>
</a-col>
<a-col md={6} sm={24} xs={24}>
2019-09-28 20:45:07 +08:00
<div class="footer-center">
2018-08-10 14:52:26 +08:00
<h2>{isCN ? '社区' : 'Community'}</h2>
2019-09-28 20:45:07 +08:00
{isCN ? (
<div>
<a href="https://zhuanlan.zhihu.com/ant-design-vue" target="_blank">
2018-08-10 14:52:26 +08:00
<span>知乎专栏</span>
</a>
</div>
2019-09-28 20:45:07 +08:00
) : (
''
)}
2018-08-10 14:52:26 +08:00
<div>
2019-09-28 20:45:07 +08:00
<a href="https://github.com/vueComponent/ant-design-vue/releases" target="_blank">
2018-08-10 14:52:26 +08:00
<span>{isCN ? '更新记录' : 'Change Log'}</span>
</a>
</div>
<div>
2019-09-28 20:45:07 +08:00
<a
rel="noopener noreferrer"
target="_blank"
href={`https://vuecomponent.github.io/issue-helper/${isCN ? '?lang=zh' : ''}`}
>
2018-08-10 14:52:26 +08:00
<span>{isCN ? '报告 Bug' : 'Bug Report'}</span>
</a>
</div>
</div>
</a-col>
<a-col md={6} sm={24} xs={24}>
2019-09-28 20:45:07 +08:00
<div class="footer-center">
2018-08-10 14:52:26 +08:00
<h2>
2019-09-28 20:45:07 +08:00
<img
alt=""
class="title-icon"
src="https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg"
/>
2018-08-10 14:52:26 +08:00
<span>{isCN ? '更多产品' : 'More Products'}</span>
</h2>
<div>
2019-09-28 20:45:07 +08:00
<a href="https://antv.alipay.com/" rel="noopener noreferrer" target="_blank">
AntV
</a>
2018-08-10 14:52:26 +08:00
<span> - </span>
2019-09-28 20:45:07 +08:00
<span>{isCN ? '数据可视化' : 'Data Visualization'}</span>
</div>
<div>
<a href="https://eggjs.org/" rel="noopener noreferrer" target="_blank">
Egg
</a>
2018-08-10 14:52:26 +08:00
<span> - </span>
<span>{isCN ? '企业级 Node 开发框架' : 'Enterprise Node Framework'}</span>
</div>
</div>
</a-col>
</a-row>
</div>
2019-12-24 14:44:41 +08:00
<div style="padding: 10px 144px;">
备案号
<a href="http://www.beian.miit.gov.cn/" target="_blank">
浙ICP备19034671号
</a>
</div>
2018-08-10 14:52:26 +08:00
</footer>
2019-01-12 11:33:27 +08:00
);
2018-08-10 14:52:26 +08:00
},
2019-01-12 11:33:27 +08:00
};
2018-08-10 14:52:26 +08:00
</script>