Showing Abner changes

This commit is contained in:
2024-10-25 19:41:18 -07:00
parent abd3cf86b7
commit b3426ec6d8
16 changed files with 460 additions and 115 deletions

View File

@@ -69,6 +69,11 @@
{{ partial "components/testimonials.html" . }}
{{ end }}
<!-- testimonials -->
<!-- people_grid -->
{{ if .img_grid }}
{{ partial "components/people_grid.html" . }}
{{ end }}
<!-- people_grid -->
<!-- img_grid -->
{{ if .img_grid }}
{{ partial "components/img_grid.html" . }}
@@ -110,9 +115,15 @@
{{ if .image }}
{{ $res := resources.Get .image }}
{{ if .image_link }}
<a href="{{ .image_link }}">
{{ end }}
<img loading="lazy" decoding="async" src="{{ $res.RelPermalink }}"
class="img w-[384px] h-[384px] object-cover w-full h-auto {{ .image_class }} ">
{{ end }}
{{ if .image_link }}
</a>
{{ end }}
</div>
<div class="{{ if eq $tick 0 }}
md:order-1

View File

@@ -0,0 +1,11 @@
{{ with .Params.newsletter_signup }}
{{ if .active }}
<div class="mb-8 {{ .section_class }}">
<h5 class="{{ .title_class }}">{{ .title }}</h5>
<form action="{{ .action_url }}" method="POST" class="{{ .form_class }}">
<input type="email" class="{{ .input_class}}" id="email" name="email" placeholder="{{ .input_placeholder }}" required="" />
<button type="submit" class="{{ .button_class }}">{{ .button_text }}</button>
</form>
</div>
{{ end }}
{{ end }}

View File

@@ -0,0 +1,17 @@
{{ if .people_grid }}
<div class="container relative mx-auto px-4">
<div class="flex flex-wrap justify-center mx-auto lg:w-full md:w-5/6">
{{ range $i, $option := .people_grid.people }}
<div class="w-1/2 md:w-1/3 p-2">
<div class="flex justify-center items-center w-full">
<a href="{{ $option.link }}" class="relative align-center" target="_blank" rel="noopener noreferrer"
title="{{ $option.name }}">
{{ $imgres := .resources.Get $option.icon }}
<img class="max-w-24 align-center" src="{{ $option.icon }}" alt="{{ .Item.Name }}">
</a>
</div>
</div>
{{ end }}
</div>
</div>
{{ end }}

View File

@@ -7,7 +7,7 @@
<h4 class="text-xl {{ $ticket.subtitle_class }}">{{ $ticket.subtitle }}</h2>
{{/* <div class="columns-3s"> */}}
<div id="pricing"
class="grid grid-cols-1 gap-4 mt-4 leading-7 text-gray-900 border-0 border-gray-200 sm:mt-6 sm:gap-6 md:mt-8 md:gap-4 lg:grid-cols-3 {{ $ticket.section_class }}">
class="grid grid-cols-1 gap-4 mt-4 leading-7 text-gray-900 border-0 border-gray-200 sm:mt-6 sm:gap-6 md:mt-8 md:gap-4 lg:grid-cols-2 {{ $ticket.section_class }}">
{{ range $option_index, $option := $ticket.options }}
<!-- Ticket options -->
@@ -34,7 +34,7 @@
</ul>
</div> */}}
<div class="relative z-10 flex flex-col items-center max-w-md p-4 mx-auto my-0 border border-solid rounded-lg sm:my-0 sm:p-6 md:my-4 md:p-6">
<div class="relative z-10 flex flex-col items-center max-w-md p-4 mx-auto my-0 border border-solid {{ $option.ticket_class }} rounded-lg sm:my-0 sm:p-6 md:my-4 md:p-6">
<p class="m-0 text-lg leading-tight tracking-tight border-0 border-gray-200 {{ $option.name_class }}">
{{ $option.name | markdownify }}
</p>
@@ -55,8 +55,8 @@
</div>
<ul class="flex-1 p-0 mt-4 leading-7 text-gray-900 border-0 border-gray-200 {{ $option.features_class }}">
{{ range $feature_index, $feature := $option.features }}
<li class="inline-flex items-center block w-full mb-2 font-semibold text-left border-solid">
<span class="{{ $feature.text_class }}">{{ $feature.text }}</span>
<li class="inline-flex items-center block w-full mb-2 text-left border-solid">
<span class="{{ $feature.text_class }} text-center w-full">{{ $feature.text }}</span>
</li>
{{ end }}
</ul>