feat: add old browser checks

This commit is contained in:
2025-12-19 01:22:53 +03:00
parent 28bef4ee3b
commit 76c32c5320
4 changed files with 33 additions and 4 deletions

View File

@@ -8,7 +8,9 @@
<section class="telecart-main-section">
<FullscreenViewport v-if="platform === 'ios' || platform === 'android'"/>
<div class="fixed inset-0 z-50 bg-white flex items-center justify-center text-center p-4">
<BrowserNotSupported/>
</div>
<AppDebugMessage v-if="settings.app_debug"/>
<RouterView v-slot="{ Component, route }">
@@ -72,6 +74,7 @@ import Dock from "@/components/Dock.vue";
import AppDebugMessage from "@/components/AppDebugMessage.vue";
import PrivacyPolicy from "@/components/PrivacyPolicy.vue";
import {useSwipeBack} from "@/composables/useSwipeBack.js";
import BrowserNotSupported from "@/BrowserNotSupported.vue";
const tg = useMiniApp();
const platform = ref();