added pdf viewer

This commit is contained in:
2026-03-31 23:24:23 +02:00
parent 780ad80a4c
commit fcfb020ac5
4 changed files with 316 additions and 4 deletions
+1 -4
View File
@@ -365,7 +365,7 @@ const PROJECTS = [
{
label: "",
heading: "Seminararbeit",
text: "Das Projekt entstand im Rahmen einer begleitenden Seminararbeit. Sowohl die Ausarbeitung als auch die Präsentation sind im GitHub-Repository enthalten und beschreiben die Architektur und Funktionsweise des Modells im Detail.",
text: "Das Projekt entstand im Rahmen einer begleitenden <a class=\"text-link\" href=\"pdf_viewer.html#file=Seminararbeit.pdf\">Seminararbeit</a> mit <a class=\"text-link\" href=\"pdf_viewer.html#file=\">Vortrag</a>.",
image: "images/seminararbeit.png",
}
]
@@ -426,9 +426,6 @@ class ProjectSection extends HTMLElement {
if (!p.id) return;
const tags = p.tags.map(t => `<span class="tag">${t}</span>`).join("");
const demo = p.demo
? `<a class="text-link ghost" href="${p.demo}" target="_blank">Live-Demo ↗</a>`
: "";
const blocks = (p.blocks || []).map((b, i) => {
const flip = i % 2 === 1 ? " flip" : "";