Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
stapletonsl authored Sep 16, 2024
1 parent 223f484 commit adb9060
Show file tree
Hide file tree
Showing 2 changed files with 200 additions and 0 deletions.
35 changes: 35 additions & 0 deletions goodbye.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Goodbye</title>
<meta charset="utf-8" lang="en">
<style>
html {
font-size: 20px;
font-family: 'lato', sans-serif;
font-weight: lighter;
letter-spacing: 0.05rem;
}

.goodbye-container {
text-align: center;
margin-top: 15rem;
}

.bye-message {
font-size: 1.5rem;
}

.exit-text {
color: #707070;
margin-top: 1rem;
}
</style>
</head>
<body>
<div class="goodbye-container">
<div class="bye-message">👋 Bye!</div>
<div class="exit-text">You may now leave this page.</div>
</div>
</body>
</html>
165 changes: 165 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
<!DOCTYPE html>
<html lang="en" class="">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">

<title>Advanced Data Wrangling with OpenRefine</title>

<link type="text/css" rel="stylesheet" href="lib/icomoon.css">
<script type="text/javascript" src="lib/player-0.0.11.min.js"></script>
<script type="text/javascript" src="lib/lzwcompress.js"></script>

<!-- Resize Hack -->
<script type="text/javascript">
window.resizeTo(screen.width, screen.height);
</script>

<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<script id="__ENTRY__" type="application/json">
{".js":["rise/6d30463f.js"]}
</script>

<script id="__REMOTE_ENTRIES__" type="application/json">
{"mondrian":{".js":["mondrian/entry.js"]}}
</script>

<script>
(function() {
const jsonp = {}

function loadModule(manifest) {
const p = []

if (manifest['.css'] != null) {
for (var idx = 0; idx < manifest['.css'].length; idx++) {
p.push(new Promise((resolve, reject) => {
var link = document.createElement('link')
link.onload = resolve
link.onerror = reject
link.rel = 'stylesheet'
link.href = 'lib/' + manifest['.css'][idx]
document.body.appendChild(link)
}))
}
}

if (manifest['.js'] != null) {
for (var idx = 0; idx < manifest['.js'].length; idx++) {
p.push(new Promise((resolve, reject) => {
var script = document.createElement('script')
script.onload = resolve
script.onerror = reject
script.src = 'lib/' + manifest['.js'][idx]
document.body.appendChild(script)
}))
}
}

return Promise.all(p)
}

function deserialize(str) {
const buffer = Uint8Array.from(atob(str), c => c.charCodeAt(0))
const json = new TextDecoder().decode(buffer)
const result = JSON.parse(json)
return result
}

function __loadEntry() {
return loadModule(JSON.parse(document.getElementById('__ENTRY__').textContent))
}

function __loadRemoteEntry(name) {
const manifest = JSON.parse(document.getElementById('__REMOTE_ENTRIES__').textContent)
if (manifest[name] == null) throw new Error(`Missing manifest for remote entry "${name}".`)
return loadModule(manifest[name])
}

async function __loadJsonp(id, path) {
try {
return await new Promise((resolve, reject) => {
try {
jsonp[id] = resolve
const script = document.createElement('script')
script.onerror = reject
script.src = `./${path}`
document.head.appendChild(script)
} catch (err) {
reject(err)
}
})
} finally {
delete jsonp[id]
}
}

function __resolveJsonp(id, data) {
const resolve = jsonp[id]
if (typeof resolve !== 'function') {
throw new Error(`Could not load JSONP "${id}"`)
}
resolve(data)
}

async function __fetchCourse(name) {
name = name == null ? window.i18n.default : name
if (!window.i18n.available.includes(name)) {
console.warn(`Could not load locale "${name}"`)
name = window.i18n.available[0]
}
const encoded = await __loadJsonp(`course:${name}`, `locales/${name}.js`)
const courseData = deserialize(encoded)
return courseData
}

window.__loadEntry = __loadEntry
window.__loadRemoteEntry = __loadRemoteEntry
window.__loadJsonp = __loadJsonp
window.__resolveJsonp = __resolveJsonp
window.__fetchCourse = __fetchCourse
})()
</script>
</head>
<body>
<div id="app"></div>
<script type="text/javascript">
(function(root) {
window.i18n = {"available":["und"],"default":"und"};
window.partnerContent = [];

function isExport() {
return true;
}

function resolvePath(path) {
return ('assets/').concat(path);
}

function resolveFontPath(font) {
return ('lib/fonts/').concat(font.key.split('/').reverse()[0]);
}

function fetchAvailableLocales() {
return window.i18n
}

root.Runtime = {
fetch: window.__fetchCourse,
fetchAvailableLocales: fetchAvailableLocales,
isExport: isExport,
resolvePath: resolvePath,
resolveFontPath: resolveFontPath
};
}(window));
</script>


<script>__loadEntry()</script>

</body>
</html>

0 comments on commit adb9060

Please sign in to comment.