mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
25 lines
484 B
Vue
25 lines
484 B
Vue
|
<script setup lang="ts">
|
||
|
import { useData } from 'vitepress'
|
||
|
import VPSocialLink from './vp-social-link.vue'
|
||
|
import { useSocialLinks } from '../../composables/social-links'
|
||
|
|
||
|
const { theme } = useData()
|
||
|
|
||
|
const links = useSocialLinks()
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div class="social-links">
|
||
|
<VPSocialLink v-for="link in links" v-bind="link" />
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<style scoped lang="scss">
|
||
|
@import '../../styles/mixins';
|
||
|
|
||
|
.social-links {
|
||
|
height: 20px;
|
||
|
padding: 0 8px;
|
||
|
}
|
||
|
</style>
|