Copied unchanged from public/typo3conf/ext/ of EP/website at 9593cc8631354f8a363d6609de8b7433f669a9a0 (Git-tracked files only). History stays in the old repository. Only composer.json files are added so the extensions install as path packages. Co-Authored-By: Claude Opus 5.5 <[email protected]>
69 lines
3.8 KiB
HTML
69 lines
3.8 KiB
HTML
<html data-namespace-typo3-fluid="true" lang="en"
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
|
|
|
|
<div class="herounit h-80 lg:h-96 mb-8">
|
|
<f:alias map="{headerImage: images.0}">
|
|
<f:if condition="{headerImage}">
|
|
<picture>
|
|
<source srcset="{f:uri.image(image: headerImage, width: '1370c', height: '360')}" media="(min-width: 768px)">
|
|
<source srcset="{f:uri.image(image: headerImage, width: '640c', height: '320')}" media="(max-width: 767px)">
|
|
<f:image class="block w-full h-full object-cover"
|
|
image="{headerImage}"
|
|
height="640"
|
|
alt="{headerImage.alternative}"/>
|
|
</picture>
|
|
</f:if>
|
|
</f:alias>
|
|
<div class="absolute bottom-0 left-0 inset-x-0 px-8 md:bottom-1/2 md:translate-y-1/2">
|
|
<div class="lg:container px-0">
|
|
<div class="bg-ep-primary/80 sbw:bg-sbw-primary/80 snz:bg-snz-primary/80 uch:bg-uch-primary/80 py-4 lg:py-8 px-4 mb-8 md:max-w-1/2 p-16">
|
|
<span class="block text-xl md:text-2xl font-light text-white uppercase">
|
|
{topline}
|
|
</span>
|
|
<span class="block text-2xl md:text-3xl lg:text-4xl text-white uppercase">
|
|
{headline}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<f:if condition="{headerImage.originaldescription}">
|
|
<div class="pagehead__picturecredit">{headerImage.description -> f:format.htmlspecialchars()}</div>
|
|
</f:if>
|
|
<f:if condition="{settings.showSkipassBadge} || {badge}">
|
|
<div class="herounit__badge-wrapper">
|
|
<f:if condition="{settings.showSkipassBadge}">
|
|
<f:link.typolink parameter="{settings.skipassPageUid}">
|
|
<div class="herounit__badge herounit__badge--skipass">
|
|
<p class="uppercase text-4xl font-bold leading-7 mb-2">Ski-<br>Pass</p>
|
|
<p class="uppercase">inklusive</p>
|
|
</div>
|
|
</f:link.typolink>
|
|
</f:if>
|
|
<f:if condition="{badge}">
|
|
<f:alias map="{badgeData: badge.0.data}">
|
|
<f:link.typolink parameter="{badgeData.link}">
|
|
<div class="herounit__badge herounit__badge--custom">
|
|
<svg viewBox="0 0 200 200"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
preserveAspectRatio="xMinYMin meet"
|
|
class="w-full h-full">
|
|
<circle fill="currentColor" class="text-ep-primary-dark/50" cx="100" cy="100" r="100"/>
|
|
<circle fill="currentColor" class="text-ep-primary-dark" cx="100" cy="100" r="70"/>
|
|
</svg>
|
|
<div class="absolute top-0 left-0 inset-0 flex flex-col items-center justify-center p-8">
|
|
<span class="block text-center text-white uppercase font-bold leading-none text-xl">{badgeData.title -> f:format.raw()}</span>
|
|
<f:if condition="{badgeData.subtitle}">
|
|
<span class="block text-center text-white uppercase font-bold leading-none">{badgeData.subtitle -> f:format.raw()}</span>
|
|
</f:if>
|
|
</div>
|
|
</div>
|
|
</f:link.typolink>
|
|
</f:alias>
|
|
</f:if>
|
|
</div>
|
|
</f:if>
|
|
</div>
|
|
|
|
</html>
|