Files
Library/node_modules/vitepress/dist/client/theme-default/components/VPSocialLinks.vue
2026-01-09 23:05:52 -05:00

32 lines
527 B
Vue

<script lang="ts" setup>
import type { DefaultTheme } from 'vitepress/theme'
import VPSocialLink from './VPSocialLink.vue'
withDefaults(defineProps<{
links: DefaultTheme.SocialLink[]
me?: boolean
}>(), {
me: true
})
</script>
<template>
<div class="VPSocialLinks">
<VPSocialLink
v-for="{ link, icon, ariaLabel } in links"
:key="link"
:icon
:link
:ariaLabel
:me
/>
</div>
</template>
<style scoped>
.VPSocialLinks {
display: flex;
justify-content: center;
}
</style>