diff --git a/assets/js/contact_form_toggle.js b/assets/js/contact_form_toggle.js index 00ca58c..a73b63b 100644 --- a/assets/js/contact_form_toggle.js +++ b/assets/js/contact_form_toggle.js @@ -1,7 +1,7 @@ /* Unhide contact form if JS is enabled */ window.addEventListener('DOMContentLoaded', (event) => { - const contact_form_wrapper = document.getElementsByClassName('content__contact_form_wrapper')[0]; + const contact_form_wrapper = document.getElementsByClassName('contact__box')[0]; if (contact_form_wrapper) { - contact_form_wrapper.style.setProperty('display', 'block'); + contact_form_wrapper.style.setProperty('display', 'grid'); } }); diff --git a/content/about/contents+en.lr b/content/about/contents+en.lr index d19314e..82e44df 100644 --- a/content/about/contents+en.lr +++ b/content/about/contents+en.lr @@ -36,7 +36,6 @@ card_image: icon_connected_servers.svg card_text: After the project, we do not leave you out in the cold with the result, but offer you services for the operation of the completed project and the administration of the infrastructure beyond the project. ---- image_credits: servers by IYIKON from Noun Project ----- #### flow_icon_bubbles #### icon_path: Python_logo_and_wordmark.svg ---- @@ -110,3 +109,20 @@ kompetenzen_body: - Translation & Internationalisation (i18n/l10n) --- kompetenzen_heading: Expertise +--- +contact_form_button: Send message +--- +contact_form_email: Email address +--- +contact_form_heading: Contact +--- +contact_form_info: + +Your email address will not be published. +Required fields are marked * +--- +contact_form_message: Message +--- +contact_form_subheading: Contact form +--- +contact_form_subject: Subject diff --git a/content/about/contents.lr b/content/about/contents.lr index 0fa62cd..fbc380e 100644 --- a/content/about/contents.lr +++ b/content/about/contents.lr @@ -109,3 +109,22 @@ kompetenzen_body: - Übersetzung & Internationalisierung (i18n/l10n) --- kompetenzen_heading: Kompetenzen +--- +contact_form_button: Kommentar abschicken +--- +contact_form_email: E-Mail-Adresse +--- +contact_form_heading: Kontakt +--- +contact_form_info: + +Deine E-Mail-Adresse wird nicht veröffentlicht. +Erforderliche Felder sind gekennzeichnet * +--- +contact_form_message: Nachricht +--- +contact_form_name: Name +--- +contact_form_subheading: Kontaktformular +--- +contact_form_subject: Betreff diff --git a/content/contents+en.lr b/content/contents+en.lr index 1a84d58..373583e 100644 --- a/content/contents+en.lr +++ b/content/contents+en.lr @@ -39,22 +39,4 @@ content_image: map.png content_image_alt: Map of the Federal Republic of Germany with regions in which members are active ---- content_image_src: ---- -contact_form_button: Send message ---- -contact_form_email: Email address ---- -contact_form_heading: Contact ---- -contact_form_info: -Your email address will not be published. -Required fields are marked * ---- -contact_form_message: Message ---- -contact_form_name: Name ---- -contact_form_subheading: Contact form ---- -contact_form_subject: Subject diff --git a/content/contents.lr b/content/contents.lr index 013fb20..c17d09a 100644 --- a/content/contents.lr +++ b/content/contents.lr @@ -40,21 +40,13 @@ content_image_alt: Karte der Bundesrepublik mit Regionen in denen Member aktiv s ---- content_image_src: --- -contact_form_button: Kommentar abschicken ---- -contact_form_email: E-Mail-Adresse ---- -contact_form_heading: Kontakt ---- -contact_form_info: +faq: -Deine E-Mail-Adresse wird nicht veröffentlicht. -Erforderliche Felder sind gekennzeichnet * ---- -contact_form_message: Nachricht ---- -contact_form_name: Name ---- -contact_form_subheading: Kontaktformular ---- -contact_form_subject: Betreff +## FAQ + +- Ich bin hauptberuflich angestellt, welche Vorteile habe ich von euch? +- Ich bin Freelancer, kann ich über euch arbeiten? +- Ich habe eine zündende Idee aber keine Ahnung wie/wo ich anfangen soll. Kann ich die Idee mit euch umsetzen? +- Ich habe ein Nebeneinkommen und möchte meine Rechnungen über euch abwickeln, wie genau läuft das? +- Welche Daten speichert ihr? +- Welche weltlichen Güter kann ich mir über die Geno holen? diff --git a/models/about_page.ini b/models/about_page.ini index 450dc2f..0815702 100644 --- a/models/about_page.ini +++ b/models/about_page.ini @@ -30,3 +30,37 @@ type = string [fields.kompetenzen_body] label = Kompetenzen Inhalt type = markdown + +# Kontakt-Formular + +[fields.contact_form_heading] +label = Kontaktformular: Überschrift +type = string + +[fields.contact_form_subheading] +label = Kontaktformular: Unterüberschrift +type = string + +[fields.contact_form_info] +label = Kontaktformular: Einleitung +type = markdown + +[fields.contact_form_subject] +label = Kontaktformular: Betreff +type = string + +[fields.contact_form_message] +label = Kontaktformular: Nachricht +type = string + +[fields.contact_form_name] +label = Kontaktformular: Name +type = string + +[fields.contact_form_email] +label = Kontaktformular: E-Mail-Adresse +type = string + +[fields.contact_form_button] +label = Kontaktformular: Buttonbeschriftung +type = string \ No newline at end of file diff --git a/models/homepage.ini b/models/homepage.ini index 3d93c24..d907ae6 100644 --- a/models/homepage.ini +++ b/models/homepage.ini @@ -35,43 +35,13 @@ label = Sub-Claim-Inhalt description = Inhalt des Subclaims im Kopf der Seite type = markdown +[fields.faq] +label = faq +type = markdown + # Flow Block Section [fields.section] label = Sections type = flow flow_blocks = flow_text_image_section - -# Kontakt-Formular - -[fields.contact_form_heading] -label = Kontaktformular: Überschrift -type = string - -[fields.contact_form_subheading] -label = Kontaktformular: Unterüberschrift -type = string - -[fields.contact_form_info] -label = Kontaktformular: Einleitung -type = markdown - -[fields.contact_form_subject] -label = Kontaktformular: Betreff -type = string - -[fields.contact_form_message] -label = Kontaktformular: Nachricht -type = string - -[fields.contact_form_name] -label = Kontaktformular: Name -type = string - -[fields.contact_form_email] -label = Kontaktformular: E-Mail-Adresse -type = string - -[fields.contact_form_button] -label = Kontaktformular: Buttonbeschriftung -type = string diff --git a/templates/about_page.html b/templates/about_page.html index 60e9236..6b63ac7 100644 --- a/templates/about_page.html +++ b/templates/about_page.html @@ -29,9 +29,65 @@ {% endfor %} - + + {{ this.contact_form_headig }} + + + + WTF Kooperative eG + Forsmannstr. 14 b + Hinterhaus, 3. OG + 22303 Hamburg + + + E-Mail: + office@wtf-eg.de + + + GnuPG Key: + wtf_eg.asc + + + + + + {{ this.contact_form_subheading }} + + + {{ this.contact_form_info }} + + + {{ this.contact_form_subject }} * + + + + {{ this.contact_form_message }} * + + + + {{ this.contact_form_name }} * + + + + {{ this.contact_form_email }} * + + + + Captcha * + + + + + + + + + + + + {{ this.kompetenzen_heading }} diff --git a/templates/homepage.html b/templates/homepage.html index 4a2ad42..d61a129 100644 --- a/templates/homepage.html +++ b/templates/homepage.html @@ -15,61 +15,11 @@ {{ blk }} {% endfor %} - - {{ this.contact_form_headig }} - - - - WTF Kooperative eG - Forsmannstr. 14 b - Hinterhaus, 3. OG - 22303 Hamburg - - - E-Mail: - office@wtf-eg.de - - - GnuPG Key: - wtf_eg.asc - - - + - - {{ this.contact_form_subheading }} - - - {{ this.contact_form_info }} - - - {{ this.contact_form_subject }} * - - - - {{ this.contact_form_message }} * - - - - {{ this.contact_form_name }} * - - - - {{ this.contact_form_email }} * - - - - Captcha * - - - - - - - + + {{ this.faq }} - - {% endblock %}
+ WTF Kooperative eG + Forsmannstr. 14 b + Hinterhaus, 3. OG + 22303 Hamburg +
+ E-Mail: + office@wtf-eg.de +
+ GnuPG Key: + wtf_eg.asc +
+ {{ this.contact_form_info }} +
+ {{ this.contact_form_subject }} * + +
+ {{ this.contact_form_message }} * + +
+ {{ this.contact_form_name }} * + +
+ {{ this.contact_form_email }} * + +
+ Captcha * + +
+ +
- WTF Kooperative eG - Forsmannstr. 14 b - Hinterhaus, 3. OG - 22303 Hamburg -
- E-Mail: - office@wtf-eg.de -
- GnuPG Key: - wtf_eg.asc -
- {{ this.contact_form_info }} -
- {{ this.contact_form_subject }} * - -
- {{ this.contact_form_message }} * - -
- {{ this.contact_form_name }} * - -
- {{ this.contact_form_email }} * - -
- Captcha * - -
- -