Files
o-k-i.net/src/_includes/partials/contact.njk
T

34 lines
1.4 KiB
Plaintext
Raw Normal View History

2025-11-05 17:32:17 +04:00
<section class="contact" id="contact">
2025-11-05 20:39:19 +04:00
<div class="section-container">
<h2>{{ t.contact.title }}</h2>
<p class="contact-lede">
{{ t.contact.lede | safe }}
2025-11-05 20:39:19 +04:00
</p>
</div>
<div class="contact-socials">
{% for section in t.contact.sections %}
<div class="contact-socials-group">
<h3 class="contact-socials-title">{{ section.title }}</h3>
<div class="contact-socials-row">
{% for link in section.links %}
{% set lname = link.text.toLowerCase() %}
<a href="{{ link.url }}" title="{{ link.text }}"{% if link.url.startsWith('http') %} target="_blank" rel="noopener noreferrer"{% endif %} class="contact-social-link">
{% if 'kontak' in lname or 'mail' in lname %}
{% include "icons/email.svg" %}
{% elif 'whatsapp' in lname %}
{% include "icons/whatsapp.svg" %}
{% elif 'telegram' in lname %}
{% include "icons/telegram.svg" %}
{% elif 'discord' in lname %}
{% include "icons/discord.svg" %}
{% elif 'labola' in lname or 'gitea' in lname %}
{% include "icons/gitea.svg" %}
{% endif %}
</a>
{% endfor %}
</div>
</div>
2025-11-05 17:32:17 +04:00
{% endfor %}
</div>
</section>