diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-05 09:42:46 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-05 09:42:46 +0200 |
| commit | 86315cada2d2d37c93bd41869aedc92db0f36363 (patch) | |
| tree | 304d0c351e2971ad99be73ca6908cd6f78159d43 /layouts/shortcodes/contact.html | |
| parent | 7de9682e8f3d6a1a6819c1a26c332ff72dbeaaa4 (diff) | |
| download | danixxyz-theme-86315cada2d2d37c93bd41869aedc92db0f36363.tar.gz danixxyz-theme-86315cada2d2d37c93bd41869aedc92db0f36363.zip | |
feat: import all remaining shortcodes from previous theme
Added 11 additional shortcodes with complete documentation:
Text formatting:
- strike: strikethrough text
- em: highlighted/marked text
- dropcap: paragraph with decorative drop cap
Container wrappers:
- div / div-close: semantic div containers with classes
Gallery:
- gallery: gallery container
- gal-img: gallery images (400px WebP thumbnail with link)
Utility:
- svg: inline SVG icons from assets/SVGs/
- actions: button-style action links
- search: search form with results display
- contact: comprehensive contact form
All shortcodes now fully documented in CONTENT_GUIDE with usage examples and parameters.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'layouts/shortcodes/contact.html')
| -rw-r--r-- | layouts/shortcodes/contact.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/layouts/shortcodes/contact.html b/layouts/shortcodes/contact.html new file mode 100644 index 0000000..06be1f5 --- /dev/null +++ b/layouts/shortcodes/contact.html @@ -0,0 +1,49 @@ +{{- $sig := resources.Get "/uploads/2018/05/new-signature.png" -}} +<section id="contact"> + <div class="inner"> + <section> + + <p class="error message js-hidden">Javascript is required for this form to work</p> + <p class="contact-submitted status message hidden">Your message has been sent correctly. I'll get back at you as soon as possible</p> + <p class="contact-error error message hidden">There's been a problem with your message, I'll dispatch the wizard to investigate the issue.</p> + + <form class="contact-form hidden" data-protect="/php/contact.php" action="#" method="post" accept-charset="UTF-8"> + <div class="fields"> + <div class="field half"> + <label for="edit-name">Name:</label> + <input type="text" id="edit-name" name="name" placeholder="Insert your name" required autofocus> + </div> + <div class="field half"> + <label for="edit-mail">Email:</label> + <input type="email" id="edit-mail" name="email" placeholder="your email address" required> + </div> + <div class="field"> + <label for="edit-subject">What are we talking about?</label> + <input type="text" id="edit-subject" name="subject" placeholder="add a subject" required> + </div> + <div class="field"> + <label for="edit-message">Tell me everything :)</label> + <textarea id="edit-message" name="message" rows="5" placeholder="Insert your message here" required></textarea> + </div> + </div> + <input type="text" id="edit-url" class="hidden" name="url" placeholder="your website"> + <ul class="actions"> + <li><input type="submit" name="submit" class="form-submit primary" disabled value="Send Message" /></li> + <li><input type="reset" name="reset" class="form-reset" disabled value="clear" /></li> + </ul> + + </form> + </section> + + <section class="split"> + <section> + <div class="contact-method"> + <span class="icon solid alt fa-envelope"></span> + <h3>Reach out to me</h3> + <p>I'm here to help, if you need to talk to me feel free to reach out and tell me whatever you need help with, I'll be happy to find some time to discuss the matter with you!</p> + <img class="signature image right" src="{{ $sig.RelPermalink }}" alt="signed by danix"> + </div> + </section> + </section> + </div> +</section> |
