From 8175df780321107d4f2b481f4720ff802fdfae7a Mon Sep 17 00:00:00 2001 From: Tanmay Chaturvedi <168345467+tanmayc43@users.noreply.github.com> Date: Sun, 8 Dec 2024 20:16:39 +0530 Subject: [PATCH] Chore - Updated twitter.svg (#4871) Updated the old Twitter bird logo to the new "X" logo. ## Because The old twitter bird logo has been long replaced by the new "X" logo and I have done the same on the website to keep it updated and improve the overall user experience. ## This PR -The old bird logo SVG file was replaced by the new "X" logo SVG file. -The fill rules were modified accordingly. ## Pull Request Requirements - [x] I have thoroughly read and understand [The Odin Project Contributing Guide](https://github.com/TheOdinProject/theodinproject/blob/main/CONTRIBUTING.md) - [x] The title of this PR follows the `keyword: brief description of change` format, using one of the following keywords: - `Feature` - adds new or amends existing user-facing behavior - `Chore` - changes that have no user-facing value, refactors, dependency bumps, etc - `Fix` - bug fixes - [x] The `Because` section summarizes the reason for this PR - [x] The `This PR` section has a bullet point list describing the changes in this PR - [x] I have verified all tests and linters pass after making these changes. - [x] If this PR addresses an open issue, it is linked in the `Issue` section - [x] If applicable, this PR includes new or updated automated tests --- app/assets/images/socials/twitter.svg | 7 +++++-- app/views/shared/_footer.html.erb | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/assets/images/socials/twitter.svg b/app/assets/images/socials/twitter.svg index f1217433db..747ee1234f 100644 --- a/app/assets/images/socials/twitter.svg +++ b/app/assets/images/socials/twitter.svg @@ -1,3 +1,6 @@ -Twitter - <%= inline_svg_tag 'socials/twitter.svg', class: 'h-6 w-6 fill-current hover:fill-[#1DA1F2] transition duration-500', aria: true, title: 'Twitter', desc: 'Twitter logo' %> + <%= inline_svg_tag 'socials/twitter.svg', class: 'h-6 w-6 fill-current hover:fill-black dark:hover:fill-white transition duration-500', aria: true, title: 'Twitter', desc: 'Twitter logo' %> <% end %> +