Files
FlightsAPI/resources/js/Components/FlightsGoneBy/LiveryImage.vue
T
2026-06-02 15:20:22 +10:00

27 lines
518 B
Vue

<script setup lang="ts">
import {Flight} from "@/Types/types";
import Mono from "@/Components/FlightsGoneBy/Mono.vue";
defineProps<{
flight: Flight
}>()
</script>
<template>
<div class="livery" v-if="flight.livery_url" :style="{ backgroundImage: `url('${flight.livery_url}')` }">
</div>
</template>
<style scoped>
.livery{
display:flex;
flex-direction: column;
justify-content: flex-end;
width: 100%;
aspect-ratio: 16/9;
background-size: cover;
min-width: 300px;
}
</style>