From e6ea7f8dec3746f042c64e374025e1c3cea86632 Mon Sep 17 00:00:00 2001 From: Malte Date: Wed, 30 Oct 2024 17:29:30 +0100 Subject: [PATCH 1/5] use grid layout for form --- beitritt.typ | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/beitritt.typ b/beitritt.typ index 7becf56..a3f7fe1 100644 --- a/beitritt.typ +++ b/beitritt.typ @@ -25,29 +25,34 @@ if length == 100% { gap = 1fr; } - box(width: gap, line(length:length, stroke: 1.5pt)) + box(height: -5pt, width: gap, line(length:length, stroke: 1.5pt)) } = Beitrittserklärung #v(1em) -#box(width: 10cm, [ -Hiermit trete ich dem flipdot e.V. ab dem -Ersten #inputbox(length: 5em) 20#inputbox(length: 2em) als Mitglied bei, -und erkenne die Satzung -(https://flipdot.org/wiki/Satzung) und -die Ziele des Vereins an. +#box(width: 12cm, [ + Hiermit trete ich dem flipdot e.V. ab dem + Ersten #inputbox(length: 5em) 20#inputbox(length: 2em) als Mitglied bei, + und erkenne die Satzung + (https://flipdot.org/satzung) und + die Ziele des Vereins an. -Vorname: #inputbox()\ -Nachname: #inputbox()\ -Nick: #inputbox() + #grid( + columns:(100pt, auto), + gutter: 0.75em, -Straße, Nr: #inputbox()\ -PLZ, Ort: #inputbox()\ -Volljährig: #checkbox Ja #checkbox Nein\ -E-Mail: #inputbox()\ -Telefon (opt.): #inputbox()\ + align: (right+bottom, left+bottom), + [Vorname:], [#inputbox()], + [Nachname:], [#inputbox()], + [Nick:], [#inputbox()], + [Straße, Nr:], [#inputbox()], + [PLZ, Ort:], [#inputbox()], + [Volljährig:], [#checkbox Ja, #checkbox Nein], + [E-Mail:], [#inputbox()], + [Telefon (opt.):], [#inputbox()] + ) ]) Ort, Datum & Unterschrift @@ -76,5 +81,5 @@ Kontoinhaber: flipdot e.V., IBAN: DE07520503530001147713\ Sparkasse Kassel Dieses Blatt einem Vorstand im Space geben oder per mail an -com\@flipdot.org\ -FAQ: https://flipdot.org/wiki/FAQ +vorstand\@flipdot.org\ +FAQ: https://flipdot.org/faq/ From b0d39b916ae171efb5e846b4aeb299b354d19112 Mon Sep 17 00:00:00 2001 From: Malte Date: Wed, 30 Oct 2024 17:30:10 +0100 Subject: [PATCH 2/5] replace checkbox --- beitritt.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beitritt.typ b/beitritt.typ index a3f7fe1..cee33ad 100644 --- a/beitritt.typ +++ b/beitritt.typ @@ -18,7 +18,7 @@ #block(it.body) ] -#let checkbox = text([ \[ #sym.space \] ]); +#let checkbox = sym.ballot; #let inputbox(length: 100%) = { let gap = length; From 3482b75b2e4afd01437b88cbd129c888a98ce49a Mon Sep 17 00:00:00 2001 From: Malte Date: Wed, 30 Oct 2024 17:31:15 +0100 Subject: [PATCH 3/5] fix membership fee for regular members --- beitritt.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beitritt.typ b/beitritt.typ index cee33ad..128b433 100644 --- a/beitritt.typ +++ b/beitritt.typ @@ -70,7 +70,7 @@ Ich bezahle als Mitglied dabei den\ #list( marker: checkbox, - [vollen Betrag von mindestens 32€/Monat], + [vollen Betrag von mindestens 30€/Monat], [ermäßigten Betrag von 16€/Monat], [Beitrag für juristische Personen von mindestens 54€/Monat, und zwar #inputbox(length: 5em)€/Monat] ) From b82c7c3c6a4dc61ee249b03438d2a32c04120ecc Mon Sep 17 00:00:00 2001 From: Malte Date: Wed, 30 Oct 2024 18:01:58 +0100 Subject: [PATCH 4/5] improve logo placement --- beitritt.typ | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/beitritt.typ b/beitritt.typ index 128b433..cab54e1 100644 --- a/beitritt.typ +++ b/beitritt.typ @@ -2,15 +2,20 @@ read("flipdot-logo-notext-monochrome.svg") .replace("231f20", "f5c600") } -#set page(paper: "a4", background: align(top+right, { - v(9em); - rotate(-90deg, - scale(150%, - image.decode(fd) - ) - )}) - , margin: (top: 1cm, bottom: 1cm, left: 2cm, right: 2cm) +#set page(paper: "a4", + background: align(top+right, { + box(inset: 1cm, + rotate(-90deg, + reflow: true, + scale(150%, + reflow: true, + image.decode(fd) + ) + ) + ) + }), + margin: (top: 1cm, bottom: 1cm, left: 2cm, right: 2cm) ) #set text(font: "ISOCPEUR", size: 16pt ) #show heading: it => [ From 7a226333de14f8e2f9403539722f6de66d617f14 Mon Sep 17 00:00:00 2001 From: Malte Date: Wed, 30 Oct 2024 19:05:22 +0100 Subject: [PATCH 5/5] auto width for left column in grid --- beitritt.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beitritt.typ b/beitritt.typ index cab54e1..41afe72 100644 --- a/beitritt.typ +++ b/beitritt.typ @@ -45,7 +45,7 @@ die Ziele des Vereins an. #grid( - columns:(100pt, auto), + columns:(auto, auto), gutter: 0.75em, align: (right+bottom, left+bottom),