From 826a82aa1cddbd9a5b225632186ad98d7d71434d Mon Sep 17 00:00:00 2001 From: c0mrade Date: Tue, 31 Mar 2026 14:10:22 +0300 Subject: [PATCH] fix: unblock page rendering when Telegram CDN is unavailable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Google Fonts: non-render-blocking via media="print" onload trick - telegram-web-app.js: load only inside Telegram environment - Telegram SDK init: skip entirely outside Telegram - Script load timeout: 8000ms → 2000ms for faster deep link fallback - Email login form: expanded by default (80% of registrations) --- index.html | 23 ++++++++++++++++++++++- src/components/TelegramLoginButton.tsx | 2 +- src/main.tsx | 12 ++++++++++-- src/pages/Login.tsx | 2 +- 4 files changed, 34 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 48ae829..6c22bd0 100644 --- a/index.html +++ b/index.html @@ -18,8 +18,29 @@ - + +