Hangar/frontend/components/layouts/Sponsor.vue
Jake Potrebic e1ea6eb2c5
tiny issues
* formatting
* remove imports from 'vue-property-decorator'
* only notify of version reviews if its the last open review that is reviewed
2021-03-15 10:23:32 -07:00

24 lines
636 B
Vue

<template>
<v-card>
<v-card-subtitle v-text="$t('hangar.sponsoredBy')"></v-card-subtitle>
<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>