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}`" > توسعه و طراحی توسط -
+