This commit is contained in:
brooke 2025-08-13 22:29:45 -04:00
parent 15af827a75
commit 2eca399faf
9 changed files with 70 additions and 1 deletions

BIN
mir_cards/bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

58
mir_cards/card.typ Normal file
View file

@ -0,0 +1,58 @@
#let companytext(size, body, style: "normal") = text(
size: 12pt,
weight: "medium",
)[#body]
#let blurbtext(size, body, style: "normal") = text(
size: 8pt,
style: style,
weight: "light",
)[#body]
#let minimalbc(
company_name: "Company Name",
blurb: "Innovative solutions for modern businesses",
social_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(8pt)
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("fedi:", align: right),
grid.cell(social_user, align: left),
grid.cell("email:", align: right),
grid.cell(email_address, align: left),
grid.cell("web:", align: right),
grid.cell(website, align: left),
)
)
}

BIN
mir_cards/main.pdf Normal file

Binary file not shown.

11
mir_cards/main.typ Normal file
View file

@ -0,0 +1,11 @@
#import "./card.typ": minimalbc
#show: minimalbc.with(
geo_size: "us",
company_name: "MOVEMENT INFRASTRUCTURE RESEARCH",
blurb: "MIR is an R&D lab for contesting tech's role in movement repression, and unlocking its potential for real liberation.",
social_user: "mir@infosec.exchange",
email_address: "info@mirnet.org",
website: "mirnet.org",
bg_image: image("bg.png"),
)

View file

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View file

@ -1,4 +1,4 @@
#import "lib.typ": minimalbc #import "../lib/card.typ": minimalbc
#show: minimalbc.with( #show: minimalbc.with(
geo_size: "us", geo_size: "us",