Added splash page

This commit is contained in:
2026-06-21 18:52:25 +10:00
parent 07e2796e09
commit a39589ee6f
13 changed files with 1030 additions and 29 deletions
@@ -1,5 +1,5 @@
<script setup lang="ts">
import {Achievement, Airline, Continent, Region, User, UserAchievement} from "@/Types/types";
import {Achievement, Airline, Alliance, Continent, Region, User, UserAchievement} from "@/Types/types";
import ProfileLayout from "@/Components/FlightsGoneBy/ProfileLayout.vue";
import Panel from "@/Components/FlightsGoneBy/Panels/Panel.vue";
import {computed, defineAsyncComponent} from 'vue';
@@ -21,9 +21,8 @@ const props = defineProps<{
user: User
loggedInUser: User | null
followStatus: string
flight_api_url: string
regions: Region[]
alliance: string | null
alliance: Alliance | null
airlines: Airline[]
continents: Continent[]
aircraft_families: Record<string, string[]>
@@ -32,7 +31,7 @@ const props = defineProps<{
}>()
const { flights, flightsLoading } = useFlights(props.flight_api_url, true)
const { flights, flightsLoading } = useFlights(`/internal/user/${props.user.name}/flights/departed`)
const AchievementDetail = defineAsyncComponent(
() => import(`./Achievements/${props.achievement.internal_name}.vue`)