Skip to content

Commit

Permalink
Merge pull request #5505 from iArchitSharma/master
Browse files Browse the repository at this point in the history
fixed Special section image loading
  • Loading branch information
iArchitSharma authored Apr 26, 2024
2 parents b0fa834 + 91fa31b commit ee7c87c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/sections/Home/So-Special-Section/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,16 @@ const SoSpecial = () => {
<div id="special-cont_img">
{/* {console.log("Dark Thumbnail:", frontmatter.darkthumbnail)}
{console.log("Thumbnail:", frontmatter.thumbnail)} */}
{/* <Image
{...((isDark && frontmatter.darkthumbnail?.publicURL !== frontmatter.thumbnail?.publicURL) ? frontmatter.darkthumbnail : frontmatter.thumbnail)}
<Image
{...(frontmatter.thumbnail)}
imgStyle={{ objectFit: "contain" }}
alt={frontmatter.title}
/> */}
<Image
/>
{/* <Image
{...((isDark && frontmatter.darkthumbnail && frontmatter.darkthumbnail.publicURL) || frontmatter.thumbnail)}
imgStyle={{ objectFit: "contain" }}
alt={frontmatter.title}
/>
/> */}
</div>
<div id="special-cont_content">
<p className="special-cont_para">{frontmatter.title}</p>
Expand Down

0 comments on commit ee7c87c

Please sign in to comment.