-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
36 lines (30 loc) · 1.27 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
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html>
<head>
<title>InstaGrid</title>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport" />
<!-- React -->
<script src="https://unpkg.com/[email protected]/dist/react.js"></script>
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script>
<script src="https://unpkg.com/[email protected]/browser.min.js"></script>
<!-- Instagrid -->
<link rel="stylesheet" href="/lib/instagrid.css" type="text/css" media="screen" />
<script type="text/babel" src="/lib/instagrid.js"></script>
<!-- Add jQuery library -->
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<!-- fancyBox -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.css" type="text/css" media="screen" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.pack.js"></script>
</head>
<body>
<div id="instagrid"></div>
</body>
<script type="text/babel">
$(".fancybox").fancybox();
ReactDOM.render(
<InstaGrid userID="instagram" />,
document.getElementById('instagrid')
);
</script>
</html>