This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/components/Socials.vue

24 lines
490 B
Vue
Raw Normal View History

<template>
<section v-if="socials.length">
<h2 class="mb-3">
<Icon v="hashtag"/>
<T>links.social</T>
</h2>
<ul class="list-unstyled">
<Link v-for="link in socials" :link="link" :key="link.url"/>
</ul>
</section>
</template>
<script>
import {getSocialLinks} from '../src/contact';
export default {
data() {
return {
socials: [...getSocialLinks(this.config)],
};
},
}
</script>