From 9c814d145d256f3d9426a13e1ec767bec8526ef9 Mon Sep 17 00:00:00 2001 From: Sandro Ducceschi Date: Wed, 1 Nov 2023 20:49:05 +0100 Subject: [PATCH] MODIFIED: minor improvements - add padding if initial section is a textteaser - improved navgatiion behaviour when switching themes and hiding - PageFactory is now default if no page component is defined, available --- src/assets/scss/mixins.scss | 1 + src/components/Header.vue | 208 ++++++++++++++------------- src/components/blocks/TextTeaser.vue | 18 ++- src/router/index.js | 19 +-- src/store/index.js | 14 -- src/views/CountryPageFactory.vue | 13 -- src/views/PageFactory.vue | 14 +- 7 files changed, 126 insertions(+), 161 deletions(-) diff --git a/src/assets/scss/mixins.scss b/src/assets/scss/mixins.scss index 60540c9..50c6b8f 100644 --- a/src/assets/scss/mixins.scss +++ b/src/assets/scss/mixins.scss @@ -41,6 +41,7 @@ $breakpoints: ( 'sm': 768px, 'm': 1024px, 'mx': 1180px, + 'spl': 1241px, 'l': 1280px, 'xl': 1680px, ); diff --git a/src/components/Header.vue b/src/components/Header.vue index 30ddc98..9f0cb5c 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -1,6 +1,8 @@