<script setup lang="ts">
import { useViewport } from '../composables/useViewport';
import DesktopAnnouncementsHubShell from './desktop/DesktopAnnouncementsHubShell.vue';

const { isDesktop } = useViewport();
</script>

<template>
  <DesktopAnnouncementsHubShell v-if="isDesktop">
    <RouterView />
  </DesktopAnnouncementsHubShell>
  <RouterView v-else />
</template>
