Banned.vue 679 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <template>
  2. <div class="container">
  3. <i class="material-icons">not_interested</i>
  4. <h4>
  5. You are banned for
  6. <strong>{{ moment($parent.ban.expiresAt).fromNow(true) }}</strong>
  7. </h4>
  8. <h5 class="reason">
  9. <strong>Reason: </strong>
  10. {{ $parent.ban.reason }}
  11. </h5>
  12. </div>
  13. </template>
  14. <script>
  15. export default {
  16. data() {
  17. return {
  18. moment
  19. };
  20. }
  21. };
  22. </script>
  23. <style lang="scss" scoped>
  24. .container {
  25. display: flex;
  26. justify-content: center;
  27. align-items: center;
  28. flex-direction: column;
  29. height: 100vh;
  30. max-width: 1000px;
  31. padding: 0 20px;
  32. }
  33. .reason {
  34. text-align: justify;
  35. }
  36. i.material-icons {
  37. cursor: default;
  38. font-size: 65px;
  39. color: tomato;
  40. }
  41. </style>