Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Réseaux Sociaux #1573

Merged
merged 14 commits into from
Dec 21, 2024
12 changes: 10 additions & 2 deletions app/Resources/views/site/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -148,17 +148,25 @@
</g>
</svg>
</div>
<div class="col-md-7 tablet-hidden">
<div class="col-md-6 tablet-hidden">
<label class="pre-footer-newsletter-title" for="subscriber_email">Inscription à la newsletter</label>
{{ render(controller('AppBundle:Newsletter:subscribeForm')) }}
<span class="pre-footer-newsletter-caption">Tous les trois mois, des nouvelles de L'AFUP</span>
</div>
<div class="col-md-1 pre-footer-icon">
<a href="https://twitter.com/afup" class="pre-footer-social-network" title="Accédez au compte Twitter de l'AFUP"><i class="fab fa-twitter"></i></a>
<a href="https://www.linkedin.com/company/afup" class="pre-footer-social-network" title="Accédez au compte Linkedin de l'AFUP"><i class="fab fa-linkedin"></i></a>
</div>
<div class="col-md-1 pre-footer-icon">
<a href="https://mastodon.online/@afup" class="pre-footer-social-network" title="Accédez au compte Mastodon de l'AFUP"><i class="fab fa-mastodon"></i></a>
</div>
<div class="col-md-1 pre-footer-icon">
<a href="https://bsky.app/profile/afup.org" class="pre-footer-social-network" title="Accédez au compte Bluesky de l'AFUP">
<svg style="height:65px; fill:white; padding:0 15px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"/></svg>
</a>
</div>
<div class="col-md-1 pre-footer-icon">
<a href="https://www.instagram.com/afup_php/" class="pre-footer-social-network" title="Accédez au compte Instagram de l'AFUP"><i class="fab fa-instagram"></i></a>
</div>
<div class="col-md-1 pre-footer-icon">
<a href="{{ path('feed_rss') }}" class="pre-footer-social-network" title="Accédez au flux RSS de l'AFUP"><i class="fas fa-rss"></i></a>
</div>
Expand Down
14 changes: 13 additions & 1 deletion app/Resources/views/site/offices.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,19 @@
<i class="fa fa-twitter" aria-hidden="true"></i>&nbsp;Twitter
</a>
{% endif %}


{% if office.linkedin is defined %}
<a class="button-inverted" href="https://www.linkedin.com/company/{{ office.linkedin }}">
<i class="fa fa-linkedin" aria-hidden="true"></i>&nbsp;LinkedIn
</a>
{% endif %}

{% if office.bluesky is defined %}
<a class="button-inverted" href="https://bsky.app/profile/{{ office.bluesky }}">
<svg style="height:15px; fill:#415e96;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"/></svg> Bluesky
</a>
{% endif %}

{% if office.meetup_urlname is defined %}
<a class="button-inverted" href="https://www.meetup.com/fr-FR/{{ office.meetup_urlname }}">
<i class="fa fa-meetup" aria-hidden="true"></i>&nbsp;Meetup
Expand Down
19 changes: 17 additions & 2 deletions sources/AppBundle/Offices/OfficesCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public function getAll()
'logo_url' => '/images/offices/bordeaux.svg',
'twitter' => 'AFUP_Bordeaux',
'blog_url' => 'http://bordeaux.afup.org/',
'linkedin' => 'afup-bordeaux',
'bluesky' => 'bordeaux.afup.org',
'map' => [
"legend-first-point-x" => "330",
"legend-first-point-y" => "440",
Expand All @@ -39,6 +41,7 @@ public function getAll()
'twitter' => 'AFUP_Limoges',
'youtube' => 'https://www.youtube.com/channel/UCPYMUpcC3b5zd-hVNGEWHAA',
'blog_url' => 'http://limoges.afup.org/',
'linkedin' => 'afup-limoges',
'workadventure_url' => 'https://play.workadventu.re/@/antenne-afup/limoges/workadventure',
'map' => [
"legend-first-point-x" => "410",
Expand All @@ -62,6 +65,8 @@ public function getAll()
'logo_url' => '/images/offices/hdf.svg',
'twitter' => 'afup_hdf',
'youtube' => 'https://www.youtube.com/channel/UCkMGtNcB-VeqMlQ9p2JMIKg',
'linkedin' => 'afup-hdf',
'bluesky' => 'hdf.afup.org',
'workadventure_url' => 'https://play.workadventu.re/@/antenne-afup/hautsdefrance/workadventure',
'map' => [
"legend-first-point-x" => "490",
Expand Down Expand Up @@ -117,6 +122,8 @@ public function getAll()
'twitter' => 'AFUP_Lyon',
'blog_url' => 'http://lyon.afup.org',
'workadventure_url' => 'https://play.workadventu.re/@/antenne-afup/lyon/workadventure',
'linkedin' => 'afup-lyon',
'bluesky' => 'lyon.afup.org',
'map' => [
"legend-first-point-x" => "570",
"legend-first-point-y" => "380",
Expand Down Expand Up @@ -163,6 +170,8 @@ public function getAll()
'logo_url' => '/images/offices/montpellier.svg',
'twitter' => 'afup_mtp',
'youtube' => 'https://www.youtube.com/channel/UCr9f4-DksVhdv45q2245HeQ',
'bluesky' => 'montpellier.afup.org',
'linkedin' => 'montpellier-afup',
'map' => [
"legend-first-point-x" => "530",
"legend-first-point-y" => "520",
Expand All @@ -185,6 +194,7 @@ public function getAll()
'logo_url' => '/images/offices/nantes.svg',
'twitter' => 'afup_nantes',
'blog_url' => 'http://nantes.afup.org/',
'linkedin' => 'afup-nantes',
'map' => [
"legend-first-point-x" => "285",
"legend-first-point-y" => "290",
Expand All @@ -207,7 +217,7 @@ public function getAll()
'meetup_id' => '19629965',
'logo_url' => '/images/offices/paris.svg',
'twitter' => 'afup_paris',

'bluesky' => 'paris.afup.org',
'workadventure_url' => 'https://play.workadventu.re/@/antenne-afup/paris/workadventure',
'map' => [
"legend-first-point-x" => "460",
Expand All @@ -230,7 +240,8 @@ public function getAll()
'meetup_id' => '23106095',
'logo_url' => '/images/offices/poitiers.svg',
'twitter' => 'afup_poitiers',
'workadventure_url' => 'https://play.workadventu.re/@/antenne-afup/poitiers/workadventure',
'linkedin' => 'afup-poitiers',
'bluesky' => 'poitiers.afup.org',
'map' => [
"legend-first-point-x" => "365",
"legend-first-point-y" => "330",
Expand Down Expand Up @@ -277,6 +288,7 @@ public function getAll()
'blog_url' => 'https://rennes.afup.org/',
'youtube' => 'https://www.youtube.com/channel/UCv1VGfqKhygjTOZkdVUWfpQ',
'workadventure_url' => 'https://play.workadventu.re/@/antenne-afup/rennes/workadventure',
'linkedin' => 'afup-rennes',
'map' => [
"legend-first-point-x" => "285",
"legend-first-point-y" => "220",
Expand Down Expand Up @@ -322,6 +334,8 @@ public function getAll()
'departements' => ['54', '55', '57', '88'],
'meetup_urlname' => 'afup-lorraine-php',
'meetup_id' => '26854931',
'bluesky' => 'lorraine.afup.org',
'linkedin' => 'afup-lorraine',
'map' => [
"legend-first-point-x" => "650",
"legend-first-point-y" => "160",
Expand Down Expand Up @@ -353,6 +367,7 @@ public function getAll()
'meetup_id' => '28638984',
'youtube' => 'https://www.youtube.com/channel/UCtKhGIofgKM9ecrdZNyn_pA',
'workadventure_url' => 'https://play.workadventu.re/@/antenne-afup/tours/workadventure',
'linkedin' => 'afup-tours',
'map' => [
"legend-first-point-x" => "380",
"legend-first-point-y" => "270",
Expand Down