@@ -6,7 +6,11 @@
|
||||
|
||||
<div class="admin-layout__content">
|
||||
<div class="admin-layout__inner">
|
||||
<HeaderBlock :page-title="pageTitle" class="admin-layout__header" />
|
||||
<HeaderBlock
|
||||
:page-title="pageTitle"
|
||||
:page-subtitle="pageSubtitle"
|
||||
class="admin-layout__header"
|
||||
/>
|
||||
<div class="admin-layout__page">
|
||||
<RouterView />
|
||||
</div>
|
||||
@@ -53,6 +57,7 @@ onMounted(() => window.addEventListener('resize', onResize))
|
||||
onBeforeUnmount(() => window.removeEventListener('resize', onResize))
|
||||
|
||||
const pageTitle = computed(() => route.meta?.title || 'پیشخوان')
|
||||
const pageSubtitle = computed(() => route.meta?.subtitle || '')
|
||||
|
||||
const educationRoutes = new Set([
|
||||
'admin-terms',
|
||||
|
||||
Reference in New Issue
Block a user