From 060a7e41feeac8c94270afbec8914a3b58978c0d Mon Sep 17 00:00:00 2001 From: George Cushen Date: Thu, 2 Apr 2026 20:32:52 +0100 Subject: [PATCH] fix(team-showcase): align section header with standard block pattern --- modules/blox/blox/team-showcase/block.html | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/modules/blox/blox/team-showcase/block.html b/modules/blox/blox/team-showcase/block.html index c52a4377..2c9ff89a 100644 --- a/modules/blox/blox/team-showcase/block.html +++ b/modules/blox/blox/team-showcase/block.html @@ -50,10 +50,9 @@ {{ with index $content "subtitle" }}{{ $subtitle = printf "%v" . | emojify | $page.RenderString }}{{ end }} {{ $text := "" }} {{ with index $content "text" }}{{ $text = printf "%v" . | emojify | $page.RenderString }}{{ end }} -{{ $alignClass := cond (eq $align "left") "items-start text-left" "items-center text-center" }} {{ $headerContainerClass := cond (eq $align "left") - "flex flex-col gap-4 items-start text-left w-full max-w-5xl" - "flex flex-col gap-3 items-center text-center max-w-prose mx-auto justify-center px-6" + "max-w-3xl mb-12 text-left" + "text-center max-w-3xl mx-auto mb-12" }} {{ $ctaAlignClass := cond (eq $align "left") "text-left" "text-center" }} @@ -68,21 +67,21 @@
{{/* Section Header */}} -
+
{{ with $title }} -
+

{{ . }} -

+ {{ end }} - + {{ with $subtitle }} -

+

{{ . }}

{{ end }} - + {{ with $text }} -
+
{{ . }}
{{ end }}