Added splash page

This commit is contained in:
dredgy committed 2026-06-21 18:52:25 +10:00
1 parent 07e2796e09
commit a39589ee6f
13 files changed
+1030 -29

No files matched your search

+2 -3
View File
@@ -2,9 +2,8 @@ import { computed } from 'vue'
import { useApiResource } from '@/Composables/useApiResource'
import type { Flight } from '@/Types/types'
export function useFlights(url: string, departedOnly: boolean = false) {
const requestUrl = departedOnly ? `${url}/departed` : url
const { data, loading, error } = useApiResource<Flight[]>(requestUrl)
export function useFlights(url: string) {
const { data, loading, error } = useApiResource<Flight[]>(url)
const flights = computed(() => data.value ?? [])