diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..ee922e3 --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,16 @@ +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: https://git.madhouse-project.org/actions/nix/install@main + - name: Run Nix build + run: nix build --extra-experimental-features nix-command --extra-experimental-features flakes + - uses: actions/upload-artifact@v3 + with: + name: presentation.pdf + path: result diff --git a/template/conf.typ b/template/conf.typ index a0798c7..ea00085 100644 --- a/template/conf.typ +++ b/template/conf.typ @@ -141,6 +141,54 @@ touying-slide(self: self, body) }) +#let ending-slide(..args) = touying-slide-wrapper(self => { + let info = self.info + args.named() + let header = { + set text(fill: rgb("0065BD"), size: 25pt, weight: "bold") + place(top + right, + dx: -1em, + dy: 1em, + image("./resources/TUM_Logo_blau.svg", width: 7%) + ) + } + let footer(self) = { + set align(bottom) + show: pad.with(.4em) + set text(size: 14pt) + h(1em) + h(1fr) + grid( + columns: (1fr, 4fr, 1fr, 1fr), + align: center, + grid.cell(align: left)[ + #h(1em) + #info.footer-author], + info.title, + utils.display-info-date(self), + grid.cell(align: right)[ + #context [#utils.slide-counter.display()/#utils.last-slide-number] #h(1em)] + ) + } + let body = { + align(center)[ + #v(3em) + Questions, Comments? + #v(3em) + *Thanks for your attention!* + ] + } + self = utils.merge-dicts( + self, + config-page( + header: header, + footer: footer, + ), + ) + touying-slide(self: self, body) +}) + + + #let tum-slides( aspect-ratio: "16-9", footer: none, @@ -174,5 +222,7 @@ outline-slide() body + + ending-slide() }