ant-design/site/theme/static/template.html

58 lines
2.3 KiB
HTML
Raw Normal View History

2016-02-29 14:08:40 +08:00
<!DOCTYPE html>
<html>
2016-04-18 16:38:07 +08:00
<head>
2016-02-29 14:08:40 +08:00
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
2016-05-13 09:08:57 +08:00
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2016-03-23 14:15:00 +08:00
<title>Ant Design - 一个 UI 设计语言</title>
<link rel="icon" href="https://t.alipayobjects.com/images/T1QUBfXo4fXXXXXXXX.png" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="{{ root }}index.css"/>
2016-06-16 12:01:08 +08:00
<!--[if lte IE 10]>
2016-08-17 10:52:56 +08:00
<script src="https://as.alipayobjects.com/g/component/??console-polyfill/0.2.2/index.js,media-match/2.0.2/media.match.min.js"></script>
2016-02-29 14:08:40 +08:00
<![endif]-->
2016-04-20 15:24:20 +08:00
</head>
<body>
<div id="react-content"></div>
2016-06-23 21:10:02 +08:00
<div class="ant-site-loading" id="ant-site-loading">
2016-04-20 15:24:20 +08:00
<img src='https://t.alipayobjects.com/images/rmsweb/T1B9hfXcdvXXXXXXXX.svg' />
<div id="loading-text">A Design Language</div>
</div>
<script>
2016-06-13 16:12:28 +08:00
(function() {
var content = document.getElementById('loading-text');
2016-06-20 11:44:46 +08:00
content.innerHTML = content.innerHTML.split('').map(function(letter, i) {
2016-04-20 15:24:20 +08:00
var className;
if (i > 0 && i < content.innerText.length - 1) {
className = 'yoyo-x-' + (i % 6);
}
if (letter.trim() === '') {
className += ' blank';
}
return '<span class="' + className + '">' + letter + '</span>';
}).join('');
2016-06-13 16:12:28 +08:00
})();
2016-04-20 15:24:20 +08:00
</script>
2016-06-12 21:34:37 +08:00
<script>
// Enable Google Analytics
if (!location.port) {
/* eslint-disable */
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-72788897-1', 'auto');
ga('send', 'pageview');
/* eslint-enable */
}
</script>
2016-08-17 10:52:56 +08:00
<script>
if (!window.Intl) {
document.writeln('<script src="https://as.alipayobjects.com/g/component/intl/1.0.1/Intl.js">' + '<' + '/script>');
document.writeln('<script src="https://as.alipayobjects.com/g/component/intl/1.0.1/locale-data/jsonp/en.js">' + '<' + '/script>');
}
</script>
<script src="{{ root }}common.js"></script>
<script src="{{ root }}index.js"></script>
2016-04-20 15:24:20 +08:00
</body>
2016-02-29 14:08:40 +08:00
</html>