Updated logo API

This commit is contained in:
2026-04-23 00:53:19 +10:00
parent bd8ef98d30
commit 110ed5b984
17 changed files with 142 additions and 59 deletions
@@ -10,8 +10,7 @@ const props = defineProps<{
size?: number | string;
}>();
const page = usePage<SharedProps>().props;
const logoUrl = computed(() => `url('${page.logo_api_url}/airlines/logos/tail/name/${props.airline?.internal_name}')`);
const logoUrl = computed(() => `url('${props.airline?.logo_url}')`);
const logoStyle = computed(() => ({
width: size.value,
height: size.value,