-
-
Notifications
You must be signed in to change notification settings - Fork 400
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
fix: Update footer icon and URL #11128
base: main
Are you sure you want to change the base?
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11128 +/- ##
==========================================
+ Coverage 40.64% 49.25% +8.60%
==========================================
Files 77 78 +1
Lines 22316 22371 +55
Branches 5354 5365 +11
==========================================
+ Hits 9071 11019 +1948
+ Misses 12067 9996 -2071
- Partials 1178 1356 +178 ☔ View full report in Codecov by Sentry. |
/update_tests_results |
1 similar comment
/update_tests_results |
<a href="' _ facebook_page_url _ '"><img src="/images/icons/dist/facebook.svg" class="footer_social_icon" alt="Facebook"></a> | ||
<a href="https://www.instagram.com/open.food.facts/"><img src="/images/icons/dist/instagram.svg" class="footer_social_icon" alt="Instagram"></a> | ||
<a href="https://x.com/OpenFoodFacts"><img src="/images/icons/dist/x.svg" class="footer_social_icon" alt="X"></a> | ||
<a href="https://facebook.com/OpenFoodFacts"><img src="/images/icons/dist/facebook.svg" class="footer_social_icon" alt="Facebook"></a> |
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.
I think '_ facebook_page_url _'
and ' _ twitter_account _ '
are placeholders and replaced somehow. Thus, they should probably stay the same in this template.
<a href="https://twitter.com/' _ twitter_account _ '"><img src="/images/icons/dist/twitter.svg" class="footer_social_icon" alt="Twitter"></a> | ||
<a href="' _ facebook_page_url _ '"><img src="/images/icons/dist/facebook.svg" class="footer_social_icon" alt="Facebook"></a> | ||
<a href="https://www.instagram.com/open.food.facts/"><img src="/images/icons/dist/instagram.svg" class="footer_social_icon" alt="Instagram"></a> | ||
<a href="https://x.com/OpenFoodFacts"><img src="/images/icons/dist/x.svg" class="footer_social_icon" alt="X"></a> |
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.
We don't have x.svg
in icons/
. It would probably be best to add it in addition to https://github.com/openfoodfacts/openfoodfacts-server/blob/6456ca4775e69431eccf4d658acd07513b33cad0/icons/twitter.svg
Are the above changes satisfactory? @hangy |
<a href="' _ facebook_page_url _ '"><img src="/images/icons/dist/facebook.svg" class="footer_social_icon" alt="Facebook"></a> | ||
<a href="https://www.instagram.com/open.food.facts/"><img src="/images/icons/dist/instagram.svg" class="footer_social_icon" alt="Instagram"></a> | ||
<a href="https://instagram.com/open.food.facts"><img src="/images/icons/dist/instagram.svg" class="footer_social_icon" alt="Instagram"></a> |
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.
You should not remove the www as this is the canonical url, please, restore it.
@alexgarel Restored! |
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.
Thanks @areebahmeddd
Quality Gate passedIssues Measures |
What
Updated the social media icon in the footer to reflect the latest branding changes from Twitter to X. The URL has also been updated to
https://x.com/OpenFoodFacts
.Related issue(s) and discussion