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

defineProps<{ embedded?: boolean }>();

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

<template>
  <MobileAnnouncementDetailView v-if="isDesktop" embedded />
  <MobileAnnouncementDetailView v-else :embedded="embedded" />
</template>
