diff --git a/public/typo3conf/ext/ep_theme/Configuration/TCA/tx_eptheme_domain_model_slide.php b/public/typo3conf/ext/ep_theme/Configuration/TCA/tx_eptheme_domain_model_slide.php index f500f2ff..feb6982d 100644 --- a/public/typo3conf/ext/ep_theme/Configuration/TCA/tx_eptheme_domain_model_slide.php +++ b/public/typo3conf/ext/ep_theme/Configuration/TCA/tx_eptheme_domain_model_slide.php @@ -196,15 +196,15 @@ return [ 'value' => 1.79069767, ], 'sliderProductHeader' => [ - 'title' => 'Slider Produkt Header', + 'title' => 'Slider Produkt-Header', 'value' => 1.625, ], 'sliderPageHeader' => [ - 'title' => 'Slider Seiten Header', + 'title' => 'Slider Seiten-Header', 'value' => 3.805, ], 'sliderPageHeaderHome' => [ - 'title' => 'Slider Seiten Header Startseite', + 'title' => 'Slider Seiten-Header Startseite', 'value' => 2.342, ], 'free' => [ @@ -213,6 +213,19 @@ return [ ], ], ], + 'mobile' => [ + 'title' => 'Mobile', + 'allowedAspectRatios' => [ + 'sliderPageHeader' => [ + 'title' => 'Slider Seiten-Header', + 'value' => 1, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], ], ], ], diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_herounit.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_herounit.scss index f8d69be8..3366134f 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_herounit.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_herounit.scss @@ -1,23 +1,5 @@ .herounit { @apply relative w-full overflow-hidden; - height: 400px; - @screen md { - height: 430px; - } - @screen lg { - @apply container-wide; - height: 580px; - } - &--event { - @apply h-auto; - } -} - -.herounit__image { - height: 300px; - @screen md { - @apply h-full; - } } .herounit__badge { @@ -48,39 +30,5 @@ top: 75px; right: 20%; } - - .herounit--event & { - width: 100px; - height: 100px; - top: 2px; - right: 8px; - left: auto; - z-index: 10; - - .custom-badge__title { - font-size: 12px; - } - .custom-badge__subtitle { - font-size: 10px; - } - - @screen md { - width: 200px; - height: 200px; - - .custom-badge__title { - font-size: 24px; - } - .custom-badge__subtitle { - font-size: 18px; - } - } - - @screen lg { - display: block; - top: 180px; - right: 20%; - } - } } } diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/EventHero.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/EventHero.html index dc22dec2..c8ffc7e1 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/EventHero.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/EventHero.html @@ -3,61 +3,61 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
-
-
-