Update: Products

This commit is contained in:
2025-12-13 11:17:30 +01:00
parent cb55973d05
commit 72d917f6ef
12 changed files with 518 additions and 133 deletions

View File

@@ -171,46 +171,4 @@
{{ end }}
{{"<!-- download -->"| safeHTML}}
{{"<!-- pricing -->"| safeHTML}}
{{ with .Params.pricing }}
{{ if .enable }}
<section class="section section-lg-bottom">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
{{ with site.GetPage (string .section) }}
<p class="subtitle" data-aos="fade-up">{{ .Params.pricing.subtitle }}</p>
<h2 class="section-title" data-aos="fade-up" data-aos-delay="100">{{ .Params.pricing.title }}</h2>
{{ end }}
</div>
{{$show_items:= .show_items}}
{{ with site.GetPage (string .section) }}
{{ range $index, $element:= first ($show_items | default 3) .Params.pricing.pricing_table }}
{{ $delay := mul $index 200}}
<div class="col-lg-4 col-md-6 mb-lg-0 mb-4" data-aos="fade-up" data-aos-delay="{{$delay}}">
<div class="pricing-table position-relative text-center px-4 py-5 rounded-lg shadow transition bg-white">
<span
class="badge badge-pill badge-light fw-medium mb-3 py-1 rounded-4 px-4 mb-4 d-inline-block text-primary">{{
.title }}</span>
<div class="h1 text-dark">{{ .price }}<span class="paragraph text-lowercase"> / {{ .unit }}</span></div>
<h3 class="h5 mb-4 fw-normal text-color">{{ .description }}</h3>
<hr>
<ul class="list-unstyled my-4">
{{ range .services }}
<li class="my-3">{{ . }}</li>
{{ end }}
</ul>
<a href="{{ .link | safeURL }}" class="btn btn-outline-primary">Select Plan</a>
</div>
</div>
{{ end }}
{{ end }}
</div>
</div>
</section>
{{ end }}
{{"<!-- pricing -->"| safeHTML}}
{{ end }}
{{ end }}