mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-05 04:07:27 +00:00
11349561d6
* wip * wip * wip * wip * wip * wip * wip * wip * wip * Update yarn.lock * wip * wip
37 lines
689 B
Vue
37 lines
689 B
Vue
<template>
|
|
<div>
|
|
<main class="_section">
|
|
<div class="_content">
|
|
<ul>
|
|
<li v-for="doc in docs" :key="doc.path">
|
|
<MkA :to="`/docs/${doc.path}`">{{ doc.title }}</MkA>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
import { url, lang } from '@client/config';
|
|
import * as symbols from '@client/symbols';
|
|
|
|
export default defineComponent({
|
|
data() {
|
|
return {
|
|
[symbols.PAGE_INFO]: {
|
|
title: this.$ts.help,
|
|
icon: 'fas fa-question-circle'
|
|
},
|
|
docs: [],
|
|
}
|
|
},
|
|
|
|
created() {
|
|
fetch(`${url}/docs.json?lang=${lang}`).then(res => res.json()).then(docs => {
|
|
this.docs = docs;
|
|
});
|
|
},
|
|
});
|
|
</script>
|