Guides.vue 943 B

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. <div class="my-16 xl:max-w-none">
  3. <AppHeading2 id="guides">
  4. Guides
  5. </AppHeading2>
  6. <div class="not-prose mt-4 grid grid-cols-1 gap-8 border-t pt-10 border-white/5 sm:grid-cols-2 xl:grid-cols-4">
  7. <slot/>
  8. </div>
  9. </div>
  10. </template>
  11. <script setup>
  12. const guides = ref([
  13. {
  14. href: '/authentication',
  15. name: 'Authentication',
  16. description: 'Learn how to authenticate your API requests.',
  17. },
  18. {
  19. href: '/pagination',
  20. name: 'Pagination',
  21. description: 'Understand how to work with paginated responses.',
  22. },
  23. {
  24. href: '/errors',
  25. name: 'Errors',
  26. description: 'Read about the different types of errors returned by the API.',
  27. },
  28. {
  29. href: '/webhooks',
  30. name: 'Webhooks',
  31. description: 'Learn how to programmatically configure webhooks for your app.',
  32. },
  33. ])
  34. </script>