Skip to content

armgit / posta

Public Imported from GitHub
0

Self-hosted email delivery platform that enables applications to send emails via HTTP APIs while handling SMTP delivery, templates, storage, security, and analytics. Fully self-hostable alternative to services like SendGrid or Mailgun.

598 B
Raw Blame
<script setup lang="ts">
import { useNotificationStore } from './stores/notification'
import { useThemeStore } from './stores/theme'
import ConfirmDialog from './components/ConfirmDialog.vue'

useThemeStore()
const notify = useNotificationStore()
</script>

<template>
  <div>
    <router-view />
    <ConfirmDialog />
    <div class="toast-container">
      <div
        v-for="n in notify.notifications"
        :key="n.id"
        class="toast"
        :class="`toast-${n.type}`"
        @click="notify.dismiss(n.id)"
      >
        {{ n.message }}
      </div>
    </div>
  </div>
</template>