diff --git a/modules/blox-tailwind/blox/resume-biography-3/block.html b/modules/blox-tailwind/blox/resume-biography-3/block.html index 2ba608d1..2ee9aefc 100644 --- a/modules/blox-tailwind/blox/resume-biography-3/block.html +++ b/modules/blox-tailwind/blox/resume-biography-3/block.html @@ -15,13 +15,15 @@ {{ $avatar_shape := $block.design.avatar.shape | default "circle" }} {{/* Profile name typography */}} -{{ $name_size := $block.design.name.size | default "balanced" }} +{{ $name_size := $block.design.name.size | default "lg" }} {{ $name_class_map := dict - "compact" "text-3xl sm:text-4xl lg:text-5xl" - "balanced" "text-4xl sm:text-5xl lg:text-6xl" - "display" "text-5xl sm:text-6xl lg:text-7xl" + "xs" "text-xl sm:text-2xl lg:text-3xl" + "sm" "text-2xl sm:text-3xl lg:text-4xl" + "md" "text-3xl sm:text-4xl lg:text-5xl" + "lg" "text-4xl sm:text-5xl lg:text-6xl" + "xl" "text-5xl sm:text-6xl lg:text-7xl" }} -{{ $name_class := index $name_class_map $name_size | default (index $name_class_map "balanced") }} +{{ $name_class := index $name_class_map $name_size | default (index $name_class_map "lg") }} {{/* Size mappings optimized for 2025 standards: display_size -> [display_px, generation_px] */}} {{ $size_map := dict "small" (slice "150" "300") "medium" (slice "200" "400") "large" (slice "320" "640") "xl" (slice "400" "800") "xxl" (slice "500" "1000") }} @@ -188,12 +190,18 @@
{{ $degree := .degree | default .area }} - {{ $year := .year | default (cond (and .start .end) (printf "%s - %s" .start .end) .start) }}

{{ $degree }}

- {{ with $year }}

{{ . }}

{{ end }} -

{{ .institution }}

+ {{ if .year }} +

{{ .year }}

+ {{ else if .start }} +

+ {{ .start }} + {{ if .end }}
{{ .end }}{{ end }} +

+ {{ end }} +

{{ .institution }}

diff --git a/modules/blox-tailwind/blox/resume-biography-3/schema.json b/modules/blox-tailwind/blox/resume-biography-3/schema.json index 1d332a7c..6843c26a 100644 --- a/modules/blox-tailwind/blox/resume-biography-3/schema.json +++ b/modules/blox-tailwind/blox/resume-biography-3/schema.json @@ -113,9 +113,9 @@ "properties": { "size": { "type": "string", - "enum": ["compact", "balanced", "display"], + "enum": ["xs", "sm", "md", "lg", "xl"], "description": "Heading size for the profile name to suit different name lengths", - "default": "balanced" + "default": "lg" } } } diff --git a/templates/academic-cv/content/_index.md b/templates/academic-cv/content/_index.md index 8301fcdd..5d70dc68 100644 --- a/templates/academic-cv/content/_index.md +++ b/templates/academic-cv/content/_index.md @@ -30,7 +30,7 @@ sections: # Name heading sizing to accommodate long or short names name: - size: compact # Options: compact (long names), balanced (default), display (short names) + size: md # Options: xs, sm, md, lg (default), xl # Avatar customization avatar: