rename to platform(s), to be more general

This commit is contained in:
madrilene 2024-02-07 11:51:09 +01:00
parent 721fdde32b
commit a0b47b5960
13 changed files with 7 additions and 7 deletions

View file

@ -42,14 +42,14 @@ module.exports = {
navigation: {
ariaTop: 'Main',
ariaBottom: 'Complementary',
ariaSocial: 'Social',
ariaPlatforms: 'Platforms',
closedText: 'Menu'
},
themeSwitch: {
title: 'Theme',
light: 'light',
dark: 'dark',
initial: 'select'
initial: 'select'
},
greenweb: {
// this goues into src/common/greenweb.njk

View file

@ -4,7 +4,7 @@ address: |-
Your street
12345, city
Tel: +34 928231911
social:
platforms:
github: 'https://github.com/madrilene/eleventy-excellent'
mastodon: 'https://front-end.social/@lene'
bluesky: 'https://bsky.app/profile/lenesaile.com'

View file

@ -18,7 +18,7 @@
{% endfor %}
</nav>
<nav class="site-foot__inner" aria-label="{{ meta.navigation.ariaSocial }}">
<nav class="site-foot__inner" aria-label="{{ meta.navigation.ariaPlatforms }}">
<!-- gets the first item from the feed loop set in meta -->
<a href="{{ meta.blog.feedLinks[0].url }}" rel="alternate" type="{{ meta.blog.feedLinks[0].type }}">
@ -26,12 +26,12 @@
<div aria-hidden="true">{% include 'svg/rss.svg' %}</div>
</a>
{% for key, value in personal.social %}
{% for key, value in personal.platforms %}
{% if value != "" %}
<!-- regular social networks -->
<!-- regular platforms -->
<a href="{{ value }}" rel="me">
<span class="visually-hidden">{{ key | capitalize }}</span>
<div aria-hidden="true">{% include 'svg/social-' + key + '.svg' %}</div>
<div aria-hidden="true">{% include 'svg/platform-' + key + '.svg' %}</div>
</a>
{% endif %}

View file

Before

Width:  |  Height:  |  Size: 780 B

After

Width:  |  Height:  |  Size: 780 B

View file

Before

Width:  |  Height:  |  Size: 514 B

After

Width:  |  Height:  |  Size: 514 B

View file

Before

Width:  |  Height:  |  Size: 658 B

After

Width:  |  Height:  |  Size: 658 B

View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

Before

Width:  |  Height:  |  Size: 861 B

After

Width:  |  Height:  |  Size: 861 B

View file

Before

Width:  |  Height:  |  Size: 695 B

After

Width:  |  Height:  |  Size: 695 B

View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

Before

Width:  |  Height:  |  Size: 994 B

After

Width:  |  Height:  |  Size: 994 B

View file

Before

Width:  |  Height:  |  Size: 792 B

After

Width:  |  Height:  |  Size: 792 B

View file

Before

Width:  |  Height:  |  Size: 544 B

After

Width:  |  Height:  |  Size: 544 B