Compare commits

..

No commits in common. "0d57225b8375ae90d88009de45b6ec4db29511ca" and "23fc9098276f9dddbdf03b117f2f7fd1ab8f4f82" have entirely different histories.

2 changed files with 13 additions and 18 deletions

View File

@ -1,5 +1,5 @@
#import "fontawesome.typ": fa, globe, github, linkedin, envelope
#import "lib.typ": template, work_entry, project, indent, SMALL_STRONG, DEFAULT_STRONG, render_contact_data
#import "lib.typ": template, work_entry, project, indent, SMALL_STRONG, DEFAULT_STRONG
// orange!!
#let color = blue // rgb("#ff983e")
@ -23,13 +23,7 @@
link: "mailto://d7chen@uwaterloo.ca",
),)
#show: doc => template(name, color, doc)
#align(
center,
)[*_On a scale from 110, what is your favourite colour of the alphabet?_*]
#render_contact_data(contact_data)
#show: doc => template(name, contact_data, color, doc)
// MAIN CONTENT STARTS here
@ -122,6 +116,8 @@
rate limiting as a stopgap],
[Reduced event check-in times by *80%* for *1900+ attendees* by generating
digital wallet passes over Express],
[*Led and mentored a team of 6* to ideate, scope, and deliver features for
*Canada's largest hackathon*],
),
)
]

19
lib.typ
View File

@ -106,17 +106,8 @@
[ | _ #tools _ ]
}
#let render_contact_data(data) = {
align(center)[
#let elements = for el in data {
(link(el.link)[#{ el.service + " " + el.display }],)
}
#text(1em)[#elements.join(" | ")]
]
}
// Set name and contact data and format headings
#let template(name, color, doc) = {
#let template(name, contact_data, color, doc) = {
set page(margin: PAGE_MARGINS, paper: "us-letter")
set list(indent: 1em, marker: [•])
set text(font: (BODY_FONT), BODY_FONT_SIZE)
@ -124,6 +115,14 @@
align(center)[
#text(size: TITLE_FONT_SIZE, font: TITLE_FONT, fill: color)[*#name*]
#block(above: 0em, below: 1em)
#{
if contact_data != none and contact_data.len() > 0 {
let elements = for el in contact_data {
(link(el.link)[#{ el.service + " " + el.display }],)
}
text(1em)[#elements.join(" | ")]
}
}
]
show heading.where(level: 1): i => {