-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
184 lines (183 loc) · 7.36 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description"
content="reelyActive cormorant.js demo.">
<link rel="stylesheet" href="style/bootstrappyactive.min.css">
<title> reelyActive cormorant.js demo </title>
<!----- Structured, linked metadata (JSON-LD & Schema.org) ----->
<script type="application/ld+json">
[{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "cormorant.js",
"description": "Client-side utility to fetch digital twins in the form of JSON-LD & Schema.org from any given URL.",
"license": "https://opensource.org/licenses/MIT",
"isAccessibleForFree": true,
"applicationCategory": "Client-side",
"operatingSystem": "Any",
"image": "https://reelyactive.github.io/cormorant/images/cormorant-bubble.png",
"sameAs": "https://github.com/reelyactive/cormorant",
"author": {
"@type": "Organization",
"url": "https://www.reelyactive.com"
}
},
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "reelyActive Developers",
"item": "https://reelyactive.github.io"
},{
"@type": "ListItem",
"position": 2,
"name": "cormorant.js"
}]
}]
</script>
</head>
<body>
<!-- Navigation -->
<nav class="navbar sticky-top navbar-expand-lg navbar-light bg-white
shadow">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img src="images/reelyactive-developers-logo-nav.png" width="135"
height="30" alt="reelyActive Developers">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarItems" aria-controls="navbarItems"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarItems">
<!-- Left-aligned navigation items -->
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
</ul>
<!-- Right-aligned navigation items -->
<ul class="navbar-nav">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="navbarInfoDropdown"
role="button" data-bs-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
<i class="fas fa-question-circle"></i>
</a>
<!-- Info about tracking and open source software/licenses -->
<ul class="dropdown-menu dropdown-menu-end shadow"
aria-labelledby="navbarInfoDropdown">
<li>
<a class="dropdown-item"
href="https://www.reelyactive.com/how-we-observe/#digital">
<i class="fas fa-mouse-pointer"></i>
Behaviour tracking free
<span class="badge bg-success animate-breathing">
<i class="fas fa-user-shield"></i>
</span>
</a>
</li>
<li class="dropdown-divider"></li>
<li>
<a class="dropdown-item" target="_blank"
href="https://getbootstrap.com" >
<i class="fab fa-bootstrap"></i>
Bootstrap 5
<span class="badge bg-light text-dark">
<i class="fab fa-osi"></i> MIT
</span>
</a>
</li>
<li>
<a class="dropdown-item" target="_blank"
href="https://fontawesome.com" >
<i class="fab fa-font-awesome"></i>
Font Awesome (Free)
<span class="badge bg-light text-dark">
<i class="fab fa-creative-commons"></i>
<i class="fab fa-osi"></i> MIT
</span>
</a>
</li>
<li>
<a class="dropdown-item" target="_blank"
href="https://github.com/reelyactive/web-style-guide/" >
<i class="fas fa-code"></i>
Web Style Guide
<span class="badge bg-light text-dark">
<i class="fab fa-osi"></i> MIT
</span>
</a>
</li>
<li class="dropdown-divider"></li>
<li>
<a class="dropdown-item" target="_blank"
href="https://github.com/reelyactive/cormorant" >
<i class="fab fa-js"></i>
cormorant.js
<span class="badge bg-light text-dark">
<i class="fab fa-osi"></i> MIT
</span>
</a>
</li>
<li class="dropdown-divider"></li>
<li>
<a class="dropdown-item" target="_blank"
href="https://www.reelyactive.com/made-in-montreal/" >
<i class="fab fa-canadian-maple-leaf"></i>
Made in Montréal
<i class="fas fa-city"></i>
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<!-- Content -->
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-sm-12 col-md-10 col-lg-8 col-xl-6">
<h1 class="mt-4"> cormorant.js demo </h1>
<p class="lead"> Client-side utility to fetch digital twins in the form of JSON-LD & Schema.org from any given URL. </p>
<form class="mt-5" onsubmit="return false;">
<div class="input-group">
<input type="url" class="form-control" id="storyUrl" required
placeholder="https://reelyactive.github.io/cormorant/"
aria-label="URL to fetch" aria-describedby="storyButton">
<button class="btn btn-primary" type="button" id="storyButton">
Fetch
</button>
</div>
</form>
<div class="card my-5">
<h5 class="card-header text-bg-dark">
Story <small class="text-muted">(Digital Twin)</small>
</h5>
<div class="card-body">
<pre id="storyJson"></pre>
</div>
<div class="card-footer small text-muted">
Status: <b id="storyStatus"></b>
</div>
</div>
</div>
</div>
</div>
<footer class="footer bg-dark bg-gradient">
<a href="https://github.com/reelyactive/cormorant"> cormorant </a>
|
<a href="https://www.reelyactive.com"> © reelyActive 2016-2023 </a>
</footer>
<!-- Optional JavaScript -->
<script defer src="js/fontawesome-reelyactive.min.js"></script>
<script src="js/bootstrappyactive.bundle.min.js"></script>
<script src="js/cormorant.js"></script>
<script src="js/app.js"></script>
</body>
</html>