{{ define "main" }} {{ $manifestoPath := cond (eq .Site.Language.Lang "fr") "manifeste" "manifesto" }} {{ $projectsPath := cond (eq .Site.Language.Lang "fr") "projets" "projects" }} {{ $joinPath := cond (eq .Site.Language.Lang "fr") "devenir-membre" "become-member" }}

{{ .Params.hero.kicker }}

{{ .Params.hero.titleLine1 }}
{{ .Params.hero.titleLine2 }}
{{ .Params.hero.titleLine3 }}

{{ partial "brand-highlight.html" .Params.hero.subtitle }}

{{ .Params.whyJoin.title }}

{{ partial "brand-highlight.html" .Params.whyJoin.intro }}

{{ range .Params.whyJoin.cards }}
{{ .icon }}

{{ .title }}

{{ partial "brand-highlight.html" .text }}

{{ end }}

{{ .Params.pillars.title }}

{{ range $index, $item := .Params.pillars.items }} {{ $bgColorClass := cond (eq $index 0) "bg-green-50" (cond (eq $index 1) "bg-green-100" "bg-green-200") }} {{ $borderColorClass := cond (eq $index 0) "border-green-600" (cond (eq $index 1) "border-green-700" "border-green-800") }} {{ $textColorClass := cond (eq $index 0) "text-green-600" (cond (eq $index 1) "text-green-700" "text-green-800") }}
{{ add $index 1 }}

{{ $item.title }}

{{ $item.text }}

{{ end }}

{{ .Params.projects.title }}

{{ partial "brand-highlight.html" .Params.projects.intro }}

{{ range .Params.projects.items }} {{ $statusColor := cond (eq .status "Production") "bg-green-200 text-green-900" (cond (eq .status "Incubation") "bg-amber-200 text-amber-900" "bg-slate-200 text-slate-800") }}
{{ .status }}

{{ .name }}

{{ partial "brand-highlight.html" .text }}

{{ .cta }} →
{{ end }}

{{ .Params.members.title }}

{{ partial "brand-highlight.html" .Params.members.subtitle }}

{{ range .Params.members.categories }}

{{ .label }}

{{ .title }}

{{ partial "brand-highlight.html" .text }}

{{ .cta }}
{{ end }}
{{ end }}