feat: add company links

This commit is contained in:
eggy
2024-08-09 14:49:08 -04:00
parent 2bdeeb3deb
commit b78603bd8d
2 changed files with 28 additions and 13 deletions

36
lib.typ
View File

@@ -61,21 +61,31 @@
start_date: none,
end_date: none,
location: none,
company_link: none,
) = {
cv_entry(left_content: {
set par(justify: true)
text(DETAILS_TITLE_FONT_SIZE)[*#company* | _#role _]
cv_entry(
left_content: {
set par(justify: true)
if company_link == none {
text(DETAILS_TITLE_FONT_SIZE)[*#company* | _#role _]
} else {
// size is DETAILS_TITLE_FONT_SIZE
text(DETAILS_TITLE_FONT_SIZE)[#link(company_link)[*#company*] | _#role _]
}
if tools != none {
set strong(delta: SMALL_STRONG)
text[ | *#tools* ]
}
}, right_content: {
[_#start_date -- #end_date _]
// if location != none {
// format_location(location)
// }
}, details: tasks)
if tools != none {
set strong(delta: SMALL_STRONG)
text[ | *#tools* ]
}
},
right_content: {
[_#start_date -- #end_date _]
// if location != none {
// format_location(location)
// }
},
details: tasks,
)
}
#let project(