url information

This commit is contained in:
Front committed 2021-12-27 14:13:05 -05:00
1 parent b07890a364
commit 76422c556a
3 files changed
+29 -8

No files matched your search

+6 -6
View File
@@ -32,24 +32,24 @@
return { return {
//--- Links To Generate Above ---// //--- Links To Generate Above ---//
links: [{ links: [{
text: 'API Usage Rights', text: 'Usage Rights',
icon: 'mdi-book-open-variant', icon: 'mdi-book-open-variant',
to: 'usage-rights' to: '/documentation/usage-rights'
}, },
{ {
text: 'API URL Information', text: 'URL Information',
icon: 'mdi-web', icon: 'mdi-web',
to: 'url' to: '/documentation/url'
}, },
{ {
text: 'Available Endpoints', text: 'Available Endpoints',
icon: 'mdi-transit-connection-variant', icon: 'mdi-transit-connection-variant',
to: 'endpoints' to: '/documentation/endpoints'
}, },
{ {
text: 'Basic Fetching Tutorial', text: 'Basic Fetching Tutorial',
icon: 'mdi-school', icon: 'mdi-school',
to: 'fetching' to: '/documentation/fetching'
}, },
] ]
} }
+14 -2
View File
@@ -1,6 +1,18 @@
<template> <template>
<div> <div>
<h1>Welcome to the <span class="primary--text">official RYD docs</span>!</h1> <h1 class="primary--text">URL Information</h1>
<p>To get started, select a section.</p> The API is accessible over the following base URL:
<a :href="apiUrl" v-text="apiUrl" />
</div> </div>
</template> </template>
<script>
export default {
data() {
return {
apiUrl: process.env.apiUrl
}
}
}
</script>
@@ -9,3 +9,12 @@
</div> </div>
</template> </template>
<style scoped>
li {
margin-top: 0.5em;
}
b {
font-weight: 900 !important;
}
</style>