feat: add link sign

This commit is contained in:
eggy 2024-08-09 14:51:09 -04:00
parent b78603bd8d
commit 164d8d28d7

14
lib.typ
View File

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