Added timezones

This commit is contained in:
2026-04-04 22:19:58 +10:00
parent 7f62c31456
commit 509efbe821
11 changed files with 516 additions and 424 deletions
+44 -25
View File
@@ -1,30 +1,49 @@
<script setup>
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout.vue';
import { Head } from '@inertiajs/vue3';
<script setup lang="ts">
import MainLayout from "@/Layouts/MainLayout.vue";
import GlassBox from "@/Components/FlightsGoneBy/GlassBox.vue";
import { Head, Link } from "@inertiajs/vue3";
import { usePage } from "@inertiajs/vue3";
import { computed } from "vue";
import {SharedProps} from "@/Types/types";
import { router } from "@inertiajs/vue3";
defineOptions({ layout: MainLayout });
const page = usePage<SharedProps>();
const name = computed(() => page?.props?.auth?.user?.name || 'there');
</script>
<template>
<Head title="Dashboard" />
<AuthenticatedLayout>
<template #header>
<h2
class="text-xl font-semibold leading-tight text-gray-800"
>
Dashboard
</h2>
</template>
<div class="py-12">
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8">
<div
class="overflow-hidden bg-white shadow-sm sm:rounded-lg"
>
<div class="p-6 text-gray-900">
You're logged in!
</div>
</div>
</div>
</div>
</AuthenticatedLayout>
<GlassBox :title="`Hey there ${name} 👋`" blurb="What would you like to do?">
<v-container>
<v-row>
<v-col cols="12" md="6">
<v-btn size="large" block href="#">
Add a Flight
</v-btn>
</v-col>
<v-col cols="12" md="6">
<v-btn size="large" block href="#">
Edit Flights
</v-btn>
</v-col>
<v-col cols="12" md="6">
<v-btn size="large" block :href="route('import.fr24')">
Import from FR24
</v-btn>
</v-col>
<v-col cols="12" md="6">
<v-btn size="large" block href="#">
View Profile
</v-btn>
</v-col>
<v-col cols="12">
<v-btn size="large" block @click="router.post(route('logout'))">
Log Out
</v-btn>
</v-col>
</v-row>
</v-container>
</GlassBox>
</template>