1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-06-17 00:07:54 +02:00

UI: Rewrite web UI, add URL routing and components

See #156
This commit is contained in:
Ralph Slooten
2023-09-22 15:06:03 +12:00
parent 8f0549c596
commit 6a4e5fb03c
37 changed files with 3254 additions and 540 deletions

View File

@ -1,7 +1,29 @@
<script>
import AboutMailpit from '../components/AboutMailpit.vue'
import CommonMixins from '../mixins/CommonMixins'
export default {
mixins: [CommonMixins],
components: {
AboutMailpit,
},
}
</script>
<template>
<p>Page not found</p>
<p>Click <router-link to="/">here</router-link> to continue.</p>
<div class="h-100 bg-primary d-flex align-items-center justify-content-center my-2 text-white">
<div class="d-block text-center">
<RouterLink to="/" class="text-white">
<img :src="resolve('/mailpit.svg')" alt="Mailpit" style="max-width:80%; width: 100px;">
<p class="h2 my-3">Page not found</p>
<p>Click here to continue</p>
</RouterLink>
</div>
<div class="d-none">
<AboutMailpit />
</div>
</div>
</template>