From 164d8d28d7d2832228b4159e0fd48a3b9d1085e9 Mon Sep 17 00:00:00 2001 From: eggy Date: Fri, 9 Aug 2024 14:51:09 -0400 Subject: [PATCH] feat: add link sign --- lib.typ | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/lib.typ b/lib.typ index f9285ea..a17931a 100644 --- a/lib.typ +++ b/lib.typ @@ -63,29 +63,27 @@ location: none, company_link: none, ) = { - 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 _] - } + 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* #fa(link-icon)] | _#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(