22 lines
472 B
Vue
22 lines
472 B
Vue
<script setup lang="ts">
|
|
import {computed} from "vue";
|
|
import {Link} from "@inertiajs/vue3";
|
|
import {Livery} from "@/Types/types";
|
|
|
|
defineProps<{
|
|
livery: Livery
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<small v-if="livery.is_ai">{{livery.attribution}}</small>
|
|
<Link v-else :href="livery.attribution_url" target="_blank"><small>{{livery.attribution}}</small></Link>
|
|
</template>
|
|
|
|
<style scoped>
|
|
small{
|
|
font-size: 0.7em;
|
|
color: var(--muted);
|
|
}
|
|
</style>
|