Compare commits

...

3 Commits

Author SHA1 Message Date
eggy
715a37e7d0 feat: actually poyo 2024-05-26 15:58:13 -04:00
eggy
0d57225b83 feat: add poyo 2024-05-26 15:53:32 -04:00
eggy
0f0d498326 chore: move contact out of template 2024-05-26 15:51:40 -04:00
2 changed files with 16 additions and 13 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
#import "lib.typ": template, work_entry, project, indent, SMALL_STRONG, DEFAULT_STRONG, render_contact_data
// orange!!
#let color = blue // rgb("#ff983e")
@ -23,7 +23,11 @@
link: "mailto://d7chen@uwaterloo.ca",
),)
#show: doc => template(name, contact_data, color, doc)
#show: doc => template(name, color, doc)
#align(center)[#text(1.1em)[*_Poyo! —Kirby, Kirby Super Stars_*]]
#render_contact_data(contact_data)
// MAIN CONTENT STARTS here
@ -116,8 +120,6 @@
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,8 +106,17 @@
[ | _ #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, contact_data, color, doc) = {
#let template(name, color, doc) = {
set page(margin: PAGE_MARGINS, paper: "us-letter")
set list(indent: 1em, marker: [•])
set text(font: (BODY_FONT), BODY_FONT_SIZE)
@ -115,14 +124,6 @@
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 => {