default.vue 697 B

1234567891011121314151617181920212223242526272829
  1. <template>
  2. <div>
  3. <!-- <Breakpoint /> -->
  4. <TopBanner>
  5. <template #headline><slot name="headline">Default Headline from layout</slot></template>
  6. <template #tagline><slot name="tagline">Default Tagline from layout</slot></template>
  7. </TopBanner>
  8. <div id="content_box" :class="`flex flex-col bg-white pt-12 sm:pt-24`">
  9. <CookieMonster />
  10. <MainMenu />
  11. <slot />
  12. </div>
  13. <Footer />
  14. </div>
  15. </template>
  16. <style lang="pcss">
  17. article.body h2 {
  18. @apply mt-0;
  19. }
  20. </style>
  21. <script lang="ts" setup>
  22. useHead({
  23. bodyAttrs: {
  24. class: `bg-black ${String(useRoute().name)}`
  25. }
  26. })
  27. </script>