gancio-upstream/components/Announcement.vue

17 lines
409 B
Vue
Raw Normal View History

2022-04-26 22:01:56 +02:00
<template>
<nuxt-link :to='`/announcement/${announcement.id}`'>
2022-06-01 12:33:17 +02:00
<v-alert class='mb-1' outlined type='info' color="primary" :icon='mdiInformation'>{{announcement.title}}</v-alert>
2022-04-26 22:01:56 +02:00
</nuxt-link>
</template>
<script>
import { mdiInformation } from '@mdi/js'
export default {
data () {
return { mdiInformation }
},
props: {
announcement: { type: Object, default: () => ({}) }
}
}
</script>