diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss index 3362624f..17e7b6f8 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss @@ -26,6 +26,13 @@ @apply suz:hover:bg-suz-primary-dark; @apply uch:hover:bg-uch-primary-dark; @apply ser:hover:bg-ser-primary; + @apply peer-hover:bg-ep-secondary; + @apply peer-hover:text-gray-900; + @apply sbw:peer-hover:bg-sbw-primary-dark; + @apply snz:peer-hover:bg-snz-primary-dark; + @apply suz:peer-hover:bg-suz-primary-dark; + @apply uch:peer-hover:bg-uch-primary-dark; + @apply ser:peer-hover:bg-ser-primary; &--active, &--secondary { diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html index 9cd64247..e993f9eb 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html @@ -4,7 +4,7 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - +
{ep:icon(icon: 'flag-{city.country.code -> f:format.case(mode: \'lower\')}', class: 'w-8 h-6 absolute top-0 left-0')} @@ -34,17 +34,19 @@
-
- +
+ {city.name} - - {city.teaser -> f:format.crop(maxCharacters: settings.teaserTextMaxChars) -> f:format.html()} + + +
+ {city.teaser -> f:format.crop(maxCharacters: settings.teaserTextMaxChars) -> f:format.html()} +
+
+ {f:translate(key: 'tx_eptheme.label.teaserbutton.default', extensionName: 'ep_theme')} +
- - +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/Teaser.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/Teaser.html index a6db2b72..b218ac06 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/Teaser.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/Teaser.html @@ -4,7 +4,7 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - +
{ep:icon(icon: 'flag-{hotel.country.code -> f:format.case(mode: \'lower\')}', class: 'w-8 h-6 absolute top-0 left-0')} @@ -25,27 +25,29 @@
-
- +
+ {hotel.name -> f:format.nl2br()} - + + Kategorie {hotel.category} - {hotel.teaser -> f:format.crop(maxCharacters: settings.teaserTextMaxChars) -> f:format.html()} - - - {f:if(condition: '{hotel.available} > 0', then: 'ab {hotel.minPrice} €', else: 'aktuell nicht buchbar')} - - +
+ {hotel.teaser -> f:format.crop(maxCharacters: settings.teaserTextMaxChars) -> f:format.html()} + + + {f:if(condition: '{hotel.available} > 0', then: 'ab {hotel.minPrice} €', else: 'aktuell nicht buchbar')} + + +
+
+ {f:translate(key: 'tx_eptheme.label.teaserbutton.default', extensionName: 'ep_theme')} +
- - +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/News/List/Item.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/News/List/Item.html index d58a5b9f..a526320a 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/News/List/Item.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/News/List/Item.html @@ -4,8 +4,8 @@
-
- +
+
@@ -26,13 +26,14 @@ - +
-

- + +

{newsItem.title} - -

+

+ +

{newsItem.author} am @@ -57,9 +58,9 @@

- +
- +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Teaser.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Teaser.html index 35870f27..e76982f9 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Teaser.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Teaser.html @@ -4,7 +4,7 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - +
{ep:icon(icon: 'flag-{region.country.code -> f:format.case(mode: \'lower\')}', class: 'w-8 h-6 absolute top-0 left-0')} @@ -34,17 +34,19 @@
-
- +
+ {region.name} - - {region.teaser -> f:format.crop(maxCharacters: settings.teaserTextMaxChars) -> f:format.html()} + + +
+ {region.teaser -> f:format.crop(maxCharacters: settings.teaserTextMaxChars) -> f:format.html()} +
+
+ {f:translate(key: 'tx_eptheme.label.teaserbutton.default', extensionName: 'ep_theme')} +
- - +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/OneColumn.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/OneColumn.html index 8a491f44..5c8e237b 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/OneColumn.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/OneColumn.html @@ -4,31 +4,31 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - +
{ep:icon(icon: 'flag-{context.country.code -> f:format.case(mode: \'lower\')}', class: 'w-8 h-6 absolute top-0 left-0')} + loaderimg="EXT:ep_theme/Resources/Public/images/lazy.png" + class="block w-full h-full object-cover" + width="400c" + height="300c" + alt="{teaserImage.alternative}" />
-
- +
+ {data.header -> f:format.nl2br()}{f:if(condition: data.subheader, then: '
{data.subheader}')} - -
+ + +
{data.bodytext -> f:format.html()}
+
+ {data.button -> v:or(alternative: 'Details')} +
- - +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/TwoColumn.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/TwoColumn.html index bcfc90a7..0bf16d1b 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/TwoColumn.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/TwoColumn.html @@ -4,22 +4,24 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - +
-
- +
+ {data.header -> f:format.nl2br()}{f:if(condition: data.subheader, then: '
{data.subheader}')} - + +

- {data.bodytext -> f:format.html()} +
+ {data.bodytext -> f:format.html()} +
- - +
+