Footer.vue 683 B

123456789101112131415161718192021
  1. <template>
  2. <footer class="mx-auto max-w-2xl space-y-10 pb-16 lg:max-w-5xl">
  3. <div class="flex">
  4. <div class="flex flex-col items-start gap-3" v-if="prev != null">
  5. <DocsPageLink
  6. :label="'Previous'"
  7. :page="prev"
  8. :previous="true"/>
  9. </div>
  10. <div class="ml-auto flex flex-col items-end gap-3" v-if="next != null && next._path != '/docs'">
  11. <DocsPageLink
  12. :label="'Next'"
  13. :page="next"/>
  14. </div>
  15. </div>
  16. </footer>
  17. </template>
  18. <script setup>
  19. const { prev, next } = useContent();
  20. </script>