Skip to content

Commit

Permalink
GitHub Pages initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Justyna-JustCode committed Aug 1, 2024
0 parents commit 9a6a43f
Show file tree
Hide file tree
Showing 3 changed files with 1,823 additions and 0 deletions.
38 changes: 38 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<head>
<style>
#loading {
margin-top: 20px;
text-align: center;
}
.overlay {
position: absolute;
display: flex;
top: 0;
width: 100%;
}
canvas {
top: 0;
padding-left: 0;
padding-right: 0;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
display: block;
}
</style>
</head>
<body>
<div id="loading">Loading...</div>
<div class="overlay">
<!-- canvas required by the Slint runtime -->
<canvas id="canvas" data-slint-auto-resize-to-preferred="true" unselectable="on"></canvas>
<script type="module">
// import the generated file.
import init from "./pkg/rusty_weather_lib.js";
init();
</script>
</div>
</body>
</html>
Loading

0 comments on commit 9a6a43f

Please sign in to comment.