documentation.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  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><v-icon v-text="item.icon" /></v-list-item-icon>
  8. <v-list-item-title style="text-align: left;"><v-list-item-title v-text="item.text" /></v-list-item-title>
  9. </v-list-item>
  10. </v-list>
  11. </v-card>
  12. <v-card max-width="600px" class="rounded-lg" style="margin: 1em; padding: 0.75em; text-align: left;">
  13. <NuxtChild />
  14. </v-card>
  15. </div>
  16. </template>
  17. <script>
  18. export default {
  19. data() {
  20. return {
  21. links: [
  22. { text: 'API Usage Rights', icon: 'mdi-book-open-variant', to: 'documenation/usage-rights' },
  23. { text: 'API URL Information', icon: 'mdi-web', to: 'documenation/url' },
  24. { text: 'Available Endpoints', icon: 'mdi-transit-connection-variant', to: 'documenation/endpoints' },
  25. { text: 'Basic Fetching Tutorial', icon: 'mdi-school', to: 'documenation/fetching' },
  26. ]
  27. }
  28. }
  29. }
  30. </script>