2026-06-14 10:08:46 +03:30
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { computed, inject } from 'vue'
|
|
|
|
|
import AssetsSection from '../../components/AssetsSection.vue'
|
|
|
|
|
import { HOME_PAGE_CONTEXT_KEY } from '../../composables/useHomePage'
|
|
|
|
|
const ctx = inject(HOME_PAGE_CONTEXT_KEY)!
|
|
|
|
|
const isPlainAssets = computed(() => ctx.isBoursecuHomeLayout.value)
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<AssetsSection
|
|
|
|
|
v-if="!ctx.isGaroosi.value"
|
|
|
|
|
:plain="isPlainAssets"
|
2026-06-15 11:01:57 +03:30
|
|
|
:boursecu-layout="isPlainAssets"
|
2026-06-14 10:08:46 +03:30
|
|
|
@open-gold-modal="ctx.openGoldModal"
|
|
|
|
|
@open-rial-modal="ctx.openRialModal"
|
|
|
|
|
/>
|
|
|
|
|
</template>
|