diff --git a/components/AirportPicker.vue b/components/AirportPicker.vue new file mode 100644 index 0000000..d72d6de --- /dev/null +++ b/components/AirportPicker.vue @@ -0,0 +1,160 @@ + + + + + + + No results found for {{ search }}. + + + Start typing to search for an airport. + + + + + + + {{ option.iata }} + + + + + {{ option.name }} + + + {{ option.municipality }} + + + + + + + + + {{ option.iata }} + + + + + {{ option.name }} + + + {{ option.municipality }} + + + + + + + + + + + diff --git a/components/Map.vue b/components/Map.vue index d4719c7..8e89a1a 100644 --- a/components/Map.vue +++ b/components/Map.vue @@ -1,10 +1,16 @@ + - - + + @@ -24,16 +30,16 @@ {{ airport.municipality }} - + start here ► - + @@ -55,58 +61,58 @@ land here ■ - + start here ► - + - {{ selectedOrigin.municipality }} + {{ selectedOrig.municipality }} - {{ selectedOrigin.iata }} + {{ selectedOrig.iata }} - {{ selectedOrigin.municipality }} + {{ selectedOrig.municipality }} - + remove - + - {{ selectedDestination.municipality }} + {{ selectedDest.municipality }} - {{ selectedDestination.iata }} + {{ selectedDest.iata }} - {{ selectedDestination.municipality }} + {{ selectedDest.municipality }} - + remove @@ -122,6 +128,32 @@ - - diff --git a/pages/go.vue b/pages/go.vue index 67b7d81..c128366 100644 --- a/pages/go.vue +++ b/pages/go.vue @@ -1,46 +1,254 @@ - + + logo - logo - - - - click the map, or + + tap an airport on the map, or + + search here + + + - search + hide search - + - - - + + + + + + -