Make boursecu branch boursecu-only and simplify app loading.

Remove multi-tenant branches and default views, show logo-only boot and splash screens, and polish boursecu transactions tab styling.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-06 12:35:42 +02:00
co-authored by Cursor
parent 2affe61dd3
commit 59cceaf581
76 changed files with 211 additions and 2932 deletions
@@ -13,10 +13,7 @@ import type { Card } from '@/models/wallet'
import { useUserStore } from '@/store/userStore'
import { useConfigStore } from '@/store/configStore'
import {
getProjectBaleContactLink,
getWalletDepositQuickAmountsRial,
isBazretalaProject,
isBoursecuProject,
} from '@/utils/config'
import { useDesktopBreakpoint } from '@/layouts/composables/useAppLayout'
import {
@@ -60,7 +57,6 @@ export interface WalletPageContext {
depositGuideSupportLink: ReturnType<typeof computed<string>>
depositSmsSupportLink: ReturnType<typeof computed<string>>
depositQuickAmounts: ReturnType<typeof computed<readonly number[]>>
isBazretalaProject: typeof isBazretalaProject
usePriceWithoutType: typeof usePriceWithoutType
formatCashWalletBalanceText: typeof formatCashWalletBalanceText
setIsDeposit: (val: boolean) => void
@@ -100,16 +96,12 @@ export function useWalletPage() {
const depositQuickAmounts = computed(() => getWalletDepositQuickAmountsRial())
const depositGuideSupportLink = computed(() => {
if (config.config?.name === 'garoosi' || isBazretalaProject()) {
return getProjectBaleContactLink()
}
return buildSupportMessengerUrl(
const depositGuideSupportLink = computed(() =>
buildSupportMessengerUrl(
supportMessengerSettings.value.messenger,
supportMessengerSettings.value.messengerId,
)
})
),
)
const depositSmsSupportLink = computed(() =>
buildDepositSmsUrl(supportMessengerSettings.value.depositSmsSupportNumber),
@@ -132,7 +124,7 @@ export function useWalletPage() {
})
const disableButton = computed(() => {
const minWithdrawAmount = isBoursecuProject() ? 200_000 : 1_000_000
const minWithdrawAmount = 200_000
const minDepositAmount = 1_000_000
if (!loading.value) {
@@ -297,7 +289,6 @@ export function useWalletPage() {
depositGuideSupportLink,
depositSmsSupportLink,
depositQuickAmounts,
isBazretalaProject,
usePriceWithoutType,
formatCashWalletBalanceText,
setIsDeposit,