diff --git a/package-lock.json b/package-lock.json index 3cd6d24d..28988012 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6202,12 +6202,6 @@ "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", "dev": true }, - "node_modules/lodash.toarray": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz", - "integrity": "sha1-JMS/zWsvuji/0FlNsRedjptlZWE=", - "dev": true - }, "node_modules/lodash.topath": { "version": "4.5.2", "resolved": "https://registry.npmjs.org/lodash.topath/-/lodash.topath-4.5.2.tgz", @@ -6621,12 +6615,12 @@ "dev": true }, "node_modules/node-emoji": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.10.0.tgz", - "integrity": "sha512-Yt3384If5H6BYGVHiHwTL+99OzJKHhgp82S8/dktEK73T26BazdgZ4JZh92xSVtGNJvz9UbXdNAc5hcrXV42vw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.11.0.tgz", + "integrity": "sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==", "dev": true, "dependencies": { - "lodash.toarray": "^4.4.0" + "lodash": "^4.17.21" } }, "node_modules/node-forge": { @@ -15849,12 +15843,6 @@ "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", "dev": true }, - "lodash.toarray": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz", - "integrity": "sha1-JMS/zWsvuji/0FlNsRedjptlZWE=", - "dev": true - }, "lodash.topath": { "version": "4.5.2", "resolved": "https://registry.npmjs.org/lodash.topath/-/lodash.topath-4.5.2.tgz", @@ -16170,12 +16158,12 @@ "dev": true }, "node-emoji": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.10.0.tgz", - "integrity": "sha512-Yt3384If5H6BYGVHiHwTL+99OzJKHhgp82S8/dktEK73T26BazdgZ4JZh92xSVtGNJvz9UbXdNAc5hcrXV42vw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.11.0.tgz", + "integrity": "sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==", "dev": true, "requires": { - "lodash.toarray": "^4.4.0" + "lodash": "^4.17.21" } }, "node-forge": { diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_app.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_app.js index b9e4b281..08ef770c 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_app.js +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_app.js @@ -35,49 +35,45 @@ import contactForm from './components/contact-form' import defaultFilterSettings from './_filtersettings' import defaultFilterOptions from './_filteroptions' -// Executed on document ready -document.addEventListener('DOMContentLoaded', () => { - const appConfig = parseAppConfig() - const storedWatchlist = JSON.parse(sessionStorage.getItem('myep-watchlist')) || [] - appendPaCode(appConfig) - initSliders() - Alpine.store('appconfig', appConfig) - Alpine.store('show', { - searchBox: false, - mobileNav: false, - modal: null, - toggleMobileNav() { - this.mobileNav = !this.mobileNav - console.log(this.mobileNav) - }, - toggleSearchBox() { - this.searchBox = !this.searchBox - } - }) - Alpine.store('watchlist', storedWatchlist) - Alpine.store('filterSettings', defaultFilterSettings) - Alpine.store('filterOptions', defaultFilterOptions) - Alpine.data('scrollTop', scrollTop) - Alpine.data('scrollTo', scrollTo) - Alpine.data('sticky', sticky) - Alpine.data('watchlistToggle', watchlistToggle) - Alpine.data('watchlistButton', watchlistButton) - Alpine.data('watchlist', watchlist) - Alpine.data('collapse', collapse) - Alpine.data('fbpixel', fbpixel) - Alpine.data('ajaxContent', ajaxContent) - Alpine.data('faq', faq) - Alpine.data('osmMap', osmMap) - Alpine.data('productDetail', productDetail) - Alpine.data('daytripDateSelect', daytripDateSelect) - Alpine.data('searchBar', searchBar) - Alpine.data('search', search) - Alpine.data('calendar', calendar) - Alpine.data('contactForm', contactForm) - Alpine.start() +const appConfig = parseAppConfig() +const storedWatchlist = JSON.parse(sessionStorage.getItem('myep-watchlist')) || [] +appendPaCode(appConfig) +initSliders() +Alpine.store('appconfig', appConfig) +Alpine.store('show', { + searchBox: false, + mobileNav: false, + modal: null, + toggleMobileNav() { + this.mobileNav = !this.mobileNav + }, + toggleSearchBox() { + this.searchBox = !this.searchBox + } +}) +Alpine.store('watchlist', storedWatchlist) +Alpine.store('filterSettings', defaultFilterSettings) +Alpine.store('filterOptions', defaultFilterOptions) +Alpine.data('scrollTop', scrollTop) +Alpine.data('scrollTo', scrollTo) +Alpine.data('sticky', sticky) +Alpine.data('watchlistToggle', watchlistToggle) +Alpine.data('watchlistButton', watchlistButton) +Alpine.data('watchlist', watchlist) +Alpine.data('collapse', collapse) +Alpine.data('fbpixel', fbpixel) +Alpine.data('ajaxContent', ajaxContent) +Alpine.data('faq', faq) +Alpine.data('osmMap', osmMap) +Alpine.data('productDetail', productDetail) +Alpine.data('daytripDateSelect', daytripDateSelect) +Alpine.data('searchBar', searchBar) +Alpine.data('search', search) +Alpine.data('calendar', calendar) +Alpine.data('contactForm', contactForm) +Alpine.start() - Glightbox({ - selector: 'data-glightbox', - slideEffect: 'fade', - }) +Glightbox({ + selector: 'data-glightbox', + slideEffect: 'fade', }) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/faq.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/faq.js index b0dc0102..c628799b 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/faq.js +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/faq.js @@ -3,7 +3,7 @@ import { debounce } from './throttle-debounce' export default () => ({ query: '', init() { - this.entries = this.$el.querySelectorAll('[x-data="collapse"]') + this.entries = this.$el.querySelectorAll('[x-data^="collapse"]') this.$watch('query', debounce(value => { if (value.length < 3) { this.entries.forEach(entry => { diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/search-bar.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/search-bar.js index 219ecfee..3a58ccbd 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/search-bar.js +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/search-bar.js @@ -11,11 +11,11 @@ export default props => ({ filterOptions: props.initialFilterOptions, datePresets: props.datePresets, show: null, - destinationName: 'Reiseziel', + destinationName: '', conceptSelected: false, destinationSelected: false, dateRangeSelected: { from: null, to: null }, - dateRangeLabel: 'Zeitraum', + dateRangeLabel: '', init() { this.$watch('dateRangeSelected', () => { if (null === this.dateRangeSelected.from && null === this.dateRangeSelected.to) { @@ -90,7 +90,7 @@ export default props => ({ this.load() }, resetDestination() { - this.destinationName = 'Reiseziel' + this.destinationName = '' this.destinationSelected = false this.conceptSelected = false this.searchParams = {...this.searchParams, destinationUid: null, destinationType: null} @@ -115,7 +115,7 @@ export default props => ({ }, priceRangeLabel() { if (null === this.searchParams.priceRange) { - return 'Preis' + return '' } let range = this.filterOptions.priceRanges[this.searchParams.priceRange] return this.priceRangeFormatted(range) @@ -132,7 +132,7 @@ export default props => ({ return min + ' - ' + max + ' €' }, updateDateRangeLabel() { - let dateRangeLabel = 'Zeitraum' + let dateRangeLabel = '' if (null !== this.dateRangeSelected.from && null !== this.dateRangeSelected.to) { let dateFrom = this.dateRangeSelected.from let dateTo = this.dateRangeSelected.to diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_rte-content.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_rte-content.scss index bca2b860..c0d3b3aa 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_rte-content.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_rte-content.scss @@ -1,11 +1,11 @@ ul { - @apply list-disc pl-4 mb-8; + @apply list-disc pl-4 mb-4; } ol { - @apply list-decimal pl-4 mb-8; + @apply list-decimal pl-4 mb-4; } p { - @apply mb-8; + @apply mb-4; } diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_searchbar.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_searchbar.scss index abeb8de4..c035bc19 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_searchbar.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_searchbar.scss @@ -2,10 +2,6 @@ @apply hidden relative lg:block lg:container lg:px-0 -mt-20 mb-8; @apply bg-gradient-to-tr from-ep-primary-light via-ep-primary-medium to-ep-primary-dark; - &--fixed { - @apply m-0 max-w-full; - } - &--sticky { @apply fixed z-50 top-0 left-0 mt-8 mb-0 inset-x-0 max-w-full shadow-lg; } diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Detail.html b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Detail.html index 5069b072..c924a129 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Detail.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Detail.html @@ -4,13 +4,13 @@ -
- +
+ diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Subpage.html b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Subpage.html index 443b86d6..4de0c4a7 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Subpage.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Subpage.html @@ -4,7 +4,7 @@ -
+
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Large.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Large.html index e2e0598a..5b06d0e5 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Large.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Large.html @@ -4,7 +4,7 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
- +
@@ -43,7 +43,7 @@
- +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Large.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Large.html index c6482286..01d40586 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Large.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Large.html @@ -4,49 +4,57 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> -
-
-
-
-
- - - {teaserImage.alternative} - - - - - -
-
Ihr habt Fragen?
Wir helfen euch gerne!
- {settings.phoneNumber} +
+ +
+
+ -
- {data.subheader} -
{data.header}
- {data.bodytext -> f:format.html()} -
- -
- - -
- - {button.container.label} - -
-
-
-
-
-
+
+
+ + {data.subheader} + + + {data.header} + +
+ {data.bodytext -> f:format.html()} +
+ +
+ + + {button.container.label} + + +
+
+
+
+ diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Faq.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Faq.html index 2db8ef2e..518bea6f 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Faq.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Faq.html @@ -1,38 +1,58 @@ -
-
-
-
-
- Häufig gestellte Fragen - -
- -
-
-
- -
- - {faq.question} - -
- {faq.answer -> f:format.html()} -
-
-
-
- - - +
+ +
+ + Häufig gestellte Fragen + + +
+ + + + +
+
+ +
+ +
+ {faq.answer -> f:format.html()}
-
+ + + +
+
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html index 00303b7c..39446c84 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html @@ -5,33 +5,31 @@ xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers"> - -
-
- - {settings.defaultTitle} - - -
- - - - - - -
+
+
+ + {settings.defaultTitle} + + +
+ + + + + +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mobilenav.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mobilenav.html index 15bf8769..937fe307 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mobilenav.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mobilenav.html @@ -3,11 +3,16 @@ xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers" xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> -
+ x-transition:enter="transition ease-out duration-300" + x-transition:enter-start="-translate-y-full" + x-transition:enter-end="translate-y-0" + x-transition:leave="transition ease-in duration-300" + x-transition:leave-start="translate-y-0" + x-transition:leave-end="-translate-y-full"> diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Search/Searchbar.html b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Search/Searchbar.html index e9cbe7c2..21a32f98 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Search/Searchbar.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Search/Searchbar.html @@ -14,24 +14,25 @@ sticky: truefalse })'> -