Skip to content

Commit

Permalink
deploy: 96955a9
Browse files Browse the repository at this point in the history
  • Loading branch information
Carapacik committed May 3, 2024
1 parent 0f80730 commit 866d3ec
Show file tree
Hide file tree
Showing 5 changed files with 23,209 additions and 23,278 deletions.
10 changes: 5 additions & 5 deletions flutter_service_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ const RESOURCES = {"splash/img/light-2x.png": "a318ace9a5e5311ffa8ec95f2577fcea"
"canvaskit/skwasm.js": "445e9e400085faead4493be2224d95aa",
"canvaskit/skwasm.wasm": "e42815763c5d05bba43f9d0337fa7d84",
"canvaskit/canvaskit.js.symbols": "38cba9233b92472a36ff011dc21c2c9f",
"manifest.json": "97ebdd9d4df5daa78f88e1629202e658",
"manifest.json": "41123e61751a8407492707a10d73f645",
"flutter.js": "c71a09214cb6f5f8996a531350400a9a",
"index.html": "dcdf96aeea77d67a9829c63fe83d4d9b",
"/": "dcdf96aeea77d67a9829c63fe83d4d9b",
"index.html": "c6a027a03e02880d79b42333d984e6ed",
"/": "c6a027a03e02880d79b42333d984e6ed",
"assets/FontManifest.json": "d9f967cd94c93490e7849b6a3ba2de09",
"assets/AssetManifest.bin": "05757536df293431fb3e4fb30239fa3b",
"assets/assets/fonts/Nunito-ExtraBold.ttf": "5b5a206f5cd32fa496c93925d0caf609",
Expand All @@ -39,9 +39,9 @@ const RESOURCES = {"splash/img/light-2x.png": "a318ace9a5e5311ffa8ec95f2577fcea"
"assets/NOTICES": "a30e7f658cea47ced4bce07d703466b7",
"assets/fonts/MaterialIcons-Regular.otf": "333f2132f538356dde603ad5b875b6bf",
"assets/AssetManifest.json": "228d261f9348bfaaea4b9b53406f0022",
"main.dart.js": "701425eff2330c101ff88ad33af796d1",
"main.dart.js": "a8b42df01d5d1d49c53c3e0a34679543",
"favicon.png": "39bbbf13753de289d79939a7603da9ce",
"version.json": "2a8dfcb6bdcba2134efcefe6667f4be5",
"version.json": "a81236f29913aa353e87a2981e66a131",
"icons/Icon-maskable-192.png": "ea1bc6b78746610654a0e8ecb1614a92",
"icons/Icon-192.png": "ea1bc6b78746610654a0e8ecb1614a92",
"icons/Icon-512.png": "d57c43e5271b60c154006f6ab590c067",
Expand Down
162 changes: 71 additions & 91 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="wordly">
<meta name="apple-mobile-web-app-title" content="Wordly">
<link rel="apple-touch-icon" href="icons/Icon-192.png">

<!-- Favicon -->
Expand All @@ -19,113 +19,93 @@
<link rel="manifest" href="manifest.json">

<script>
// The value below is injected by flutter build, do not touch.
const serviceWorkerVersion = "3729611783";
// The value below is injected by flutter build, do not touch.
const serviceWorkerVersion = "2989532371";
</script>
<!-- This script adds the flutter initialization JS code -->
<script src="flutter.js" defer=""></script>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
name="viewport">
<style id="splash-screen-style">
.flutter-loader {
z-index: 999999;
}

#splash {
position: fixed;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
z-index: 999998;
opacity: 1;
/* animation type and duration */
transition: opacity 0.25s;
background-color: #FFFFFF;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}

#splash.remove {
/* enable click through when run animation */
pointer-events: none;
/* start animation */
opacity: 0;
}
html {
height: 100%
}

body {
margin: 0;
min-height: 100%;
background-color: #FFFFFF;
background-size: 100% 100%;
}

#splash .center {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.center {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}

#splash .contain {
display:block;
width:100%; height:100%;
object-fit: contain;
}
.contain {
display:block;
width:100%; height:100%;
object-fit: contain;
}

#splash .stretch {
display:block;
width:100%; height:100%;
}
.stretch {
display:block;
width:100%; height:100%;
}

#splash .cover {
display:block;
width:100%; height:100%;
object-fit: cover;
}
.cover {
display:block;
width:100%; height:100%;
object-fit: cover;
}

#splash .bottom {
position: absolute;
bottom: 0;
left: 50%;
-ms-transform: translate(-50%, 0);
transform: translate(-50%, 0);
}
.bottom {
position: absolute;
bottom: 0;
left: 50%;
-ms-transform: translate(-50%, 0);
transform: translate(-50%, 0);
}

#splash .bottomLeft {
position: absolute;
bottom: 0;
left: 0;
}
.bottomLeft {
position: absolute;
bottom: 0;
left: 0;
}

#splash .bottomRight {
position: absolute;
bottom: 0;
right: 0;
}
.bottomRight {
position: absolute;
bottom: 0;
right: 0;
}

@media (prefers-color-scheme: dark) {
#splash {
background-color: #1D1F25;
}
}
@media (prefers-color-scheme: dark) {
body {
background-color: #1D1F25;
}
}
</style>
<script id="splash-screen-script">
function removeSplashFromWeb() {
const splashElement = document.getElementById("splash");
splashElement.classList.add("remove");
setTimeout(function () {
splashElement.remove();
document.getElementById("splash-screen-script")?.remove();
}, 750 /* animation time + wait rendering and others(500ms) */);
}
function removeSplashFromWeb() {
document.getElementById("splash")?.remove();
document.getElementById("splash-branding")?.remove();
document.body.style.background = "transparent";
}
</script>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
name="viewport">
</head>
<body>
<div id="splash">
<picture>
<source srcset="splash/img/light-1x.png 1x, splash/img/light-2x.png 2x, splash/img/light-3x.png 3x, splash/img/light-4x.png 4x"
media="(prefers-color-scheme: light)">
<source srcset="splash/img/dark-1x.png 1x, splash/img/dark-2x.png 2x, splash/img/dark-3x.png 3x, splash/img/dark-4x.png 4x"
media="(prefers-color-scheme: dark)">
<img class="center" aria-hidden="true" src="splash/img/light-1x.png" alt="">
</picture>
</div>
<picture id="splash">
<source srcset="splash/img/light-1x.png 1x, splash/img/light-2x.png 2x, splash/img/light-3x.png 3x, splash/img/light-4x.png 4x"
media="(prefers-color-scheme: light)">
<source srcset="splash/img/dark-1x.png 1x, splash/img/dark-2x.png 2x, splash/img/dark-3x.png 3x, splash/img/dark-4x.png 4x"
media="(prefers-color-scheme: dark)">
<img class="center" aria-hidden="true" src="splash/img/light-1x.png" alt="">
</picture>
<script>
window.addEventListener('load', function(ev) {
// Download main.dart.js
Expand Down
Loading

0 comments on commit 866d3ec

Please sign in to comment.