24 lines
703 B
Vue
24 lines
703 B
Vue
<template>
|
|
<div class="app-notifications-page-root">
|
|
<DesktopAppNotificationsView v-show="isDesktop" />
|
|
<MobileAppNotificationsView v-show="!isDesktop" />
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { useDesktopBreakpoint } from '@/layouts/composables/useAppLayout'
|
|
import { useAppNotificationsPage } from './composables/useAppNotificationsPage'
|
|
import DesktopAppNotificationsView from './desktop/DesktopAppNotificationsView.vue'
|
|
import MobileAppNotificationsView from './mobile/MobileAppNotificationsView.vue'
|
|
|
|
const isDesktop = useDesktopBreakpoint()
|
|
useAppNotificationsPage()
|
|
</script>
|
|
|
|
<style scoped>
|
|
.app-notifications-page-root {
|
|
min-height: 100%;
|
|
height: 100%;
|
|
}
|
|
</style>
|