From 3a0e66b420f728a3f249f7c5511c700dac3b28a8 Mon Sep 17 00:00:00 2001
From: Julien Margail <j.margail@geofit.fr>
Date: Wed, 28 Jun 2023 12:34:24 +0200
Subject: [PATCH] upgrade gatsby-plugin-auth to 0.2.5 (v0.8.3)

---
 CHANGELOG.md                     | 11 +++++++++++
 package.json                     |  4 ++--
 src/components/Footer.tsx        |  2 +-
 src/components/core/Carousel.tsx |  2 +-
 src/components/core/Map.tsx      |  2 ++
 5 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7fe3d12..cef43f1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Security
 
+## [0.8.3] - 2023-06-28
+
+### Fixed
+
+-   Map (with onegeo-maps context)
+-   Footer logo height
+
+### Changed
+
+-   Update @onegeo-suite/gatsby-plugin-auth to 0.2.5
+
 ## [0.8.2] - 2023-06-21
 
 ### Fixed
diff --git a/package.json b/package.json
index b0460ef..f0700b9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
     "name": "@onegeo-suite/gatsby-theme-onegeo",
-    "version": "0.8.2",
+    "version": "0.8.3",
     "main": "index.js",
     "types": "index.d.ts",
     "author": "NEOGEO",
@@ -16,7 +16,7 @@
         "typescript": "^4.0.0"
     },
     "dependencies": {
-        "@onegeo-suite/gatsby-plugin-auth": "0.2.4",
+        "@onegeo-suite/gatsby-plugin-auth": "0.2.5",
         "@onegeo-suite/gatsby-source-directus": "^9.14.1",
         "dayjs": "^1.11.7",
         "gatsby-plugin-env-variables": "^2.2.0",
diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx
index 3f1873a..77e53f7 100644
--- a/src/components/Footer.tsx
+++ b/src/components/Footer.tsx
@@ -17,7 +17,7 @@ const Footer = (props: Props) => {
                         id
                         imageFile {
                             childImageSharp {
-                                gatsbyImageData
+                                gatsbyImageData(height: 52)
                             }
                             name
                             publicURL
diff --git a/src/components/core/Carousel.tsx b/src/components/core/Carousel.tsx
index a0b3f87..035cd29 100644
--- a/src/components/core/Carousel.tsx
+++ b/src/components/core/Carousel.tsx
@@ -40,7 +40,7 @@ const Carousel = (props: Props) => {
                         : 3000
                 }
                 effect={animation}
-                navigation
+                // navigation
                 modules={[Autoplay, Navigation, EffectFade, EffectCoverflow]}
             >
                 {images.map((item: any, key: any) => {
diff --git a/src/components/core/Map.tsx b/src/components/core/Map.tsx
index 90d5328..7d907fa 100644
--- a/src/components/core/Map.tsx
+++ b/src/components/core/Map.tsx
@@ -168,6 +168,8 @@ const formatContextMaps = (oContext: any) => {
 const formatLayerMaps = (oLayer: any) => {
     oLayer.visibility = oLayer.visible
     oLayer.name = oLayer.layername
+    oLayer.style = ""
+    oLayer.format = "image/png"
     return oLayer
 }
 
-- 
GitLab