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

View File

@ -46,6 +46,7 @@
#work_entry( #work_entry(
"Software Engineering Intern", "Software Engineering Intern",
"Magna", "Magna",
company_link: "https://magna.so",
start_date: "Sep 2024", start_date: "Sep 2024",
end_date: "Dec 2024", end_date: "Dec 2024",
location: "New York, NY", location: "New York, NY",
@ -56,6 +57,7 @@
#work_entry( #work_entry(
"Software Engineering Intern", "Software Engineering Intern",
"Immigr8", "Immigr8",
company_link: "https://immigr8now.com",
start_date: "Jan 2024", start_date: "Jan 2024",
end_date: "Apr 2024", end_date: "Apr 2024",
location: "Remote", location: "Remote",
@ -79,6 +81,7 @@
#work_entry( #work_entry(
"Software Engineering Intern", "Software Engineering Intern",
"Dropbase", "Dropbase",
company_link: "https://dropbase.io",
start_date: "May 2023", start_date: "May 2023",
end_date: "Aug 2023", end_date: "Aug 2023",
location: "Remote", location: "Remote",
@ -102,6 +105,7 @@
#work_entry( #work_entry(
"Backend Developer", "Backend Developer",
"Hack the North", "Hack the North",
company_link: "https://hackthenorth.com",
start_date: "Mar 2023", start_date: "Mar 2023",
end_date: "present", end_date: "present",
location: "Waterloo, ON", location: "Waterloo, ON",
@ -124,6 +128,7 @@
#work_entry( #work_entry(
"Software Developer", "Software Developer",
"Organization for Transformative Works", "Organization for Transformative Works",
company_link: "https://otw.org",
start_date: "Feb 2024", start_date: "Feb 2024",
end_date: "present", end_date: "present",
location: "Remote", location: "Remote",

16
lib.typ
View File

@ -61,21 +61,31 @@
start_date: none, start_date: none,
end_date: none, end_date: none,
location: none, location: none,
company_link: none,
) = { ) = {
cv_entry(left_content: { cv_entry(
left_content: {
set par(justify: true) set par(justify: true)
if company_link == none {
text(DETAILS_TITLE_FONT_SIZE)[*#company* | _#role _] 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 { 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(