LeX-logo klein rechtsonder op elke dia
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,7 @@ BEELD = {
|
||||
"flow": ("../beelden/studiecoach-flow.jpg", "/_blob/1c5f3486aa7ea647a8ee49269f3f95bf"),
|
||||
"docent": ("../beelden/studiecoach-docent-antwoord.jpg", "/_blob/244acf99a4fa9215357a5e95e1eec2f4"),
|
||||
"lex": ("../beelden/logo-lex-wit.png", "/_blob/a056bd447e5dc103fd01f7528f888bb9"),
|
||||
"lexkleur": ("../beelden/logo-lex.png", "/_blob/042fe916c9a2622daf445ddb6d0bd222"),
|
||||
}
|
||||
def beeld(naam): return BEELD[naam][1 if ARTIFACT else 0]
|
||||
EIGENAAR = "Guido van Dijk, LeX Consultancy B.V. en AI Netwerk Limburg"
|
||||
@@ -33,6 +34,10 @@ def slide(id_, body, bg=LIGHT, color=DARK, pad="128px 128px 160px", extra="displ
|
||||
fcol = "#8A8F98" if bg in (LIGHT, LIGHT2) else "#9AA3B1"
|
||||
notes = NOTITIES.get(id_, notes)
|
||||
foot = f'<p style="position:absolute; left:128px; bottom:64px; font-size:24px; color:{fcol}">Workshop AI Agents met Dify · LeX Consultancy · AI Netwerk Limburg · CC BY-SA 4.0</p>' if footer else ""
|
||||
# Klein LeX-logo rechtsonder op elke dia; wit op donkere dia's, kleur op lichte.
|
||||
lexlogo = beeld("lexkleur") if bg in (LIGHT, LIGHT2) else beeld("lex")
|
||||
if footer: # cover en slot hebben het logo al bovenaan
|
||||
foot += f'<img src="{lexlogo}" alt="LeX Consultancy" style="position:absolute; right:128px; bottom:52px; width:90px; height:52px; object-fit:contain">'
|
||||
html = (f'<section id="{id_}" data-transition="{transition}" style="background:{bg}; color:{color}; font-family:{T}; padding:{pad}; {extra}">\n'
|
||||
f'{body}\n{foot}\n<aside>{notes}</aside>\n</section>\n')
|
||||
(S / f"{id_}.html").write_text(html, encoding="utf-8"); order.append(id_)
|
||||
|
||||
Reference in New Issue
Block a user