v1 Release

This commit is contained in:
2026-07-11 18:44:40 +10:00
parent 85eeba982f
commit 5ac580bb06
15 changed files with 171 additions and 72 deletions
@@ -0,0 +1,21 @@
<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>
@@ -0,0 +1,29 @@
<script setup lang="ts">
import {Flight} from "@/Types/types";
import Mono from "@/Components/FlightsGoneBy/Mono.vue";
import LiveryAttribution from "@/Components/FlightsGoneBy/Liveries/LiveryAttribution.vue";
defineProps<{
flight: Flight
}>()
</script>
<template>
<div class="livery" v-if="flight.livery?.image_url" :style="{ backgroundImage: `url('${flight.livery.image_url ?? ''}')` }">
<LiveryAttribution :livery="flight.livery" />
</div>
</template>
<style scoped>
.livery{
display:flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
width: 100%;
aspect-ratio: 16/9;
background-size: cover;
min-width: 300px;
}
</style>