diff --git a/cards/bg.png b/cards/bg.png new file mode 100644 index 0000000..735bb72 Binary files /dev/null and b/cards/bg.png differ diff --git a/cards/lib.typ b/cards/lib.typ new file mode 100644 index 0000000..b5c9251 --- /dev/null +++ b/cards/lib.typ @@ -0,0 +1,59 @@ +#let companytext(size, body, style: "normal") = text( + size: size, + style: style, + weight: "medium", +)[#body] + +#let blurbtext(size, body, style: "normal") = text( + size: size, + style: style, + weight: "light", +)[#body] + +#let minimalbc( + company_name: "Company Name", + blurb: "Innovative solutions for modern businesses", + signal_user: "user.101", + email_address: "me@me.com", + website: "example.com", + bg_image: none, + geo_size: "eu", + body, +) = { + set text(font: "Pixelify Sans") + set text(9pt) + let pz = geo_size + "-business-card" + + set page(paper: pz, fill: white) + + if bg_image != none { + place(bg_image) + } + + grid( + columns: 100%, + rows: (50%, 10%, 35%), + gutter: 0.5mm, + grid( + columns: 100%, + rows: (40%, 20%, 40%), + gutter: 0mm, + companytext(14pt, company_name), + [], + grid.cell(colspan: 1, blurbtext(10pt, blurb)), + ), + [], + grid( + columns: (12%, 88%), + rows: (33%, 33%, 34%), + align: bottom + left, + gutter: 0.5mm, + grid.cell("signal:", align: right), + grid.cell(signal_user, align: left), + grid.cell("email:", align: right), + grid.cell(email_address, align: left), + grid.cell("web:", align: right), + grid.cell(website, align: left), + ) + ) +} diff --git a/cards/main.pdf b/cards/main.pdf new file mode 100644 index 0000000..372f824 Binary files /dev/null and b/cards/main.pdf differ diff --git a/cards/main.typ b/cards/main.typ new file mode 100644 index 0000000..c2755ef --- /dev/null +++ b/cards/main.typ @@ -0,0 +1,11 @@ +#import "lib.typ": minimalbc + +#show: minimalbc.with( + geo_size: "us", + company_name: "Myco Systems", + blurb: "Send us a cool message and we'll get back to you d-(´▽`)-b", + signal_user: "Myco.100", + email_address: "contact@myco.systems", + website: "myco.systems", + bg_image: image("bg.png"), +) diff --git a/cards/tiled.pdf b/cards/tiled.pdf new file mode 100644 index 0000000..c44b026 Binary files /dev/null and b/cards/tiled.pdf differ