-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathposter.typ
More file actions
70 lines (63 loc) · 2.06 KB
/
poster.typ
File metadata and controls
70 lines (63 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#import "@preview/tiaoma:0.3.0"
#set page(
// paper: "presentation-16-9",
paper: "a4",
flipped: true,
fill: gradient.linear(
rgb("2bb2c5"), rgb("#2bc370"),
dir: ttb
),
margin: (top: 6em, x: 2em, bottom: 2em),
header: text(fill: white, size: 3em, weight: "bold")[school.gpul.org]
)
#set align(center + horizon)
#set text(font: "Roboto")
#show heading.where(level: 1): text.with(size: 2.4em)
#show heading.where(level: 2): text.with(size: 1.65em)
#show heading.where(level: 3): text.with(size: 1.4em)
#let data = json(bytes(sys.inputs.at("data", default: ```{
"date" : "13/12/2023",
"start": "16:00",
"end" : "17:30",
"room" : "2.12",
"name" : "Software libre que y datos abiertos en la administración pública",
"desc" : "En esta charla veremos qué pasa cuando no se utilizan estándares de datos o se utilizan incorrectamente y cómo descubrir y utilizar los datos públicos de la administración cuando no hay una API documentada. También veremos ejemplos reales de malas prácticas en webs y aplicaciones públicas.",
"logo" : "logo_bevy.svg",
"url" : "https://gpul.org/eventos/"
}```.text
)))
#{
// Parsing the date
let (day, month, year) = data.date.split("/")
data.date = datetime(
day: int(day),
month: int(month),
year: int(year)
).display("[weekday] [day] [month repr:long]")
}
#let (date, start, end, room, name, desc, logo, url) = data
#set grid.cell(stroke: 1pt + red)
#set box(stroke: 1pt + black)
#block(
fill: white,
spacing: 1em,
inset: 2em,
radius: 7%,
)[
#grid(
rows: (1.5fr, 1fr, 2fr, 90pt),
grid(columns: (15%, 1fr, 15%),
image(logo),
heading(level: 1)[#name],
image("logo_gpul.svg")
),
[ === #date, de #start a #end \ aula #room - facultade de informática],
[ == #desc ],
stack(dir: ltr, spacing: 1fr,
[],
[ === Síguenos en redes sociales: #strong("@gpul_") ],
tiaoma.qrcode(url, width: 90pt),
[],
)
)
]