feat: lineup element on TYPO3 13
Restored from a46918d, TCA ported to TYPO3 13; markup matches TYPO3 10.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
a042eff41d
commit
ad4089ae16
4 files changed
+357
No files matched your search
@@ -0,0 +1,71 @@
|
||||
<html data-namespace-typo3-fluid="true" lang="en"
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"
|
||||
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers">
|
||||
|
||||
<f:layout name="Default" />
|
||||
|
||||
<f:section name="Main">
|
||||
<div class="max-w-screen-xl mx-auto">
|
||||
<f:for each="{items}" as="item" iteration="iteration">
|
||||
<div class="lg:flex odd:flex-row-reverse justify-between items-end mb-16">
|
||||
<div class="mb-4 lg:mb-0 lg:w-1/2">
|
||||
<f:image image="{item.image.0}"
|
||||
loading="lazy"
|
||||
class="block w-full h-auto"
|
||||
width="768"
|
||||
alt="{item.data.name}"/>
|
||||
</div>
|
||||
<div class="lg:w-1/2">
|
||||
<div class="px-4 {f:if(condition: iteration.isEven, then: 'lg:pl-12', else: 'lg:pr-12')}">
|
||||
<span class="headline headline--secondary headline--underlined">
|
||||
{item.data.name -> f:format.raw()}
|
||||
</span>
|
||||
<div data-rte-content>
|
||||
{item.data.description -> f:format.html()}
|
||||
</div>
|
||||
<div class="flex items-center space-x-6">
|
||||
<f:if condition="{item.data.facebook_url}">
|
||||
<a href="{item.data.facebook_url}" target="_blank" title="{item.data.name} bei Facebook">
|
||||
<svg class="w-8 h-8 {ep:themeClasses(classes: '{sbw: \'text-sbw-primary\', snz: \'text-snz-primary\', suz: \'text-suz-primary\', uch: \'text-uch-primary\'}', key: settings.themekey)}">
|
||||
<use href="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg')}#icon-facebook"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</f:if>
|
||||
<f:if condition="{item.data.twitter_url}">
|
||||
<a href="{item.data.twitter_url}" target="_blank" title="{item.data.name} bei Twitter">
|
||||
<svg class="w-8 h-8 {ep:themeClasses(classes: '{sbw: \'text-sbw-primary\', snz: \'text-snz-primary\', suz: \'text-suz-primary\', uch: \'text-uch-primary\'}', key: settings.themekey)}">
|
||||
<use href="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg')}#icon-twitter"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</f:if>
|
||||
<f:if condition="{item.data.instagram_url}">
|
||||
<a href="{item.data.instagram_url}" target="_blank" title="{item.data.name} bei Instagram">
|
||||
<svg class="w-8 h-8 {ep:themeClasses(classes: '{sbw: \'text-sbw-primary\', snz: \'text-snz-primary\', suz: \'text-suz-primary\', uch: \'text-uch-primary\'}', key: settings.themekey)}">
|
||||
<use href="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg')}#icon-instagram"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</f:if>
|
||||
<f:if condition="{item.data.youtube_url}">
|
||||
<a href="{item.data.youtube_url}" target="_blank" title="{item.data.name} bei YouTube">
|
||||
<svg class="w-8 h-8 {ep:themeClasses(classes: '{sbw: \'text-sbw-primary\', snz: \'text-snz-primary\', suz: \'text-suz-primary\', uch: \'text-uch-primary\'}', key: settings.themekey)}">
|
||||
<use href="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg')}#icon-youtube"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</f:if>
|
||||
<f:if condition="{item.data.soundcloud_url}">
|
||||
<a href="{item.data.soundcloud_url}" target="_blank" title="{item.data.name} bei Soundcloud">
|
||||
<svg class="w-8 h-8 {ep:themeClasses(classes: '{sbw: \'text-sbw-primary\', snz: \'text-snz-primary\', suz: \'text-suz-primary\', uch: \'text-uch-primary\'}', key: settings.themekey)}">
|
||||
<use href="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg')}#icon-soundcloud"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</f:if>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</f:for>
|
||||
</div>
|
||||
</f:section>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user