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,20 +1,13 @@
<template>
<div class="dauth" :class="{ 'dauth--boursecu': isBoursecu }">
<div class="dauth dauth--boursecu">
<div class="dauth__layout">
<aside
class="dauth-brand"
:class="{
'dauth-brand--boursecu': isBoursecu,
'dauth-brand--soroushgold': isSoroushgold,
}"
>
<aside class="dauth-brand dauth-brand--boursecu">
<div class="dauth-brand__pattern" />
<div class="dauth-brand__content">
<img
:src="logo"
alt=""
class="dauth-brand__logo"
:class="{ 'dauth-brand__logo--round': !hasCustomLayout }"
>
<h1 class="dauth-brand__title">{{ brandTitle }}</h1>
<p v-if="tagline" class="dauth-brand__tagline">{{ tagline }}</p>
@@ -46,15 +39,9 @@ import { useConfigStore } from '@/store/configStore'
import {
getProjectDesktopLoginBrandLogo,
getProjectLoginTaglineLines,
hasCustomLoginLogoLayout,
isBoursecuProject,
isSoroushgoldProject,
} from '@/utils/config'
const config = useConfigStore()
const isBoursecu = isBoursecuProject()
const isSoroushgold = isSoroushgoldProject()
const hasCustomLayout = hasCustomLoginLogoLayout() || isSoroushgold
const version = getDisplayAppVersion(pkg.version)
const logo = computed(() => getProjectDesktopLoginBrandLogo(config.config?.avatar))
@@ -69,20 +56,11 @@ const tagline = computed(() => {
const brandTitle = computed(() => config.config?.name_fa ?? 'خوش آمدید')
const features = computed(() => {
if (isBoursecu) {
return [
'قیمت لحظه‌ای و نمودار بازار',
'مدیریت دارایی و کیف پول',
'معاملات سریع و امن',
]
}
return [
'ورود امن با پیامک یا رمز عبور',
'مدیریت یکپارچه دارایی‌ها',
'دسترسی سریع به خدمات',
]
})
const features = [
'قیمت لحظه‌ای و نمودار بازار',
'مدیریت دارایی و کیف پول',
'معاملات سریع و امن',
]
</script>
<style lang="less" src="../styles/desktop-auth.less"></style>