-
Notifications
You must be signed in to change notification settings - Fork 70
Refonte visuelle de la page d'accueil #2359
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
c51e2b0
Refonte visuelle de la page d'accueil
Mopolo 452fd8b
Ajout de labels sur les réseaux sociaux
Mopolo ec9ec98
Images manquantes
Mopolo 01c3d78
Compression de l'image de bannière
Mopolo 99745fc
Switch de l'image de bannière en webp
Mopolo 3854341
Switch de l'image de veille en webp
Mopolo 5100a47
Affichage de l'image de couverture du dernier article si présente
Mopolo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| {# @block content Contenu du titre #} | ||
| {%- set style = html_cva( | ||
| base: "text-base font-light text-afup-800 border-b border-neutre-300 pb-2 mb-5" | ||
| ) -%} | ||
| <h3 class="{{ style.apply({}, attributes.render('class'))|tailwind_merge }}" {{ attributes }}> | ||
| {%- block content %}{% endblock -%} | ||
| </h3> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,20 @@ | ||
| {# @prop variant 'default'|'form' Quel genre de titre #} | ||
| {# @prop size 'default'|'big' Taille du titre #} | ||
| {# @block content Contenu du titre #} | ||
| {%- props type = 'default' -%} | ||
| {%- props type = 'default', size = 'default' -%} | ||
| {%- set style = html_cva( | ||
| base: "font-titre font-light text-lg mb-5", | ||
| base: "font-titre font-light mb-5", | ||
| variants: { | ||
| type: { | ||
| default: "text-afup-800", | ||
| form: "text-afup-500", | ||
| } | ||
| }, | ||
| size: { | ||
| default: "text-lg", | ||
| big: "text-2xl", | ||
| }, | ||
| } | ||
| ) -%} | ||
| <h2 class="{{ style.apply({type}, attributes.render('class'))|tailwind_merge }}" {{ attributes }}> | ||
| <h2 class="{{ style.apply({type, size}, attributes.render('class'))|tailwind_merge }}" {{ attributes }}> | ||
| {%- block content %}{% endblock -%} | ||
| </h2> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,19 +17,19 @@ | |
| </div> | ||
|
|
||
| <div class="flex flex-row gap-10 items-center"> | ||
| <a href="https://www.linkedin.com/company/afup" class="hover:text-ruby-400"> | ||
| <a href="https://www.linkedin.com/company/afup" class="hover:text-ruby-400" title="Accédez au compte Linkedin de l'AFUP"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice, je voulais t'en faire part !
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oui j'ai vu ça grâce au test behat de la home. |
||
| <twig:ux:icon name="mdi:linkedin" class="h-6 sm:h-18" /> | ||
| </a> | ||
| <a href="https://mastodon.online/@afup" class="hover:text-ruby-400"> | ||
| <a href="https://mastodon.online/@afup" class="hover:text-ruby-400" title="Accédez au compte Mastodon de l'AFUP"> | ||
| <twig:ux:icon name="mdi:mastodon" class="h-6 sm:h-18" /> | ||
| </a> | ||
| <a href="https://bsky.app/profile/afup.org" class="hover:text-ruby-400"> | ||
| <a href="https://bsky.app/profile/afup.org" class="hover:text-ruby-400" title="Accédez au compte Bluesky de l'AFUP"> | ||
| <twig:ux:icon name="simple-icons:bluesky" class="h-6 sm:h-18" /> | ||
| </a> | ||
| <a href="https://www.instagram.com/afup_php/" class="hover:text-ruby-400"> | ||
| <a href="https://www.instagram.com/afup_php/" class="hover:text-ruby-400" title="Accédez au compte Instagram de l'AFUP"> | ||
| <twig:ux:icon name="mdi:instagram" class="h-6 sm:h-18" /> | ||
| </a> | ||
| <a href="{{ path('feed_rss') }}" class="hover:text-ruby-400"> | ||
| <a href="{{ path('feed_rss') }}" class="hover:text-ruby-400" title="Accédez au flux RSS de l'AFUP"> | ||
| <twig:ux:icon name="mdi:rss" class="h-6 sm:h-18" /> | ||
| </a> | ||
| </div> | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ça progresse !