GroupNotifications.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <template>
  2. <div class="group-notifications-component">
  3. <div class="row border-bottom m-0 p-0">
  4. <sidebar />
  5. <div class="col-12 col-md-9 px-0 mx-0">
  6. <loader v-if="!loaded" :loaded="loaded" />
  7. <template v-else>
  8. <div class="px-5 pt-4 pb-2">
  9. <h2 class="fw-bold">Group Notifications</h2>
  10. </div>
  11. </template>
  12. </div>
  13. </div>
  14. </div>
  15. </template>
  16. <script type="text/javascript">
  17. import SidebarComponent from '@/groups/sections/Sidebar.vue';
  18. import LoaderComponent from '@/groups/sections/Loader.vue';
  19. export default {
  20. components: {
  21. "sidebar": SidebarComponent,
  22. "loader": LoaderComponent
  23. },
  24. data() {
  25. return {
  26. loaded: false,
  27. loadTimeout: undefined,
  28. }
  29. },
  30. created() {
  31. this.loadTimeout = setTimeout(() => {
  32. this.loaded = true;
  33. }, 1000);
  34. },
  35. beforeUnmount() {
  36. clearTimeout(this.loadTimeout);
  37. }
  38. }
  39. </script>
  40. <style lang="scss" scoped>
  41. .group-notifications-component {
  42. font-family: var(--font-family-sans-serif);
  43. .jumbotron {
  44. background-color: #fff;
  45. border-radius: 0px;
  46. }
  47. }
  48. </style>