splash: bump min display time to 2.5s

Cache bust v=20260513e.
This commit is contained in:
wasrusgen 2026-05-12 19:00:34 +03:00
parent c767954535
commit 6d57372b0b
2 changed files with 10 additions and 10 deletions

View File

@ -360,7 +360,7 @@ function hideSplash() {
const splash = document.getElementById("splash"); const splash = document.getElementById("splash");
if (!splash) return; if (!splash) return;
const elapsed = Date.now() - _splashStart; const elapsed = Date.now() - _splashStart;
const minShow = 700; // минимум показа, мс const minShow = 2500; // минимум показа, мс — 2.5 сек чтобы успеть рассмотреть лого
const wait = Math.max(0, minShow - elapsed); const wait = Math.max(0, minShow - elapsed);
setTimeout(() => { setTimeout(() => {
splash.classList.add("hide"); splash.classList.add("hide");

View File

@ -12,8 +12,8 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <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"> <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> <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/styles.css?v=20260513e">
<link rel="stylesheet" href="assets/podbor.css?v=20260513d"> <link rel="stylesheet" href="assets/podbor.css?v=20260513e">
</head> </head>
<body> <body>
<!-- Splash — за пределами #app, render-функции его не смывают --> <!-- Splash — за пределами #app, render-функции его не смывают -->
@ -34,12 +34,12 @@
</div> </div>
</div> </div>
<main id="app"></main> <main id="app"></main>
<script src="assets/icons.js?v=20260513d"></script> <script src="assets/icons.js?v=20260513e"></script>
<script src="assets/podbor.config.js?v=20260513d"></script> <script src="assets/podbor.config.js?v=20260513e"></script>
<script src="assets/podbor.picts.js?v=20260513d"></script> <script src="assets/podbor.picts.js?v=20260513e"></script>
<script src="assets/podbor.js?v=20260513d"></script> <script src="assets/podbor.js?v=20260513e"></script>
<script src="assets/clients.js?v=20260513d"></script> <script src="assets/clients.js?v=20260513e"></script>
<script src="assets/measurements.js?v=20260513d"></script> <script src="assets/measurements.js?v=20260513e"></script>
<script src="assets/app.js?v=20260513d"></script> <script src="assets/app.js?v=20260513e"></script>
</body> </body>
</html> </html>