documentation.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <template>
  2. <div>
  3. <v-card max-width="600px" class="rounded-lg">
  4. <v-card-title style="padding-bottom: 0;">Sections</v-card-title>
  5. <v-list>
  6. <v-list-item v-for="(item, i) in links" :key="i" router :to=item.to>
  7. <v-list-item-icon>
  8. <v-icon v-text="item.icon" />
  9. </v-list-item-icon>
  10. <v-list-item-title style="text-align: left;">
  11. <v-list-item-title v-text="item.text" />
  12. </v-list-item-title>
  13. </v-list-item>
  14. </v-list>
  15. </v-card>
  16. <v-card max-width="600px" class="rounded-lg" style="margin: 1em; padding: 0.75em; text-align: left;">
  17. <NuxtChild />
  18. </v-card>
  19. </div>
  20. </template>
  21. <script>
  22. export default {
  23. data() {
  24. return {
  25. links: [{
  26. text: 'API Usage Rights',
  27. icon: 'mdi-book-open-variant',
  28. to: 'documenation/usage-rights'
  29. },
  30. {
  31. text: 'API URL Information',
  32. icon: 'mdi-web',
  33. to: 'documenation/url'
  34. },
  35. {
  36. text: 'Available Endpoints',
  37. icon: 'mdi-transit-connection-variant',
  38. to: 'documenation/endpoints'
  39. },
  40. {
  41. text: 'Basic Fetching Tutorial',
  42. icon: 'mdi-school',
  43. to: 'documenation/fetching'
  44. },
  45. ]
  46. }
  47. }
  48. }
  49. </script>