<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>
