mirror of
https://github.com/wasrusgen/zov-tech.git
synced 2026-06-03 15:44:47 +00:00
splash: bump min display time to 2.5s
Cache bust v=20260513e.
This commit is contained in:
parent
c767954535
commit
6d57372b0b
@ -360,7 +360,7 @@ function hideSplash() {
|
||||
const splash = document.getElementById("splash");
|
||||
if (!splash) return;
|
||||
const elapsed = Date.now() - _splashStart;
|
||||
const minShow = 700; // минимум показа, мс
|
||||
const minShow = 2500; // минимум показа, мс — 2.5 сек чтобы успеть рассмотреть лого
|
||||
const wait = Math.max(0, minShow - elapsed);
|
||||
setTimeout(() => {
|
||||
splash.classList.add("hide");
|
||||
|
||||
@ -12,8 +12,8 @@
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Geist:wght@400;500;600&family=Newsreader:ital,wght@0,400..600;1,400..600&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap">
|
||||
<script src="https://telegram.org/js/telegram-web-app.js"></script>
|
||||
<link rel="stylesheet" href="assets/styles.css?v=20260513d">
|
||||
<link rel="stylesheet" href="assets/podbor.css?v=20260513d">
|
||||
<link rel="stylesheet" href="assets/styles.css?v=20260513e">
|
||||
<link rel="stylesheet" href="assets/podbor.css?v=20260513e">
|
||||
</head>
|
||||
<body>
|
||||
<!-- Splash — за пределами #app, render-функции его не смывают -->
|
||||
@ -34,12 +34,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<main id="app"></main>
|
||||
<script src="assets/icons.js?v=20260513d"></script>
|
||||
<script src="assets/podbor.config.js?v=20260513d"></script>
|
||||
<script src="assets/podbor.picts.js?v=20260513d"></script>
|
||||
<script src="assets/podbor.js?v=20260513d"></script>
|
||||
<script src="assets/clients.js?v=20260513d"></script>
|
||||
<script src="assets/measurements.js?v=20260513d"></script>
|
||||
<script src="assets/app.js?v=20260513d"></script>
|
||||
<script src="assets/icons.js?v=20260513e"></script>
|
||||
<script src="assets/podbor.config.js?v=20260513e"></script>
|
||||
<script src="assets/podbor.picts.js?v=20260513e"></script>
|
||||
<script src="assets/podbor.js?v=20260513e"></script>
|
||||
<script src="assets/clients.js?v=20260513e"></script>
|
||||
<script src="assets/measurements.js?v=20260513e"></script>
|
||||
<script src="assets/app.js?v=20260513e"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user