diff --git a/package.json b/package.json index fcb8585..40a6a25 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "pinia": "^2.0.33", "quasar": "^2.12.0", "vue": "^3.2.47", + "vue-inner-image-zoom": "^2.0.0", "vue-router": "^4.1.6", "vue3-google-map": "^0.15.0" }, diff --git a/quasar.config.js b/quasar.config.js index 8ee0d45..0ff8898 100644 --- a/quasar.config.js +++ b/quasar.config.js @@ -30,6 +30,7 @@ module.exports = configure(function (/* ctx */) { // https://v2.quasar.dev/quasar-cli/boot-files boot: [ "axios", + "vueInnerImageZoom", ], // https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#css diff --git a/src/boot/vueInnerImageZoom.js b/src/boot/vueInnerImageZoom.js new file mode 100644 index 0000000..9ed90b7 --- /dev/null +++ b/src/boot/vueInnerImageZoom.js @@ -0,0 +1,6 @@ +import {boot} from "quasar/wrappers"; +import InnerImageZoom from 'vue-inner-image-zoom'; + +export default boot(({app}) => { + app.component("inner-image-zoom", InnerImageZoom); +}) diff --git a/src/components/AvatarFromPhoto.vue b/src/components/AvatarFromPhoto.vue new file mode 100644 index 0000000..1f29056 --- /dev/null +++ b/src/components/AvatarFromPhoto.vue @@ -0,0 +1,20 @@ + + + diff --git a/src/components/flights/FlightBasicInfo.vue b/src/components/flights/FlightBasicInfo.vue index d9bd939..fc08363 100644 --- a/src/components/flights/FlightBasicInfo.vue +++ b/src/components/flights/FlightBasicInfo.vue @@ -1,6 +1,6 @@ diff --git a/src/components/weather/WeatherInfo.vue b/src/components/weather/WeatherInfo.vue index 7490d57..f661843 100644 --- a/src/components/weather/WeatherInfo.vue +++ b/src/components/weather/WeatherInfo.vue @@ -38,15 +38,6 @@ const openDetail = ref(false); - - - QNH - - - {{ weather.qnh }} hPa - - - @@ -58,14 +49,32 @@ const openDetail = ref(false); + + + + + + {{ weather.rain }}mm + + + - Teplota: {{ weather.temperatureSurface }} ° C + Teplota: {{ weather.temperatureSurface }}° C
- Rosný bod: {{ weather.dewpointSurface }} ° C + Rosný bod: {{ weather.dewpointSurface }}° C +
+
+ + + + QNH + + + {{ weather.qnh }} hPa diff --git a/src/graphql/fragments/flight.js b/src/graphql/fragments/flight.js index c159ea8..e790608 100644 --- a/src/graphql/fragments/flight.js +++ b/src/graphql/fragments/flight.js @@ -91,6 +91,11 @@ fragment flightListInfo on Flight { thumbnailUrl } + copilot { + id + name + } + takeoffAirport { ...airportInfo } diff --git a/src/layouts/ProfileLayout.vue b/src/layouts/ProfileLayout.vue index 6d58a01..a78e383 100644 --- a/src/layouts/ProfileLayout.vue +++ b/src/layouts/ProfileLayout.vue @@ -15,11 +15,9 @@ {{ pageTitle || "Polétání.cz" }} - - - - - + + + @@ -31,14 +29,6 @@ > - - - - - - - - @@ -68,6 +58,7 @@ import {storeToRefs} from "pinia"; import BreadcrumbsNavigation from "components/BreadcrumbsNavigation.vue"; import {useAppStore} from "stores/App"; import {useMeta} from "quasar"; +import AvatarFromPhoto from "components/AvatarFromPhoto.vue"; const {pageTitle, breadcrumbs} = storeToRefs(useAppStore()); useMeta(() => ({ diff --git a/src/layouts/PublicLayout.vue b/src/layouts/PublicLayout.vue index 1cc3ca7..72ea787 100644 --- a/src/layouts/PublicLayout.vue +++ b/src/layouts/PublicLayout.vue @@ -8,9 +8,7 @@