From b6401da268d213f029f1bcdffab050500f5ec3eb Mon Sep 17 00:00:00 2001 From: 29deepanshutyagi <29deepanshutyagi@gmail.com> Date: Fri, 27 Dec 2024 17:17:23 +0530 Subject: [PATCH] Refactor image classNames in Layout and StyledMarkdown components --- components/Layout.tsx | 12 ++++++------ components/StyledMarkdown.tsx | 6 +++--- pages/tools/index.page.tsx | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/components/Layout.tsx b/components/Layout.tsx index 29411a0fa..26e303b22 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -359,7 +359,7 @@ const Footer = () => ( src='/img/logos/slack_logo_small-white.svg' width={16} height={16} - className='w-4 h-4 mr-2' + className=' mr-2' alt='Slack logo' /> Slack @@ -374,7 +374,7 @@ const Footer = () => ( src='/img/logos/x-twitter.svg' width={16} height={16} - className='w-4 h-4 mr-2' + className=' mr-2' alt='X logo' />{' '} X @@ -389,7 +389,7 @@ const Footer = () => ( src='/img/logos/icons8-linkedin-2.svg' width={16} height={16} - className='w-4 h-4 mr-2' + className=' mr-2' alt='LinkedIn logo' /> LinkedIn @@ -404,7 +404,7 @@ const Footer = () => ( src='/img/logos/icons8-youtube.svg' width={16} height={16} - className='w-4 h-4 mr-2' + className='mr-2' alt='YouTube logo' /> Youtube @@ -419,7 +419,7 @@ const Footer = () => ( src='/img/logos/github_logo-white.svg' width={16} height={16} - className='w-4 h-4 mr-2' + className='mr-2' alt='GitHub logo' /> GitHub @@ -455,7 +455,7 @@ const Logo = () => { src={imageSrc} width={170} height={48} - className='h-12 mr-2' + className='mr-2' alt='Dynamic image' /> diff --git a/components/StyledMarkdown.tsx b/components/StyledMarkdown.tsx index 86a2b4bf1..b16272735 100644 --- a/components/StyledMarkdown.tsx +++ b/components/StyledMarkdown.tsx @@ -451,7 +451,7 @@ const StyledMarkdownBlock = ({ markdown }: { markdown: string }) => {