Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
HiJuwon authored Dec 10, 2023
1 parent 42ea374 commit 2af41f5
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,19 @@
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
body {
margin: 0;
overflow: hidden;
}
html, body {
height: 100%;
}
canvas {
display: block;
}
</style>
<title>Allergy</title>

<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<canvas id="canvas3d"></canvas>
<script type="module">
import { Application } from './runtime.js';
import { Application } from './3d-scene/index-runtime.js';
const canvas = document.getElementById('canvas3d');
const app = new Application(canvas);
app.load('./scene.splinecode');
app.load('./3d-scene/index-scene.code');
</script>
</body>
</html>

0 comments on commit 2af41f5

Please sign in to comment.