Announcement.vue 525 B

12345678910111213141516171819202122
  1. <template>
  2. <div
  3. class="relative flex items-center px-4 py-2 transition bg-error text-tiny group"
  4. role="alert"
  5. >
  6. <i class="mr-2 material-icons">info_outline</i>
  7. <span class="text-secondaryDark">
  8. <span class="md:hidden">
  9. {{ t("helpers.offline_short") }}
  10. </span>
  11. <span class="<md:hidden">
  12. {{ t("helpers.offline") }}
  13. </span>
  14. </span>
  15. </div>
  16. </template>
  17. <script setup lang="ts">
  18. import { useI18n } from "~/helpers/utils/composables"
  19. const t = useI18n()
  20. </script>