-
Notifications
You must be signed in to change notification settings - Fork 121
/
index.html
27 lines (27 loc) · 1.06 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<title>An Auto Responsive Grid Layout Library | autoresponsive-react</title>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<base target="_blank"/>
</head>
<body>
<div id="app">
<script>
var head = document.getElementsByTagName('head')[0];
var chunkName = 'homepage';
var isOnline = !!~location.host.indexOf('github');
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = (isOnline ? '//unpkg.com/autoresponsive-react@latest' : '.') + '/dist/' + chunkName + '.js';
head.appendChild(script);
var style = document.createElement('link');
style.rel = 'stylesheet';
style.href = (isOnline ? '//unpkg.com/autoresponsive-react@latest' : '.') + '/dist/' + chunkName + '.css';
head.appendChild(style);
</script>
</div>
</body>
</html>