diff --git a/templates/public/edit.html.twig b/templates/public/edit.html.twig index e1715cb2..5760b5c9 100644 --- a/templates/public/edit.html.twig +++ b/templates/public/edit.html.twig @@ -70,8 +70,21 @@ {% endif %} {% include 'public/edit/ask_angela.html.twig' %} + {% include 'public/edit/social_media.html.twig' %} +
+ + + Téléphone + + +
{% include 'public/edit/tags.html.twig' %}
diff --git a/templates/public/edit/social_media.html.twig b/templates/public/edit/social_media.html.twig index 4ff0c381..d1040cc2 100644 --- a/templates/public/edit/social_media.html.twig +++ b/templates/public/edit/social_media.html.twig @@ -1,9 +1,34 @@ {# (medias sociaux TODO) #} {% block social_medias %} -
-
+
+ Réseaux sociaux -
+ {% set social_medias = { + 'mastodon': { 'icon': 'bi-mastodon', 'label': 'Mastodon' }, + 'facebook': { 'icon': 'bi-facebook', 'label': 'Facebook' }, + 'instagram': { 'icon': 'bi-instagram', 'label': 'Instagram' }, + 'tiktok': { 'icon': 'bi-tiktok', 'label': 'TikTok' }, + 'youtube': { 'icon': 'bi-youtube', 'label': 'YouTube' }, + 'linkedin': { 'icon': 'bi-linkedin', 'label': 'LinkedIn' }, + } %} + +
+ {% for key, social in social_medias %} + {% set tag_name = 'contact:' ~ key %} +
+ + + {{ social.label }} + + +
+ {% endfor %} +
{% endblock social_medias %} \ No newline at end of file