mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-26 11:38:15 +08:00
28 lines
478 B
Vue
28 lines
478 B
Vue
<script lang="ts" setup>
|
|
import { useThemeLocaleData } from '../../composables/index.js'
|
|
import SocialLinks from '../SocialLinks.vue'
|
|
|
|
const theme = useThemeLocaleData()
|
|
</script>
|
|
|
|
<template>
|
|
<SocialLinks
|
|
v-if="theme.social"
|
|
class="navbar-social-links"
|
|
:links="theme.social"
|
|
/>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.navbar-social-links {
|
|
display: none;
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
.navbar-social-links {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
}
|
|
</style>
|