feat: Make good art (with Typst) #20

Open
doomhammer wants to merge 4 commits from make-good-art into main
Showing only changes of commit 31d7c67783 - Show all commits

View file

@ -1,3 +1,5 @@
#import "@preview/cades:0.3.1": qr-code
#set page(
paper: "a4",
background: context {
@ -10,15 +12,28 @@
#set text(fill: white)
#let pat = tiling(size: (30pt, 30pt))[
#place(line(start: (0%, 0%), end: (100%, 100%), stroke: white))
#place(line(start: (0%, 100%), end: (100%, 0%), stroke: white))
]
#place(
top+left,
dx: 8mm,
dy: -14mm,
image("assets/hs3_logo_hires.png", height: 58mm, width: 58mm),
)
#place(
top+left,
dx: 13mm,
dy: 145mm,
qr-code("https://hs3.pl", width: 32mm)
)
#let add_event(number, title, description, date, address) = {
let ex = 85mm + calc.rem-euclid(number, 2) * 67mm
let ey = 46mm + calc.div-euclid(number, 2) * 76mm
set text(
font: ("Hanken Grotesk"),
)
place(
top+left,
dx: ex,
@ -30,11 +45,7 @@
[
#block(
height: 14mm,
clip: true,
text(
font: ("Hanken Grotesk"),
title
)
title
)
#move(dy: 4mm,
block(
@ -43,7 +54,7 @@
text(weight: "bold", size: 9pt, date)
)
)
#move(dy: 11mm,
#move(dy: 10mm,
block(
height: 12mm,
clip: true,