mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
chore(docs): update jnpf (#4181)
This commit is contained in:
21
docs/.vitepress/vitepress/components/vp-sponsor-large.vue
Normal file
21
docs/.vitepress/vitepress/components/vp-sponsor-large.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<div class="sponsor-item">
|
||||
<a
|
||||
href="https://www.jnpfsoft.com/index.html?from=elementUI"
|
||||
title="jnpfsoft"
|
||||
target="_blank"
|
||||
>
|
||||
<img src="/images/jnpfsoft.jpg" alt="jnpfsoft" />
|
||||
</a>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.sponsor-item {
|
||||
margin-bottom: 8px;
|
||||
img {
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -10,7 +10,7 @@ defineProps<{
|
||||
|
||||
<template>
|
||||
<div class="sponsor-item">
|
||||
<a :href="item.url" :title="item.name">
|
||||
<a :href="item.url" :title="item.name" target="_blank">
|
||||
<img :src="item.img" :alt="item.name" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -4,6 +4,7 @@ import sponsorsLocale from '../../i18n/component/sponsors.json'
|
||||
import sponsorLocale from '../../i18n/component/sponsor.json'
|
||||
import { useLang } from '../composables/lang'
|
||||
import VPSponsor from './vp-sponsor.vue'
|
||||
import VPSponsorLarge from './vp-sponsor-large.vue'
|
||||
|
||||
const lang = useLang()
|
||||
const sponsors = computed(() => sponsorsLocale[lang.value])
|
||||
@@ -14,6 +15,7 @@ const sponsor = computed(() => sponsorLocale[lang.value])
|
||||
<template>
|
||||
<div class="sponsors">
|
||||
<p class="sponsors-title">{{ sponsor.sponsoredBy }}</p>
|
||||
<VPSponsorLarge />
|
||||
<div class="container">
|
||||
<VPSponsor v-for="(s, key) in sponsors" :key="key" :item="s" />
|
||||
</div>
|
||||
|
||||
BIN
docs/public/images/jnpfsoft.jpg
Normal file
BIN
docs/public/images/jnpfsoft.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
Reference in New Issue
Block a user