diff --git a/app/Console/Commands/PopulateAirportTimezones.php b/app/Console/Commands/PopulateAirportTimezones.php index cd1e116..c2def03 100644 --- a/app/Console/Commands/PopulateAirportTimezones.php +++ b/app/Console/Commands/PopulateAirportTimezones.php @@ -17,7 +17,7 @@ class PopulateAirportTimezones extends Command */ public function handle() { - Airport::whereNull('timezone')->chunk(100, function ($airports) { + Airport::whereNull('timezone')->chunkById(100, function ($airports) { foreach ($airports as $airport) { $zoneName = null; $attempts = 0; diff --git a/resources/js/Components/FlightsGoneBy/GlassBox.vue b/resources/js/Components/FlightsGoneBy/GlassBox.vue index 54facef..0383863 100644 --- a/resources/js/Components/FlightsGoneBy/GlassBox.vue +++ b/resources/js/Components/FlightsGoneBy/GlassBox.vue @@ -1,9 +1,14 @@ @@ -12,8 +17,19 @@ .glass-box { width: 50%; min-height: 50dvh; - gap:1em; + gap: 1em; padding: 2em; } +h2 { + font-size: 2rem; + text-align: center; +} + +p { + text-align: center; + width: 100%; + opacity: 0.7; + margin-bottom: 1rem; +} diff --git a/resources/js/Layouts/MainLayout.vue b/resources/js/Layouts/MainLayout.vue index 6127489..5eaa878 100644 --- a/resources/js/Layouts/MainLayout.vue +++ b/resources/js/Layouts/MainLayout.vue @@ -3,15 +3,20 @@ import {Link} from "@inertiajs/vue3"; import MainHeader from "@/Components/FlightsGoneBy/MainHeader.vue"; import MainFooter from "@/Components/FlightsGoneBy/MainFooter.vue"; import Radar from "@/Components/FlightsGoneBy/Radar.vue"; +import { usePage } from "@inertiajs/vue3"; +const page = usePage(); +