Added Notifications
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import MainLayout from "@/Layouts/MainLayout.vue";
|
||||
import {Head} from "@inertiajs/vue3";
|
||||
import {Head, Link} from "@inertiajs/vue3";
|
||||
import ProfileLayout from "@/Components/FlightsGoneBy/ProfileLayout.vue";
|
||||
import {Achievement, Flight, User, UserAchievement} from "@/Types/types";
|
||||
import BoardingPass from "@/Components/FlightsGoneBy/BoardingPass.vue";
|
||||
@@ -10,6 +10,7 @@ import AirlinePanel from "@/Components/FlightsGoneBy/Panels/AirlinePanel.vue";
|
||||
import AircraftPanel from "@/Components/FlightsGoneBy/Panels/AircraftPanel.vue";
|
||||
import RoutePanel from "@/Components/FlightsGoneBy/Panels/RoutePanel.vue";
|
||||
import DetailRows from "@/Components/FlightsGoneBy/Panels/DetailRows.vue";
|
||||
import ButtonLink from "@/Components/FlightsGoneBy/ButtonLink.vue";
|
||||
|
||||
defineOptions({ layout: MainLayout })
|
||||
|
||||
@@ -30,6 +31,8 @@ const props = defineProps<{
|
||||
<Head :title="`${flight.flight_number ?? user.name + '\'s Flight'}`" />
|
||||
|
||||
<div class="flight-profile">
|
||||
<ButtonLink variant="flat" icon="mdi-arrow-left" :label="`Back to ${user.name}'s Flights`" :href="route('profile.departure-board', { user: user.name, flight: flight.id })" />
|
||||
|
||||
<!-- Main grid -->
|
||||
<div class="profile-grid">
|
||||
<RoutePanel :flight="flight" />
|
||||
|
||||
Reference in New Issue
Block a user