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.
Go email-relayemail-routinghttp-to-smtpmail-deliverymailchimp-alternativemailgun-alternativemailsendermailservermailtemplatemailtestpostmark-alternativesend-emailsendgrid-alternativesendmailtransactional-emailtransactional-outbox
feat: add 404 page
Jonas Kaninda80ca59eebb04
diff --git a/web/src/router/index.ts b/web/src/router/index.tsindex 2a73147..2c26a79 100644--- a/web/src/router/index.ts+++ b/web/src/router/index.ts@@ -73,6 +73,11 @@ const routes = [{ path: 'admin/settings', name: 'admin-settings', component: () => import('../views/admin/Settings.vue'), meta: { admin: true } },],},+ {+ path: '/:pathMatch(.*)*',+ name: 'not-found',+ component: () => import('../views/NotFound.vue'),+ },]const router = createRouter({diff --git a/web/src/views/NotFound.vue b/web/src/views/NotFound.vuenew file mode 100644index 0000000..8fa9809--- /dev/null+++ b/web/src/views/NotFound.vue@@ -0,0 +1,44 @@+<script setup lang="ts">+import { useRouter } from 'vue-router'++const router = useRouter()+</script>++<template>+ <div class="not-found">+ <div class="not-found-content">+ <h1>404</h1>+ <p>The page you're looking for doesn't exist.</p>+ <button class="btn btn-primary" @click="router.push('/')">Go to Dashboard</button>+ </div>+ </div>+</template>++<style scoped>+.not-found {+ display: flex;+ align-items: center;+ justify-content: center;+ min-height: 100vh;+ background: var(--bg-primary);+}++.not-found-content {+ text-align: center;+ padding: 48px 24px;+}++.not-found-content h1 {+ font-size: 96px;+ font-weight: 700;+ color: var(--text-muted);+ line-height: 1;+ margin-bottom: 12px;+}++.not-found-content p {+ font-size: 16px;+ color: var(--text-secondary);+ margin-bottom: 24px;+}+</style>