diff --git a/src/_includes/partials/contact.njk b/src/_includes/partials/contact.njk index 66e4dc2..86e85be 100644 --- a/src/_includes/partials/contact.njk +++ b/src/_includes/partials/contact.njk @@ -5,18 +5,29 @@ {{ t.contact.lede | safe }}

-
+
{% for section in t.contact.sections %} -
-

{{ section.title }}

- -
+ {% for link in section.links %} + + {% if link.text.toLowerCase().includes('email') %} + Email + {% elif link.text.toLowerCase().includes('whatsapp') %} + WhatsApp + {% elif link.text.toLowerCase().includes('telegram') %} + Telegram + {% elif link.text.toLowerCase().includes('twitter') or link.text.toLowerCase().includes('x (') %} + X + {% elif link.text.toLowerCase().includes('tiktok') %} + TikTok + {% elif link.text.toLowerCase().includes('discord') %} + Discord + {% elif link.text.toLowerCase().includes('stoat') %} + Stoat + {% elif link.text.toLowerCase().includes('labola') or link.text.toLowerCase().includes('gitea') %} + Labola + {% endif %} + + {% endfor %} {% endfor %}
diff --git a/src/assets/css/styles.css b/src/assets/css/styles.css index 11cab26..f8c161c 100644 --- a/src/assets/css/styles.css +++ b/src/assets/css/styles.css @@ -1190,39 +1190,49 @@ html.light-theme .hero::before { color: var(--or-oki); } -.contact-grid { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); +.contact-socials { + display: flex; + justify-content: center; + align-items: center; gap: 2rem; + flex-wrap: wrap; max-width: 1200px; margin: 0 auto; } -.contact-card { - text-align: center; -} - -.contact-card h3 { +.contact-social-link { + display: inline-flex; + align-items: center; + justify-content: center; + width: 4rem; + height: 4rem; color: var(--or-oki); - margin-bottom: 1rem; - font-size: 1.1rem; -} - -.contact-links { - display: flex; - flex-direction: column; - gap: 0.5rem; - font-family: var(--font-body); -} - -.contact-links a { - color: var(--blanc-creme); text-decoration: none; - transition: color 0.2s; + transition: transform 0.2s, opacity 0.2s; + border-radius: 8px; + background: rgba(253, 184, 19, 0.08); } -.contact-links a:hover { - color: var(--or-oki); +.contact-social-link:hover { + transform: scale(1.15); + background: rgba(253, 184, 19, 0.15); +} + +.contact-social-link img { + width: 60%; + height: 60%; + object-fit: contain; +} + +@media (min-width: 768px) { + .contact-socials { + gap: 2.5rem; + } + + .contact-social-link { + width: 4.5rem; + height: 4.5rem; + } } /* Footer */