mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-01-12 14:06:14 +08:00
57f2d17cda
Signed-off-by: MiniDigger <admin@minidigger.me>
24 lines
620 B
Vue
24 lines
620 B
Vue
<template>
|
|
<v-card>
|
|
<v-card-subtitle v-text="$t('hangar.sponsoredBy')" />
|
|
<v-card-text v-if="sponsor">
|
|
<a :href="sponsor.link">
|
|
<v-img :src="sponsor.image" :alt="sponsor.name" :title="sponsor.name" :height="50" contain />
|
|
</a>
|
|
</v-card-text>
|
|
</v-card>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { Component, Prop, Vue } from 'nuxt-property-decorator';
|
|
import { Sponsor } from 'hangar-api';
|
|
|
|
@Component
|
|
export default class HangarSponsor extends Vue {
|
|
@Prop({ required: true })
|
|
sponsor!: Sponsor;
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped></style>
|