<script setup lang="ts">
import {Flight} from "@/Types/types";

defineProps<{
    flight: Flight
}>()
</script>

<template>
    <div class="livery" v-if="flight.livery_url" :style="{ backgroundImage: `url('${flight.livery_url}')` }">

    </div>
</template>

<style scoped>
.livery{
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    min-width: 300px;
}
</style>
