-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (31 loc) · 949 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset = "UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Card</title>
<link href="https://fonts.googleapis.com/css?family=Sarala" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./src/css/styles.css">
</head>
<body>
<style>
.test-card {
margin: 10px 20px;
}
</style>
<div id="card" class="test-card"></div>
<script src = "./dist/0.0.1/card.min.js"></script>
<script type="text/javascript">
var x = new ProtoGraph.Card.toCoverImage();
x.init({
selector: document.querySelector('#card'),
data_url: "dist/0.0.1/sample.json",
configuration_url: "./dist/0.0.1/configuration_sample.json",
site_config_url: './dist/0.0.1/site.json'
});
// x.render();
x.renderSixteenCol();
// x.renderSevenCol();
</script>
</body>
</html>