mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-15 02:40:46 +08:00
31 lines
722 B
Vue
31 lines
722 B
Vue
<script setup lang="ts">
|
|
import { computed } from 'vue'
|
|
import sponsorLocale from '../../i18n/component/sponsor.json'
|
|
import { useLang } from '../composables/lang'
|
|
import VPSponsorSmall from './vp-sponsor-small.vue'
|
|
import VPSponsorLarge from './vp-sponsor-large.vue'
|
|
|
|
const lang = useLang()
|
|
const sponsor = computed(() => sponsorLocale[lang.value])
|
|
</script>
|
|
|
|
<template>
|
|
<div class="page-sidebar-row">
|
|
<p class="title">{{ sponsor.sponsoredBy }}</p>
|
|
<VPSponsorLarge />
|
|
<VPSponsorSmall />
|
|
</div>
|
|
</template>
|
|
|
|
<style lang="scss" scoped>
|
|
.page-sidebar-row {
|
|
padding-bottom: 10px;
|
|
padding-top: 0;
|
|
.title {
|
|
color: var(--text-color-secondary);
|
|
font-weight: 300;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
</style>
|