ShowFeatureArea.html 787 Bytes
Newer Older
Christian Knauf's avatar
Christian Knauf committed
1
2
<div class="container">
    <div class="row">
3
        <div class="{f:if(condition:'{featureArea.images}', then: 'col-md-8', else: 'col-12')}">
Christian Knauf's avatar
Christian Knauf committed
4
5
            <h1 class="">{featureArea.title}</h1>
            <f:format.html>{featureArea.description}</f:format.html>
6
7
8
            <f:if condition="{settings.featurearea}==''">
                <p><f:link.typolink parameter="{featureArea.page}" class="btn btn-primary mr-3">Features</f:link.typolink></p>
            </f:if>
Christian Knauf's avatar
Christian Knauf committed
9
        </div>
10
11
12
13
14
15
16
        <f:if condition="{featureArea.images}">
            <div class="col-md-4">
                <f:for each="{featureArea.images}" as="image">
                    <f:image class="img-fluid mb-4" image="{image}" width="600"/>
                </f:for>
            </div>
        </f:if>
Christian Knauf's avatar
Christian Knauf committed
17
18
    </div>
</div>