Front 3 rokov pred
rodič
commit
76422c556a

+ 6 - 6
Website/pages/documentation.vue

@@ -32,24 +32,24 @@
       return {
         //---   Links To Generate Above    ---//
         links: [{
-            text: 'API Usage Rights',
+            text: 'Usage Rights',
             icon: 'mdi-book-open-variant',
-            to: 'usage-rights'
+            to: '/documentation/usage-rights'
           },
           {
-            text: 'API URL Information',
+            text: 'URL Information',
             icon: 'mdi-web',
-            to: 'url'
+            to: '/documentation/url'
           },
           {
             text: 'Available Endpoints',
             icon: 'mdi-transit-connection-variant',
-            to: 'endpoints'
+            to: '/documentation/endpoints'
           },
           {
             text: 'Basic Fetching Tutorial',
             icon: 'mdi-school',
-            to: 'fetching'
+            to: '/documentation/fetching'
           },
         ]
       }

+ 14 - 2
Website/pages/documentation/url.vue

@@ -1,6 +1,18 @@
 <template>
   <div>
-    <h1>Welcome to the <span class="primary--text">official RYD docs</span>!</h1>
-    <p>To get started, select a section.</p>
+    <h1 class="primary--text">URL Information</h1>
+    The API is accessible over the following base URL:
+    <a :href="apiUrl" v-text="apiUrl" />
+
   </div>
 </template>
+
+<script>
+export default {
+  data() {
+    return {
+      apiUrl: process.env.apiUrl
+    }
+  }
+}
+</script>

+ 9 - 0
Website/pages/documentation/usage-rights.vue

@@ -9,3 +9,12 @@
 
   </div>
 </template>
+
+<style scoped>
+li {
+  margin-top: 0.5em;
+}
+b {
+  font-weight: 900 !important;
+}
+</style>