{{ $page := .Site.GetPage "products/_index.md" }} {{ if $page }}

{{ $page.Title }}

{{ partial "components/cards/base.html" (dict "page" $page "styles" "p-0 col-span-5 md:col-span-3 text-2xl gap-4" "content" $page.Summary "cta" "See All Products" "noHeading" true "noShare" true "pStyles" "font-thin text-3xl" "footerStyles" "justify-center md:justify-end gap-4" "ctaStyles" "btn-sm btn-primary-highlight text-sm" ) }}
{{ range first 6 $page.Params.examples }} {{ $image := $page.Resources.GetMatch .image }} {{ $img := $image.Fit "640x360 webp" }} {{ $name := (replace .name " " "")}}
{{ end }}
{{ end }}
{{ $products := sort (where .Site.RegularPages "Section" "products") "Date" "desc" }} {{ $featured := first 2 $products }} {{ $rest := after 2 $products }} {{/* Render the featured products */}} {{ if gt (len $featured) 0 }} {{ partial "content/products/collections/featured.html" $featured }} {{ end }} {{/* Render a list of products */}} {{ if gt (len $rest) 0 }} {{ partial "content/products/collections/list.html" (dict "list" $rest) }} {{ end }} {{ partial "components/sections/seeMore.html" $page }}