UNPKG

tw-runner

Version:

Run and manage Tower Website projects with this utility.

26 lines (25 loc) 867 B
<div class="grid gap-6"> {{ if .title }} <header class="flex justify-center md:justify-between"> <h2 class="text-center font-extralight mt-8">{{ .title }}</h2> </header> {{ end }} <ul class="grid gap-4 sm:grid-cols-2 sm:grid-flow-row"> {{ range .list }} <li class="box box-md box-pop box-white grid grid-cols-5 gap-4 h-[11rem]"> <div class="overflow-hidden box p-0 col-span-2 relative"> {{ partial "image/image-local.html" (dict "page" . "alt" "unique image" "styles" "absolute inset-0 w-full h-full object-cover") }} </div> {{ partial "components/cards/base.html" (dict "page" . "styles" "col-span-3 p-0" "cta" "Read More" "ctaStyles" "btn-sm text-sm" ) }} </li> {{ end }} </ul> {{ if .index }} {{ partial "components/sections/seeMore.html" .index }} {{ end }} </div>