From 5920866a953fa34948f14e7d99675ca46677ee0f Mon Sep 17 00:00:00 2001 From: safavimohadeseh78 Date: Thu, 3 Sep 2026 13:53:10 -0400 Subject: [PATCH] fix(ui): repair PWA install, credit footer, and boursecu copy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make install guide and BasicButton clicks reliable, align montzar credit bar, remove calculator quick action, and use مس in about-software default text. Co-authored-by: Cursor --- src/App.vue | 26 ++++++++++++++----- src/components/AppCreditLink.vue | 7 ++++- src/components/BasicPacks/BasicButton.vue | 23 +++++++++++++--- src/components/pwa/PwaInstallGuideModal.vue | 21 ++++++++++----- src/composables/usePwaInstall.ts | 16 ++++++++++-- src/modules/pwa/pwaInstall.ts | 9 +++++++ .../aboutSoftware/aboutSoftwareContent.ts | 2 +- .../layouts/configs/boursecuQuickActions.ts | 7 ----- src/views/login/components/Login.vue | 2 +- 9 files changed, 85 insertions(+), 28 deletions(-) diff --git a/src/App.vue b/src/App.vue index c2bad44..f08ac87 100644 --- a/src/App.vue +++ b/src/App.vue @@ -73,17 +73,17 @@ @@ -297,6 +297,12 @@ watch( const userStore = useUserStore() const settingsStore = useSettingsStore() +const showLoginCreditExtras = computed(() => { + if (!isLoginRoute.value) return false + const href = String(settingsStore.getSettingByKey('enamad_url') ?? '').trim() + const src = String(settingsStore.getSettingByKey('enamad_logo') ?? '').trim() + return Boolean(href && src) +}) const { latestIncomingNotification } = useChatService() let lastConnectedChatSessionKey = '' let lastSupportToastAt = 0 @@ -424,13 +430,14 @@ watch(latestIncomingNotification, (payload) => { min-height: var(--app-credit-bar-inner); padding: 4px 0 var(--app-safe-bottom); background: #fff; - box-shadow: 0 -2px 4px -2px #0000001a; + box-shadow: 0 3.75px 16px 0 rgba(0, 0, 0, 0.43); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; font-size: 9px; + color: #000; } .app-credit-footer--login.app-credit-footer--mobile { @@ -461,6 +468,7 @@ watch(latestIncomingNotification, (payload) => { &:hover { opacity: 0.85; + color: inherit; } &__text { @@ -470,13 +478,19 @@ watch(latestIncomingNotification, (payload) => { &__logo { width: auto; + height: 12px; object-fit: contain; + display: block; } &--mobile { gap: 4px; padding: 4px 0; - color: inherit; + color: #000; + + .app-credit-link__text { + color: #000; + } .app-credit-link__logo { height: 12px; diff --git a/src/components/AppCreditLink.vue b/src/components/AppCreditLink.vue index 020a3ad..2a01ee9 100644 --- a/src/components/AppCreditLink.vue +++ b/src/components/AppCreditLink.vue @@ -7,11 +7,16 @@ :class="`app-credit-link--${variant}`" > توسعه و طراحی توسط - +