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
@@ -1,18 +1,16 @@
import { computed, inject, provide, type ComputedRef, type InjectionKey } from 'vue'
import { computed, inject, provide, type InjectionKey } from 'vue'
import { useConfigStore } from '@/store/configStore'
import {
getProjectBaleLink,
getProjectSupportPhoneLink,
isBoursecuProject,
} from '@/utils/config'
import { getRulesBlocks, getRulesTitle, type RulesBlock } from '../rulesContent'
export interface RulesPageContext {
config: ReturnType<typeof useConfigStore>
nameProject: ComputedRef<string>
isBoursecu: ComputedRef<boolean>
rulesTitle: ComputedRef<string>
rulesBlocks: ComputedRef<RulesBlock[]>
nameProject: ReturnType<typeof computed<string>>
rulesTitle: ReturnType<typeof computed<string>>
rulesBlocks: ReturnType<typeof computed<RulesBlock[]>>
getProjectSupportPhoneLink: typeof getProjectSupportPhoneLink
getProjectBaleLink: typeof getProjectBaleLink
}
@@ -26,16 +24,13 @@ export function useRulesPage() {
() => config.config?.name_fa || config.config?.name || 'بورس مس',
)
const isBoursecu = computed(() => isBoursecuProject())
const rulesTitle = computed(() => getRulesTitle(nameProject.value, true))
const rulesTitle = computed(() => getRulesTitle(nameProject.value, isBoursecu.value))
const rulesBlocks = computed(() => getRulesBlocks(nameProject.value, isBoursecu.value))
const rulesBlocks = computed(() => getRulesBlocks(nameProject.value, true))
const context: RulesPageContext = {
config,
nameProject,
isBoursecu,
rulesTitle,
rulesBlocks,
getProjectSupportPhoneLink,