<script setup lang="ts">
import PageHome from '@/components/pages/PageHome.vue'
import { useHomePage } from '@/composables/page-drivers/useHomePage'

const page = useHomePage()
</script>

<template>
  <PageHome
    v-model:news-dialog-open="page.isNewsDialogOpen.value"
    :page="page.pageModel.value"
    :selected-news="page.selectedNews.value"
    @message-center="page.handleMessageCenter"
    @news="page.handleNews"
    @quick="page.handleQuick"
  />
</template>
