From b97b49b5be0715447e4f631f69891c952929b37c Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Wed, 31 Dec 2025 01:02:38 +0100 Subject: [PATCH] add qr code section to course index pages --- scripts/generate-index.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/scripts/generate-index.sh b/scripts/generate-index.sh index b9053b9..7e92d4c 100755 --- a/scripts/generate-index.sh +++ b/scripts/generate-index.sh @@ -166,6 +166,23 @@ cat > "$BUILD_DIR/index.html" << HEADER } footer a { color: $ACCENT_COLOR; text-decoration: none; } footer a:hover { text-decoration: underline; } + .qr-section { + margin-top: 2.5rem; + padding: 1.5rem; + background: #fff; + border-radius: 12px; + box-shadow: 0 1px 3px rgba(0,0,0,0.08); + text-align: center; + } + .qr-code { + width: 100%; + height: auto; + } + .qr-url { + margin-top: 0.75rem; + font-size: 0.85rem; + color: #86868b; + } @media (max-width: 600px) { .termin-card { grid-template-columns: 1fr; @@ -240,6 +257,10 @@ done cat >> "$BUILD_DIR/index.html" << FOOTER +
+ QR Code +

$SLIDES_URL

+