ErrorView.vue 783 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <div class="notFoundContainer">
  3. <div class="m-b-xxl">
  4. <h1 class="title">{{title}}</h1>
  5. <nuxt-link :to="navigateToPage" class="button is-primary">{{navigateToText}}</nuxt-link>
  6. </div>
  7. <h2 class="subtitle">{{status}}<span> :(</span></h2>
  8. </div>
  9. </template>
  10. <script>
  11. export default {
  12. props: {
  13. title: {
  14. required: true,
  15. type: String
  16. },
  17. status: {
  18. required: true,
  19. type: String
  20. },
  21. navigateToPage: {
  22. required: true,
  23. type: String
  24. },
  25. navigateToText: {
  26. required: true,
  27. type: String
  28. }
  29. }
  30. }
  31. </script>
  32. <style scoped>
  33. .title {
  34. font-size: 40px;
  35. }
  36. .subtitle {
  37. font-size: 140px;
  38. text-align: center;
  39. }
  40. .notFoundContainer {
  41. margin-top: 80px;
  42. }
  43. </style>