Skip to content

Commit

Permalink
🚀 :: github pages deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Feb 13, 2023
1 parent 5b68ecc commit 535a712
Show file tree
Hide file tree
Showing 24 changed files with 1,178 additions and 0 deletions.
438 changes: 438 additions & 0 deletions docs/Runtime/index.js

Large diffs are not rendered by default.

428 changes: 428 additions & 0 deletions docs/Runtime/index.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/app.js

Large diffs are not rendered by default.

Binary file added docs/app.wasm
Binary file not shown.
Binary file added docs/images/app/dms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions docs/images/app/gauth.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/app/gcms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/app/grig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
174 changes: 174 additions & 0 deletions docs/images/app/gui.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/app/justmemo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/app/moiza.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/app/simtong.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/app/todaywhat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/dock/appstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/dock/call.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/dock/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/dock/mail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions docs/images/phone.down.fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/images/phone.fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/images/statusBar/battery.75.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions docs/images/statusBar/cellularbars.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/images/statusBar/wifi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
92 changes: 92 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>&lrm;</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="An awesome Swift web app">
<script type="text/javascript" src="app.js" async></script>
</head>
<body>
<style>
* { box-sizing: border-box; }
body {
background-color: #f4f4f4;
flex-direction: column;
font-family: system, 'apple-system', 'San Francisco', 'Roboto', 'Segoe UI', 'Helvetica Neue', 'Lucida Grande', sans-serif;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
h3 { color: #d5d5d5; }
h4 { color: #dfdfdf; }
.error { color: #ff2b2b!important; }
.progress {
position: fixed;
left 0px;
top: 0px;
height: 3px;
width: 100%;
}
.progress-bar { color: #fff; height: 100%; }
@keyframes sub-bar {
0% { transform: scaleX(5) translateX(-60%); }
40% { transform: scaleX(33) translateX(-50%); }
100% { transform: scaleX(0) translateX(-50%); }
}
@keyframes bar {
0% { transform: translateX(0); }
100% { transform: translateX(100%); }
}
.progress-bar-indeterminate {
animation: bar 1.8s ease infinite;
width: 100%;
}
.progress-bar-indeterminate::before, .progress-bar-indeterminate::after {
position: absolute;
content: "";
width: 1%;
min-width: 0.5px;
height: 100%;
background: linear-gradient(to left, #F2709C, #FF9472);
animation: sub-bar 1.8s ease infinite;
transform-origin: right;
}
.progress-bar-determinate {
display: flex;
align-items: center;
justify-content: center;
width: 0;
background: linear-gradient(to left, #F2709C, #FF9472);
}
</style>
<h3>Loading</h3>
<h4></h4>
<div class="progress">
<div class="progress-bar"></div>
</div>
<script>
document.addEventListener('WASMLoadingStarted', (event) => {
const progress = document.querySelector('.progress-bar');
progress.classList.add("progress-bar-determinate");
});
document.addEventListener('WASMLoadingStartedWithoutProgress', (event) => {
const progress = document.querySelector('.progress-bar');
progress.classList.add("progress-bar-indeterminate");
});
document.addEventListener('WASMLoadingProgress', (event) => {
const bar = document.querySelector('.progress-bar');
bar.style.width = '' + event.detail + '%';
const label = document.querySelector('h4');
label.innerText = event.detail + '%';
});
document.addEventListener('WASMLoadingError', (event) => {
const label = document.querySelector('h4');
label.classList.add("error");
label.innerText = 'Unable to load application, please try to reload page';
});
</script>
</body>
</html>

0 comments on commit 535a712

Please sign in to comment.