freemium.vue 878 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <div>
  3. <!-- Show the loading page -->
  4. <client-only placeholder-tag="client-only-placeholder" placeholder=" " />
  5. <v-app>
  6. <LayoutLoadingScreen />
  7. <LayoutHeader />
  8. <v-main class="main">
  9. <!-- Page will be rendered here-->
  10. <div class="inner-container">
  11. <h3>{{ pageTitle }}</h3>
  12. <slot />
  13. </div>
  14. </v-main>
  15. <LazyLayoutAlertContainer />
  16. </v-app>
  17. </div>
  18. </template>
  19. <script setup lang="ts">
  20. import { useLayoutStore } from '~/stores/layout'
  21. const layoutStore = useLayoutStore()
  22. layoutStore.name = 'freemium'
  23. const route = useRoute()
  24. const i18n = useI18n()
  25. const pageTitle = computed(() => i18n.t(route.name || 'freemium_page'))
  26. </script>
  27. <style scoped lang="scss">
  28. .inner-container {
  29. max-width: 1200px;
  30. margin: 0 auto;
  31. h3 {
  32. margin: 36px 0 18px 2%;
  33. }
  34. }
  35. </style>