modern/dist/index.html
2021-01-17 17:17:19 +01:00

60 lines
1.4 KiB
HTML
Executable File

<!DOCTYPE html>
</html>
<html lang="de">
<head>
<title>WEBGL DEMO | MODERNROOM </title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Oswald:300,400" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./css/style.css">
<link rel="stylesheet" type="text/css" href="./css/interface.css">
</head>
<body>
<div id="overlay">
<div id="overlay-info">
<h3>Heading</h3>
<h5>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eligendi tempora expedita ea inventore quas enim, voluptatibus a distinctio atque et.</h5>
</div>
<div id="loadingtext-frame"></div>
<div id="interface-wrapper">
</div>
</div>
<div class="viewport" id="viewport">
</div>
<script type="text/javascript">
// Register the service worker
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('./sw.js').then(function (registration) {
// Registration was successful
//navigator.serviceWorker.controller.postMessage(JSON.stringify({ type: "add", file: "./textures/test.jpg" }));
}).catch(function (err) {
// registration failed :(
console.log('ServiceWorker registration failed: ', err);
});
}
</script>
<script src="bundle.js"></script>
</body>
</html>