Presentatie: optionele begeleidersnotities via --notities (bestand blijft buiten git); script voor testopname met drie stemmen bij 05
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -8,3 +8,4 @@ __pycache__/
|
||||
# Lokaal gereedschap, niet voor de uitgave
|
||||
_gereedschap/extract.py
|
||||
NOTITIES-intern.md
|
||||
00-presentatie/notities-begeleider.json
|
||||
|
||||
@@ -9,6 +9,11 @@ from pathlib import Path
|
||||
HERE = Path(__file__).resolve().parent
|
||||
P = HERE / "project"; S = P / "slides"; S.mkdir(parents=True, exist_ok=True)
|
||||
ARTIFACT = "--artifact" in sys.argv
|
||||
# Uitgebreide begeleidersnotities (privé, niet in git): notities-begeleider.json naast dit script,
|
||||
# per dia-id een tekst die de sprekersnotitie vervangt. Alleen gebruikt met --notities.
|
||||
NOTITIES = {}
|
||||
if "--notities" in sys.argv:
|
||||
NOTITIES = json.loads((HERE / "notities-begeleider.json").read_text(encoding="utf-8"))
|
||||
BEELD = {
|
||||
"logo": ("../beelden/logo-ai-netwerk-limburg.png", "/_blob/120fdff17b59f8e1cc380d9086a1ad9f"),
|
||||
"afgekeurd": ("../beelden/schoolnieuws-afgekeurd.jpg", "/_blob/9b09f7c211d54f2d5c5b5bdaa2b69fae"),
|
||||
@@ -26,6 +31,7 @@ LOGO=beeld("logo")
|
||||
order=[]; sections={}
|
||||
def slide(id_, body, bg=LIGHT, color=DARK, pad="128px 128px 160px", extra="display:flex; flex-direction:column; gap:40px", notes="", section=None, transition="fade", footer=True):
|
||||
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 ""
|
||||
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')
|
||||
|
||||
Reference in New Issue
Block a user