_layouts/feature.html in appscms-tools-theme-0.5.1 vs _layouts/feature.html in appscms-tools-theme-0.5.2
- old
+ new
@@ -9,16 +9,21 @@
{% include header/index.html %}
{%- include dropdown/langdropdown.html -%}
<div class="flex-container">
<div class="flex-class py-4 mt-4 mt-md-0 ">
<div class="d-flex justify-content-center align-items-center"><span class="fHhdVc">
- <div class="div-cont feature-img mr-2"><svg xmlns="http://www.w3.org/2000/svg"
+ <div class="div-cont feature-img mr-2">
+ {%- if featureData.img -%}
+ <img style=width:{{featureData.imgwidth}};height:{{featureData.imgheight}}; src="{{featureData.img}}" alt="{{featureData.imgalt}}">
+ {%- else -%}
+ <svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 36 36" fill="#000">
<path
d="M6,6 L9,18 L6,30 L18,27 L30,30 L27,18 L30,6 L18,9 L6,6 Z M3,3 L18,6.75 L33,3 L29.25,18 L33,33 L18,29.25 L3,33 L6.75,18 L3,3 Z">
</path>
- </svg></div>
+ </svg>
+ {%- endif -%} </div>
</span>
<h1 class="feature-h1">{{featureData.H1 | replace: "$variable", page.value}}</h1>
</div>
<h2 class="feature-h2">{{featureData.H2 | replace: "$variable", page.value}}</h2>
</div>
@@ -30,24 +35,18 @@
<div class="d-flex flex-column">
<div class="box"
style=background:{{featureData.color}};min-height:{{featureData.height}};width:{{featureData.width}}>
<div class="box-border"></div>
<div class="content-box">
- <!-- <input type="file" id="__picker-input" multiple="" accept="application/pdf,.pdf,application/vnd.openxmlformats-officedocument.wordprocessingml.document,.docx,application/msword,.doc,application/vnd.openxmlformats-officedocument.presentationml.presentation,.pptx,application/vnd.ms-powerpoint,.ppt,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,.xlsx,application/vnd.ms-excel,.xls,image/bmp,.bmp,image/jpeg,.jpg,.jpeg,image/png,.png,image/tiff,.tif,.tiff" class="sc-1oqtgb8-0 fqzcVW"> -->
{{content}}
</div>
</div>
</div>
</div>
</div>
</div>
-
- <!-- </div> -->
</div>
- <!-- Uploader End -->
-
- <!-- Feature/Texual content start -->
<div class="container mt-4">
<div class="row px-0">
{% for data in featureData.TEXTUAL_CONTENT %}
<div class="col-lg-4 col-md-6 my-4">
<div><img class="feature-card-img" src="{{data.logoUrl}}"
@@ -79,14 +78,10 @@
</div>
</div>
</div>
</div>
</div>
-
- <!-- </div> -->
- <!-- How to section End -->
- <!-- FAQ section start -->
<div class="container">
<div class="row">
<div class="col-md-8 mx-auto">
<div class="faq">
<h2 class="feature-h1 text-center">Frequently Asked Questions</h2>
@@ -107,15 +102,11 @@
</div>
</div>
</div>
</div>
- <!-- FAQ section End -->
- <!-- Footer -->
{%- include share/socialshare.html -%}
{% include footer/index.html %}
{% include script.html %}
-
- <!-- Footer End -->
</body>
</html>
\ No newline at end of file