{{/* Hugo Blox: Experience - 2026 Redesign */}} {{/* Documentation: https://hugoblox.com/blocks/ */}} {{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}} {{/* Initialise */}} {{ $page := .wcPage }} {{ $block := .wcBlock }} {{ $text := $block.content.text | emojify | $page.RenderString }} {{ $author := $block.content.username | default "me" }} {{ $profile := partial "functions/get_author_profile" $author }} {{ $is_education_first := $block.design.is_education_first | default false }}
{{ $experience := or $profile.experience $profile.work }} {{ if $experience }}

{{ i18n "experience" | default "Experience" }}

{{/* Timeline container */}}
{{/* Gradient timeline line */}}
{{/* Experience items */}}
{{ range $idx, $item := $experience }} {{/* Card wrapper */}}
{{/* Timeline marker */}}
{{/* Glowing dot */}}
{{ if $item.icon }} {{ partial "functions/get_icon" (dict "name" $item.icon "attributes" "class='w-4 h-4 text-primary-600 dark:text-primary-400'") }} {{else}} {{end}}
{{/* Content card */}}
{{/* Header row */}}
{{/* Role/Position */}}

{{ $item.role | default $item.position }}

{{/* Company */}}

{{ $item.org | default $item.company_name }}

{{/* Date badge */}}
{{/* Description */}} {{ with $item.summary }}
{{ . | $page.RenderString }}
{{ end }} {{/* Tags/Skills */}} {{ with $item.tags }}
{{ range . }} {{ . }} {{ end }}
{{ end }} {{/* Action button */}} {{ with $item.button }} {{ end }}
{{ end }}
{{ end }} {{ if $profile.education }}

{{ i18n "education" }}

{{/* Timeline container */}}
{{/* Gradient timeline line */}}
{{/* Education items */}}
{{ range $idx, $item := $profile.education }} {{/* Card wrapper */}}
{{/* Timeline marker */}}
{{/* Glowing dot */}}
{{ if $item.icon }} {{ partial "functions/get_icon" (dict "name" $item.icon "attributes" "class='w-4 h-4 text-secondary-600 dark:text-secondary-400'") }} {{else}} {{end}}
{{/* Content card */}}
{{/* Header row */}}
{{/* Degree */}}

{{ $item.degree | default $item.area }}

{{/* Institution */}}

{{ $item.institution }}

{{/* Date badge */}}
{{/* Description */}} {{ with $item.summary }}
{{ . | $page.RenderString }}
{{ end }} {{/* Action button */}} {{ with $item.button }} {{ end }}
{{ end }}
{{ end }}