404.vue 785 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <script setup lang="ts">
  2. import { defineAsyncComponent } from "vue";
  3. const MainHeader = defineAsyncComponent(
  4. () => import("@/components/MainHeader.vue")
  5. );
  6. const MainFooter = defineAsyncComponent(
  7. () => import("@/components/MainFooter.vue")
  8. );
  9. </script>
  10. <template>
  11. <div>
  12. <main-header />
  13. <div class="wrapper">
  14. <page-metadata title="404" />
  15. <h3><strong>404</strong>&nbsp;Not Found</h3>
  16. <router-link class="button is-dark" to="/">
  17. <i class="material-icons icon-with-button">undo</i>
  18. Back to Home
  19. </router-link>
  20. </div>
  21. <main-footer />
  22. </div>
  23. </template>
  24. <style lang="less" scoped>
  25. .wrapper {
  26. min-height: calc(100vh - 100px);
  27. display: flex;
  28. align-items: center;
  29. justify-content: center;
  30. flex-direction: column;
  31. }
  32. a {
  33. margin-top: 15px;
  34. }
  35. </style>