chore: update sponsor (#6891)

This commit is contained in:
iamkun 2022-03-29 22:49:54 +08:00 committed by GitHub
parent c05bc511a8
commit 7983583da6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 29 additions and 2 deletions

View File

@ -71,6 +71,11 @@ You can also try Element Plus out with the components built-in playground
<img width="150px" src="https://user-images.githubusercontent.com/17680888/156870588-b25a42d5-888b-4943-8b1b-5239dfd8f4d2.png"> <img width="150px" src="https://user-images.githubusercontent.com/17680888/156870588-b25a42d5-888b-4943-8b1b-5239dfd8f4d2.png">
</a> </a>
</td> </td>
<td align="center" valign="middle">
<a href="https://js.design?source=element-plus" target="_blank">
<img width="150px" src="https://user-images.githubusercontent.com/17680888/160634485-df0d00af-8633-4ab8-9a72-aac2b65d1d36.png">
</a>
</td>
<td align="center" valign="middle"> <td align="center" valign="middle">
<a href="https://bit.dev/?from=element-ui" target="_blank"> <a href="https://bit.dev/?from=element-ui" target="_blank">
<img width="150px" src="https://user-images.githubusercontent.com/10095631/41342907-e44e7196-6f2f-11e8-92f2-47702dc8f059.png"> <img width="150px" src="https://user-images.githubusercontent.com/10095631/41342907-e44e7196-6f2f-11e8-92f2-47702dc8f059.png">

View File

@ -18,6 +18,16 @@ export const sponsors = [
banner_img: '/images/vform-banner.jpg', banner_img: '/images/vform-banner.jpg',
type: 'banner', type: 'banner',
}, },
{
name: 'JSDesign',
name_cn: '即时设计',
img: '/images/js-design.png',
url: 'https://js.design?source=element-plus',
slogan: 'Professional online UI design tool',
slogan_cn: '专业在线UI设计工具',
banner_img: '/images/js-design-banner.jpg',
type: 'banner',
},
{ {
name: 'bit', name: 'bit',
img: '/images/bit.svg', img: '/images/bit.svg',

View File

@ -6,7 +6,13 @@ const sponsorList = sponsors.filter((_) => _.type === 'banner')
<template> <template>
<div class="container"> <div class="container">
<div v-for="item in sponsorList" :key="item.name" class="sponsor-item"> <div v-for="item in sponsorList" :key="item.name" class="sponsor-item">
<a :href="item.url" :title="item.name" target="_blank"> <a
:href="item.url"
:title="`${item.name_cn || item.name} - ${
item.slogan_cn || item.slogan
}`"
target="_blank"
>
<img :src="item.banner_img" :alt="item.name" /> <img :src="item.banner_img" :alt="item.name" />
</a> </a>
</div> </div>

View File

@ -11,7 +11,13 @@ const sponsorList = sponsors.filter((_) => !_.type)
:key="item.name" :key="item.name"
:class="['sponsor-item', item.isDark && isDark ? 'filter invert' : '']" :class="['sponsor-item', item.isDark && isDark ? 'filter invert' : '']"
> >
<a :href="item.url" :title="item.name" target="_blank"> <a
:href="item.url"
:title="`${item.name_cn || item.name} - ${
item.slogan_cn || item.slogan
}`"
target="_blank"
>
<img :src="item.img" :alt="item.name" /> <img :src="item.img" :alt="item.name" />
</a> </a>
</div> </div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 895 B