diff --git a/src/views/base/home/desktop/layouts/DefaultDesktopHome.vue b/src/views/base/home/desktop/layouts/DefaultDesktopHome.vue
index cebca84..c115b1e 100644
--- a/src/views/base/home/desktop/layouts/DefaultDesktopHome.vue
+++ b/src/views/base/home/desktop/layouts/DefaultDesktopHome.vue
@@ -37,13 +37,7 @@ const showSkeleton = computed(() => Boolean(getToken()) && !userInfo.value)
-
-
-
+
@@ -74,6 +68,17 @@ const showSkeleton = computed(() => Boolean(getToken()) && !userInfo.value)
+
+
+
+
+
layoutConfig.value.sections.filter((section) => section.visible !== false)
)
+const tailSections = computed(() =>
+ (layoutConfig.value.tailSections ?? []).filter((section) => section.visible !== false)
+)
+
/** محتوا با userInfo — دادههای API در پسزمینه لود میشوند */
const showContent = computed(() => Boolean(userInfo.value))
const showSkeleton = computed(() => Boolean(getToken()) && !userInfo.value)
@@ -56,6 +60,12 @@ function resolveSectionComponent(sectionId: HomeSectionId) {
:key="section.id"
/>
+
+
diff --git a/src/views/base/home/layouts/configs/default.ts b/src/views/base/home/layouts/configs/default.ts
index 7472dc0..cd5bc0c 100644
--- a/src/views/base/home/layouts/configs/default.ts
+++ b/src/views/base/home/layouts/configs/default.ts
@@ -3,12 +3,14 @@ import type { HomeLayoutConfig } from '../types'
/** چیدمان پیشفرض — همه پروژهها بهجز boursecu */
export const defaultHomeLayoutConfig: HomeLayoutConfig = {
id: 'default',
- wrapperClass: 'p-1 from-primary rounded-lg p-px to-transparent mt-5',
+ wrapperClass: 'p-1 shadow-lg from-primary rounded-lg p-px to-transparent mt-5',
sections: [
{ id: 'garoosiAssets' },
- { id: 'assets' },
{ id: 'mainActions' },
{ id: 'referral' },
+ { id: 'assets' },
+ ],
+ tailSections: [
{ id: 'marketClosed' },
{ id: 'currentPrice' },
{ id: 'banners' },
diff --git a/src/views/base/home/layouts/types.ts b/src/views/base/home/layouts/types.ts
index c1268a7..f2fe640 100644
--- a/src/views/base/home/layouts/types.ts
+++ b/src/views/base/home/layouts/types.ts
@@ -31,6 +31,8 @@ export interface HomeLayoutConfig {
wrapperClass?: string
outerSections?: HomeLayoutSectionConfig[]
sections: HomeLayoutSectionConfig[]
+ /** بعد از wrapper — مثل قیمت و نمودار در UI قدیمی */
+ tailSections?: HomeLayoutSectionConfig[]
}
export interface HomeActionItem {