PronounsPage/components/Support.vue
Valentyne Stigloher d792270c80 (refactor) inject translator instead of importing the singleton instance
this prevents of having a module which needs a suml-loader
which is complicated for testing and server scopes
2024-01-24 00:50:29 +01:00

38 lines
982 B
Vue

<template>
<AdPlaceholder phkey="content-footer" />
<!--
<section>
<h3>
<Icon v="people-carry"/>
<T>support.header</T>
</h3>
<p><T>support.description</T></p>
<p>
<component v-for="link in links" :key="link.url"
:is="link.tooltip ? 'Tooltip' : 'span'" :text="link.tooltip">
<a :href="link.url" target="_blank" rel="noopener"
class="btn btn-outline-primary border m-1">
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
{{link.headline}}
</a>
</component>
</p>
<p class="small">
<Financial/>
</p>
</section>
-->
</template>
<script>
import { getSupportLinks } from '../src/contact.js';
export default {
data() {
return {
links: [...getSupportLinks(this.$translator)],
};
},
};
</script>