Page for demos (#44)

* demo page with placeholder content

* added a link on the new page to the main menu

* real data for the demo page

* padding

* corrected text

* moved a demo page to the product submenu

* demo -> demos
This commit is contained in:
trean
2022-06-14 18:39:38 +02:00
committed by GitHub
parent d5b89ff1c7
commit a20cdc6bdd
15 changed files with 97 additions and 5 deletions
@@ -0,0 +1,36 @@
{{ define "main" }}
{{ range $i,$p := where .Data.Pages "Section" "demo" }}
<section class="api-section mt-0 mt-md-5 mb-5">
<div class="auto-container mt-md-5">
<div class="row clearfix align-content-center align-items-center pt-4 pt-md-0 mb-4 mb-md-5">
<!-- Content Column -->
<div class="content-column col-lg-6 col-md-12 col-sm-12 order-1
{{if not (modBool $i 2)}} order-md-2{{ else }} order-md-0{{ end }}">
<div class="inner-column pt-4 pt-lg-0">
<!-- Sec Title -->
<div class="sec-title">
<h2>{{ $p.Title }}</h2>
<div class="text">{{ $p.Description }}</div>
</div>
<a class="theme-btn btn-style-four" href="{{ $p.Params.link }}" target="_blank"><span class="txt">Live Demo</span></a>
</div>
</div>
<!-- Image Column -->
<div class="image-column col-lg-6 col-md-12 col-sm-12 order-0 order-md-1 mb-0">
<div class="inner-column parallax-scene-2">
<div data-depth="0.30" class="image border">
<img src="{{ $p.Params.preview_image }}" alt=""/>
</div>
</div>
</div>
</div>
</div>
</section>
{{ end }}
{{ end }}