Modify positioning for work experience heading

This commit is contained in:
Ethan Reece 2025-05-18 22:43:24 -05:00
parent 49243fd99e
commit a06ad8aaab
Signed by: me
GPG key ID: 198E9EB433DB1B28
7 changed files with 38 additions and 9 deletions

View file

@ -5,6 +5,7 @@
title: "",
subtitle: "",
role: "",
role_subtitle: "",
timeframe: "",
skills: (""),
highlights: (""),

View file

@ -2,6 +2,7 @@
title: "",
subtitle: "",
role: "",
role_subtitle: "",
timeframe: "",
skills: (""),
highlights: (""),
@ -15,6 +16,7 @@
title: title,
subtitle: subtitle,
role: role,
role_subtitle: role_subtitle,
timeframe: timeframe,
skills: skills,
),

View file

@ -2,6 +2,7 @@
title: "",
subtitle: "",
role: "",
role_subtitle: "",
timeframe: "",
skills: (""),
) = {
@ -23,7 +24,10 @@
subtitle: subtitle,
),
section_base_item_heading_timeframe(timeframe: timeframe),
section_base_item_heading_role(role: role),
section_base_item_heading_role(
title: role,
subtitle: role_subtitle,
),
section_base_item_heading_skills(skills: skills),
)
}

View file

@ -1,5 +1,15 @@
#let section_base_item_heading_role(role: "") = text(
weight: "light",
size: .9em,
role
)
#let section_base_item_heading_role(
title: "",
subtitle: "",
) = {
import "role/main.typ": section_base_item_heading_role_main
import "role/subtitle.typ": section_base_item_heading_role_subtitle
grid(
columns: 2,
gutter: 1.5em,
align: bottom,
section_base_item_heading_role_main(title: title),
section_base_item_heading_role_subtitle(subtitle: subtitle),
)
}

View file

@ -0,0 +1,5 @@
#let section_base_item_heading_role_main(title: "") = text(
weight: "light",
size: .9em,
title
)

View file

@ -0,0 +1,7 @@
#let section_base_item_heading_role_subtitle(
subtitle: "",
) = text(
size: .85em,
weight: "extralight",
subtitle
)

View file

@ -15,10 +15,10 @@
section_base_full(
title: "Work Experience",
items: work_experience.map(company => (
title: company.title,
subtitle: company.location,
title: company.role,
timeframe: company.timeframe,
role: company.role,
role: company.title,
role_subtitle: company.location,
skills: company.skills,
highlights: company.highlights,
)),