update empty page

This commit is contained in:
Dede Fuji Abdul
2023-10-30 10:30:49 +07:00
parent 7af900bee1
commit c11d286a7e
6 changed files with 115 additions and 12 deletions

View File

@ -1,13 +1,14 @@
<template>
<main class="flex-1 px-4 overflow-y-auto bg-white md:mr-3 sm:px-3 md:px-6 rounded-t-2xl md:rounded-t-3xl no-scroll-bar">
<main
class="flex flex-col justify-between flex-1 px-4 overflow-y-auto bg-white md:mr-3 sm:px-3 md:px-6 rounded-t-2xl md:rounded-t-3xl no-scroll-bar">
<div v-if="route.path !== '/home'" class="mt-4 lg:mt-6 max-w-7xl">
<h1 class="text-xl font-medium md:text-3xl text-dark">{{ pageMetaData[0] }}</h1>
</div>
<div class="mt-2 sm:mt-4 dx-viewport">
</div>
<div class="flex-1 mt-2 sm:mt-4 dx-viewport">
<Filters :report-button="typeof pageMetaData[2] !== 'undefined'" class="mb-4" v-if="pageMetaData.length > 1">
<Type1 v-if="pageMetaData[1] == 'type-1'" />
</Filters>
<slot></slot>
</div>
</main>